LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Crossbow NI Driver, MDA320

I just downloaded the LabView driver for Crossbow (Crossbow XMesh WSN).  I am trying to use one of the example programs, "Read data and display health with variable rate".  My Crossbow motes use the MDA320 sensor board.  When I first bring up the program in LabView, the MTS300 sensor board is selected by default.  The block diagram indicates everything is connected OK.  On the block diagram, when I switch to MDA320, multiple sensors, multiple points, the block diagram connection from the Crossbow read function to "data" indicates an error.  The error is related to attempting to send three data fields (MDA320) instead of 5 (MTS300).  Also, the front panel looks as if it is exclusively for data coming from an MTS300.  Does this example program run as-is with an MDA320?  Any help would be appreciated.  Tim.
0 Kudos
Message 1 of 2
(2,644 Views)

Hey Tporter,

The MDA320 only returns 3 measurements rather than the 5 measurements returned by the MTS300. The error you are seeing is related to the cluster data type expecting 5 elements when it is only receiving 3 elements from the MDA320 Read.

 



To fix this we simply need to delete the data cluster control and the broken wire. Then right click the data output terminal on the Read VI and select Create » Indicator. This will create a cluster with the correct number of elements.

Message Edited by Chris_D on 09-05-2008 10:44 AM
Regards,

Chris Delvizis
National Instruments
Message 2 of 2
(2,624 Views)