NI Home > Community > NI Discussion Forums

Wireless Sensor Networks

Reply
Member
electjh
Posts: 5
0 Kudos
Accepted Solution

crossbow Labview help

I downloaded crossbow's Labview vi's and I tried running the example Read Data and Display Health.vi. I keep getting the error message: Error 8001 occurred at Generic Read Possible Reason(s): Some or all of the samples were not available for some of the nodes specified. Can anyone explain why I keep getting this error? Data comes through when I use MoteView. Thanks for any help.
Member
GoCougs
Posts: 186
0 Kudos

Re: crossbow Labview help

One thing you want to make sure of is that all the nodes that you are trying to access are actually connected.  If the signal isn't connect wirelessly, then you can run into this problem.  You also may be trying to read from the nodes too quickly.  Look into this and get back to me with more details on what you have tried and what your application is.
National Instruments
Applications Engineer
Member
electjh
Posts: 5
0 Kudos

Re: crossbow Labview help

I finally figured out what the problem was. I typically was running MoteView with the Xserve running at the same time. This was tying up the virtual serial port so that Labview couldn't use it. I just made sure that the process Xserve wasn't running in the background and it started working.
Member
Aaryan
Posts: 1
0 Kudos

crossbow Labview help

Hi all!

I am working on wireless energy meter . I am using MIB 520  programming board and MDA320 data acquisition card from crossbow . Pic 16f87ais used to read the energy meter count.How can i read this count using MDA 320 and send it to PC for further processing in LabView. I have the LabView driver installed for MDA320 and is able to read analog input (I am not able to read Digital I/O of MDA320 in LabView). Please help me in this regard or suggest any other alternative to implement the idea.

Thank you! 

Member
ShKoush
Posts: 11
0 Kudos

Re: crossbow Labview help

May I know where you get sample codes for crossbow nodes? I tried to find Health.vi code but I couldn't find it.

 

Thanks,

Member
Patricia B
Posts: 149
0 Kudos

Re: crossbow Labview help

Hello,

 

Here is the LabVIEW Driver which may contain the examples along with some other links you might find useful:

 

Crossbow XMesh WSN Sensor LabVIEW Plug and Play (project-style) Instrument Driver

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=1FB66B354ED149C7E0440003BA230E...

 

LabVIEW Drivers for Wireless Sensor Networks

http://zone.ni.com/devzone/cda/tut/p/id/5435

 

How to Install a Crossbow MIB520 Base Station

http://digital.ni.com/public.nsf/allkb/FD238ED75B22740B86257315004E35FE?OpenDocument

 

Best,

Patricia B.

National Instruments
Applications Engineer
Member
ShKoush
Posts: 11
0 Kudos

Re: crossbow Labview help

Thank you so much. I downloaded the program and the drivers. 

Member
ShKoush
Posts: 11
0 Kudos

Re: crossbow Labview help

- Does any one know the diffrence between Node and point?  I downloaded the drivers and tried to take a look at the VIs. There are multiple read sensor: Read sensor(MTS310)  Nnode-Npoints , Read sensor N nodes 1 points .... and I don't know which one has to be picked. My application is reading 2 MTS310 sensor borad on 2 MicaZ nodes.

 

- My other question is that, when I run the program " readhealth.vi", when I trun 2 micaz on to communicate with the gateway, I can see the data of one node gets assigned to the other senosr node. For example, in my VI, GUI, I can see NodeID: 3 but data is for NodeID 2. Can anyone explain to me why it happens? 

 

 

Thanks,

SK

 

 

 

Member
ShKoush
Posts: 11
0 Kudos

Re: crossbow Labview help

- Does any one know the diffrence between Node and point?  I downloaded the drivers and tried to take a look at the VIs. There are multiple read sensor: Read sensor(MTS310)  Nnode-Npoints , Read sensor N nodes 1 points .... and I don't know which one has to be picked. My application is reading 2 MTS310 sensor borad on 2 MicaZ nodes.

 

- My other question is that, when I run the program " readhealth.vi", when I trun 2 micaz on to communicate with the gateway, I can see the data of one node gets assigned to the other senosr node. For example, in my VI, GUI, I can see NodeID: 3 but data is for NodeID 2. Can anyone explain to me why it happens? 

 

 

Thanks,

SK

 

 

 

Member
Patricia B
Posts: 149
0 Kudos

Re: crossbow Labview help

Hello,

 

It appears that the N sensor N points indicates how many nodes you are sampling and how many sample points you are reading with that node.

 

Regards,

Patricia B.

National Instruments
Applications Engineer