LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Drivers for Wireless Sensor Networks

Hey Rafo.

 

The files I have, the library, and project for the Crossbow WSN devices aren't locked or password protected.  I can open and edit all of the files when I go to <LabVIEW x.x>\\instr.lib\Crossbow XMesh WSN and open the Crossbow XMesh WSN.lvlib library file.  I would suggest re-downloading and overwriting your present files because they shouldn't be password protected.

David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
0 Kudos
Message 121 of 154
(2,442 Views)

Hi All,

 

I am trying to develop a simple application of using digital I/O of MDA320 of Crossbow motes. I just want to receive digital inputs (potential free contact of switches) and display it on vi front panel using bullion lamp type indicators. 

 

I am a totally novice user with labview and crossbow both. Pl. guide me.

Thanks in advace.

 

With Best Regards,

 

Jignesh G. Bhatt @ IIT Roorkee 

0 Kudos
Message 122 of 154
(2,320 Views)

Hi Jignesh,

 

In the future, please create a new thread instead of adding to one that hasn't been visited for months. You will be more likely to get a response. But you should most likely be in luck. A LabVIEW driver has already been written for the Crossbow MDA320. You can find it here: http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=9273 . But if you are new to LabVIEW, I would recommend taking some time to get to know it before jumping into any complicated tasks. It will definitely save you time and frustration. This link will help you get started: http://digital.ni.com/public.nsf/allkb/7D5F60ADBFD9CDC2862572BA005DD96A

 

Regards,

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 123 of 154
(2,297 Views)
Dear Will,

Thanks very much for your response.
I will surely follow your suggestion next time.
I am in a process of trying the driver suggested by you and revert back to you with its feedback.

I appreciate your rapidness of response,

With Best Regards,
Jignesh G. Bhatt @ IIT Roorkee
0 Kudos
Message 124 of 154
(2,287 Views)

Hi guys 

 

Indeed a very usefull thread but couldnt find solution to my problem. 

 

I am using MIB600 (Ethernet) gateway with Micaz MTS 300. As in most of VIs/applications, VISA for COM port is being used, so using the same VIs I change VISA to IP address but it doesnt work. 

Firsly i would like to know, whether we simply change the VISA to IP address or do we need to make more any changes? I am getting error--"8003 accored at WSN Send Generic Stream Massage.vi" . MIB and node MTS300 is working fine with Moteview software.

 

Will appreciate your help. 

 

Regards,

 

0 Kudos
Message 125 of 154
(2,138 Views)

Hi Nutkani,

 

I'm not sure what you are asking for.  Are you trying to modify the library so you can use a VISA resource?  The library I found here:  http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=1FB66B354ED149C7E0440003BA230E... seems to already handle VISA resources for creating streams. 

0 Kudos
Message 126 of 154
(2,096 Views)

Hi Kyle,

 

Thanks for reply.

 

There is no lib available for MIB600 model (as you can see from list of crossbow product-MDA320, MIB510, MIB520, MTS310, MTS400, MTS300) . MIB600 comes with LAN interface. I am asking what changes do i need to make in the existing lib in order to use it with MIB600 module.

 

I made simple changes as you can see in attached VI(in previous post), but this doesn't work. Does it clarify?

 

Regards,  

 

 

0 Kudos
Message 127 of 154
(2,075 Views)

Hi Nutkani,

 

The VI above won't work because the library hasn't been fully updated to handle Ethernet gateways.  It looks like some of the parts are there, but you'll need to update the Private VIs to include the ethernet changes.  For example, if you take a look at the WSN Connect to Gateway VI, there appears to be an entry for the Ethernet connection).  There may not be enough framework for a simple update of these VIs.  

 

Additionally, if you refer to the manual (http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf), it seems like the way that the Gateway works is by connecting to the port of the device and communicating like a serial device.  I would suggest finding some sample code (not LabVIEW) and seeing if it can be ported to LabVIEW.

 

You'll probably be following the steps here to communcate with the device:  http://zone.ni.com/devzone/cda/tut/p/id/3325 

0 Kudos
Message 128 of 154
(2,048 Views)

Hi Kyle,

 

thanks for reply. I try to change settings in  "WSN Connect to Gateway VI" and set TCP/IP: port in MAX but still not working(as in attached screenshot)..... Could you please explain, What other changes are required to make is workable?

 

Regards,

 

 

0 Kudos
Message 129 of 154
(2,012 Views)

Hi Nutkani,

 

I can't tell you exactly what changes need to be made, but looking at the manual, there are a few things you can do to make sure that the connection works:

 

1.  You must use a crossover cable if you are not connected to a hub or switch. 

2.  You can use a telnet program to connect to the MIB-600 Serial UART via port #10002.

 

If you can get this part to work, you can use either NI-VISA to send commands, or attempt to update the library, which may or may not work.  There should be some other programming reference you can use to test some commands out. 

0 Kudos
Message 130 of 154
(1,982 Views)