Re: Labview Drivers for Wireless Sensor Networks - labview

This is a discussion on Re: Labview Drivers for Wireless Sensor Networks - labview ; Hi all , I am a newbee to NI and Labview and currently doing research in Wireless Sensor Networks . I would like to simulate my Wireless Sensor Network in labview .. I have also downloaded the drivers crossbow_xmesh_wsn from the ...

+ Reply to Thread
Results 1 to 10 of 10

Re: Labview Drivers for Wireless Sensor Networks

  1. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi all ,
    I am a newbee to NI and Labview and currently doing research in Wireless Sensor Networks . I would like to simulate my Wireless Sensor Network in labview .. I have also downloaded the drivers crossbow_xmesh_wsn from the internet .
    I am unaware of how to use labview to create my gateways and nodes and to make use to labview in creating these devices .
    can any one please help me on this ..
     
    Regards
    Anil

  2. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Ryan,
     
    thanks for the early reply ..
    Yes I do have the physical crossbow hardware .Can you please let me know more about the VIs which are already present in the Lab , where can I find them .Also I am not able to view the attachment which you have mentioned.
     
    Regards
    Anil

  3. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Anil,

    What school are you attending? If you do not already have them, the VIs can be
    downloaded <a href="http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=1FB66B354ED149C7E0440003BA230ECF" target="_blank">here</a>.
    Be sure to put the top level folder (Crossbow XMesh WSN) into your LabVIEW
    directory's instr.lib folder. If you are familiar with DAQmx programming, the
    structure is very much the same. We don't have much in the way of examples, but
    there are some available here:

    C:\Program Files\National Instruments\LabVIEW 8.5\instr.lib\Crossbow XMesh
    WSN\Examples\

    They should give you an idea of how to use the API. Finally, the individual API VI should be available in LabVIEW's Instrument IO palette. Please let me know if you have any more questions.
    Regards,

  4. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Ryan
    thanks for the info.. i will check the same and revert incase of any issues ..

  5. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Ryan ,
    &nbsp;
    I am currently trying to run the files which I have downloaded , however in my mind I have got few querries .. They might be trival ..but i am not able to get things figured out in my mind .
    &nbsp;
    Once this is connected and starts working , how would my Labview application interact with the hardware .?
    How will labview interact with the user ? is ther going to be another interface after the labview which will be used to interact with the users ?
    &nbsp;
    How exactly labview is going to work in this case? . what role VI's are going to play ?
    &nbsp;
    I know these querries might be trival to most of you guys ... but i need to ask them to have a clear undustanding of what i am going to built !
    &nbsp;
    thanks !
    &nbsp;
    Regards
    Anil karamchandani
    &nbsp;

  6. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Ryan / all,
    I have downloaded the Labview drivers for the gateway(MIB 520) and sensors(MTS 310) .In my current setup ,Gateway MIB 520 is connected to my PC where Labview is installed via a COMM port ie serial communication and the sensor MTS 310 is mounted on the Gateway .
    The drivers which i had downloaded is kept at the location C:\Program Files\National Instruments\LabVIEW 8.5\instr.lib in the directory Crossbow XMesh WSN
    Now when i click on the project Crossbow XMesh WSN.lvproj i see a project explorer window .In the window when i click on any of the VIs (eg Read Data and Display Health.vi) and run the same i get an error Error 8003 occurred at WSN Send Generic Stream Message.vi . Possible reasons :Engine is not responding .An unexpected terminal error occurred.
    May be i am not using the examples in the right manner . can any one guide me thorugh this pleasethanks
    anil

  7. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Anil,
    You are using the VIs properly. The examples should run without any issues. I would suggest checking the COM port to which you've connected the device. See if it is on COM1, because the software (see Block Diagram) by default selects it. You can select the right COM port and try executing the program once again. I hope this helps! Let me know if there is anything else I can help with or clarify. Have a great day!

  8. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Nitin
    &nbsp;
    I have checked the same but still getting the same error . One more thing i noticed here was
    The VI's which i am using are the examples ... ie they are not created by me .however I am using these VIs for my actual setup which i have done n my lab.
    &nbsp;
    Will that be a cause of concern ?
    &nbsp;
    &nbsp;

  9. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Anil,
    &nbsp;
    These VIs only require the right device ID (eg COM1) and they should work fine. This particular <a href="http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=1FB66B354ED149C7E0440003BA230ECF" target="_blank">driver</a> is not NI&nbsp;Supported/Certified (look at the top left hand corner)&nbsp;and there may be reasons why it may not work. However, presently the best way to find out why your VI is not working is to activate NI-SPY and perform a good&nbsp;capture as shown <a href="http://digital.ni.com/public.nsf/allkb/8D890EC09B15C05A86256E6F007E3E86?OpenDocument" target="_blank">here</a>.&nbsp;&nbsp;Post the captured log&nbsp;in this forum. Another question I had was, which of the three examples are you using?
    &nbsp;
    I've also noticed that this project was made for an older version of LabVIEW. It would be good if you could open the Project in LabVIEW 8.5 and save it (assuming you are using LabVIEW 8.5). When you save it, it converts the code to be compatible with&nbsp;LabVIEW 8.5. After completely closing and opening LabVIEW, you can view the VIs that this driver provides in the Functions Palette of the Block Diagram under Instrument I/O » Instrument Drivers » Crossbow XMesh WSN
    &nbsp;

  10. Default Re: Labview Drivers for Wireless Sensor Networks

    Hi Nitin
    Will run the NI-SPY capture results and will send across the output asap.
    I am currently using "Read Data and Display Health with Variable Rate.vi". I have opened the VI and clicked on the run button which gave me the error which i have listed above ( hope this is the correct method to execute the example) .
    Post saving i was sucessfully able to see all the VI's which were created .Some of them were Create streamStart StreamStop StreamClear StreamRead Advanced streams etcthe path was however Input - Instrument drivers -Crossbow-xmesh-wsn -
    I have a query regarding the installation of drivers .. as of such i have not installed the drivers, the drivers which i have downloaded were for sensors and gateways
    both were in 2 seperate directories&nbsp; but with the same name ie crossbow_xmesh_wsn
    thus i just copied and pasted the directory in the path C:\Program Files\National Instruments\LabVIEW 8.5\instr.libhope this was correct .?

+ Reply to Thread

Similar Threads

  1. Re: Labview Drivers for Wireless Sensor Networks
    By Application Development in forum labview
    Replies: 4
    Last Post: 02-11-2008, 12:10 AM
  2. Re: Labview Drivers for Wireless Sensor Networks
    By Application Development in forum labview
    Replies: 0
    Last Post: 11-30-2007, 10:40 AM
  3. Re: wireless sensor networks and virtual lab
    By Application Development in forum labview
    Replies: 1
    Last Post: 10-29-2007, 06:10 PM
  4. Re: wireless sensor networks and virtual lab
    By Application Development in forum labview
    Replies: 0
    Last Post: 10-27-2007, 08:10 PM
  5. wireless sensor networks and labview
    By Application Development in forum labview
    Replies: 2
    Last Post: 10-15-2007, 10:10 PM