LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use Crossbow Xmesh WSN LabVIEW drivers for downstream communication with motes

Hello,

 

  • I am trying to use LabVIEW Crossbow Xmesh WSN  driver for downstreaming commands but driver programs are not working.

 

I am interested in changing node (Iris mote with MDA300 board) update rate from LabVIEW program running on host PC .

       I have  used  Set node update rate.vi  with  open stream.vi and start stream.vi  in proper sequence and developed a program to change node update rate. When program is run no error is shown but node update rate is not changed.

      Pl suggest what I should I do.

 

  • What is the function of  WSN write VIs (WSN write Raw 1sensor1point). For what type of message this is used. 

  • I  want to actuate relay on MDA300 with mote id 2. What VIs (from driver ) I have to use and how to issue command related to it.

Incase any one can help I will be grateful

 

Roop 

 

 

0 Kudos
Message 1 of 8
(4,086 Views)

Well, I don't have much experience with the specified instrument. Have you tried out the examples given with your hardware just to check if your hardware is properly installed and functioning?

0 Kudos
Message 2 of 8
(4,072 Views)

Hi Roop,

 

The driver page does not show support for MDA300 board. The drivers support MDA320 which in that case does not incorporate relay channels. Please check this link for details of the Crossbow Xmesh driver: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=1FB66B354ED149C7E0440003BA230E...

 

And about the function of Write.vi(RAW 1sensor 1pt.), you should try contacting Crossbow technology since they are the driver developers.

 

The specifications of a list of similar boards (including MDA300 and MDA320) can be found here: http://courses.ece.ubc.ca/494/files/MTS-MDA_Series_Users_Manual_7430-0020-04_B.pdf

 

Regards,

 

Arjun P Kumar

0 Kudos
Message 3 of 8
(4,067 Views)

Hi Arjun,

 

Thanks for the information.

 

I have already  used the driver VIs for upstream communicaion wih MDA300 motes.The programmes are working fine. Moreover  Crossbow hardware has  also been tested with sofware provided by  Crossbow , there is no hardware  and sofware problem as such.

 

 But in labVIEW environment , For downsream communication the VIs provided are not showing any response .

 

I am in a fix what to do.

 

Thanks

 

Roop

 

 

.

0 Kudos
Message 4 of 8
(4,053 Views)

Hi Arjun,

 

Thanks for the information.

 

I have already  used the driver VIs for upstream communicaion wih MDA300 motes.The programmes are working fine. Moreover  Crossbow hardware has  also been tested with sofware provided by  Crossbow , there is no hardware  and sofware problem as such.

 

 But in labVIEW environment , For downsream communication the VIs provided are not showing any response .

 

I am in a fix what to do.

 

Thanks

 

Roop

 

 

.

0 Kudos
Message 5 of 8
(4,053 Views)

Hi Roop,

 

Unfortunately, this instrument driver is provided "as is" and is not supported by National Instruments, so I'm not as familiar with the communication. If you can upload a snippet of the code that you've written already, illustrating the error you are facing, i might be able to help you more.

 

Go through this thread. It should give you a few leads which might help in solving your problem.

http://forums.ni.com/t5/LabVIEW/Inject-messages-to-a-WSN-via-XBow-MIB520/td-p/882340

 

Also check out the "Advanced serial read and write.vi" example in labview. Protocol and packet format information related to your application is here - http://www.tinyos.net/dist-2.0.0/tinyos-2.0.0beta1/doc/html/tep113.html

 

regards

Arjun

 

 

0 Kudos
Message 6 of 8
(4,018 Views)

Hi Arjun,

 

I am sending you snap shot of VI developed to change node update rate.and also the heirarchy of drivers  VIs used in the program for  better understanding .

In case you can figure out why the command  message send  is unable to communicate with mote .

 

 

Also for downstream communication with motes the packet format used is described in Moteworks user manual from MiMSic.com

 

I think the developer of these drivers can help you  out in solving my problem.

 

Thanks

 Roop

0 Kudos
Message 7 of 8
(3,993 Views)

Hi Roop,

 

It would be best if you can contact the driver manufacturer about your problem. Clearly the board you are using is not supported by the driver.

 

Regards,

Sumit Sen 

0 Kudos
Message 8 of 8
(3,752 Views)