LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Drivers for Wireless Sensor Networks

I should also note: we have custom NesC code on the motes, so we need to be able to program the id using NesC/TinyOS.
 
Thanks!
 
Dan Lambert 
0 Kudos
Message 41 of 154
(3,073 Views)

Hello everyone,

I am also doing research with WSN (specifically with the Mica2Dot and maybe later on with the Imote2).

I've downloaded the Xbow Files but haven't had still time to play with them. I assume these vis will listen to the UART port (I am using MIB520) and parsing the data (ADCx) into engineering units and also, dividing the AM groups and types. There's no " active "  control using LV thus.

Instead of programming TinyOS code onto one node and keep listening to the incoming packets through a TOSBase,  is there a way to control the Mote (ATMega128L) directly to the CPU using the serial port? I'd like to control the the ADCControl register, and once the flag's triggered, capture the data using Labview. No wireless link is needed for instance.

I've managed once to control one DSSP Chip using DLL's to implement the low level comm (and the Std Control Library to control my app using LV). But using USB and this FTDI drivers will certainly take me sometime (which I don't really have now.)..

Thanks for your suggestions!

Edgar Charry

0 Kudos
Message 42 of 154
(3,022 Views)

Hi all,

 

I am trying to use Labview to acquire data coming from crossbow motes. As someone put in this forum the crossbow drivers for labview are made for being used in an specific application. I create a new application and I am simply reading data coming from the serial port. I have some problems because when I am using low sampling rates like 1hz until 4hz I receive data without problems. When I try to use high sampling rates like 200 hz there are a lot of messages of error:

"Error -1073807253 occurred at VISA Read in MTS400 RA reader 3.vi
VISA:  (Hex 0xBFFF006B) A framing error occurred during transfer."

How can I control these? I also have other problems because I should receive 39 Bytes at port in each message but this number gets crazy with high sampling rates which implicates weird results.

 

Can anyone help me??

 

Thank you very much!

 

Rafael        

0 Kudos
Message 43 of 154
(2,886 Views)

Hey Rafo,

 

That error is explained in full in this linked KnowledgeBase article: Error Code -1073807253 When Using VISA Read

 

Your grabbing data before it's ready, not framed, hence the framing error.  Try to implement the fix noted in the KB and let me know the results.

 

Thanks,

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

Hello David,

 

I am trying to implement in my code what you explained. At the end I found the example "advanced Serial Write and Read.vi" which do, I think, what you have post.  Now the lectures in high sampling rates are much better but I still have some problems because from time to time there come some contaminated messages with less bytes than it should be. Do you have some idea what it should be going? 

 

Thank you very much for your help!!!!

 

 

0 Kudos
Message 45 of 154
(2,836 Views)

Hey Rafo,

 

By contaminated do you mean null data, corrupt data, or just missing data?

 

Message Edited by David P. on 12-18-2008 12:12 PM
David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
0 Kudos
Message 46 of 154
(2,815 Views)

Hello david,

 

I mean null data

0 Kudos
Message 47 of 154
(2,799 Views)
Hi David, thanks for your help i think i have discovered the error. The example gives the opportunity to stop reading depends on the termination character. At the end I found the right character at the results are nice. Thanks once again.

 

Message 48 of 154
(2,789 Views)

Hey Rafo,

 

Thank for posting back your solution.  Have a happy holiday season.

 

Thanks,

David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
0 Kudos
Message 49 of 154
(2,787 Views)
Hello Ryan, (Nitin, David, Anil and all)I’ve read thru all your messages in this forum and found that you are very familiar with Crossbow and Labview. I desperately need your guidance in my project (due in March). I bought Micaz-MPR2400CA connected to MIB520 for my gateway. For my remote nodes, I bought 2 IRIS-XM2110 for both my MTS400 and MDA300 nodes. Using Moteview, I can only select either MTS400 or MDA300 at a time to view the sensors data. Is it possible for me to run both MDA300 and MTS400 by creating a GUI using Labview? I've downloaded driver for MIB520. Drivers for MTS400 and MDA320 seemed to have the same file name as MIB520 driver.  Can you please guide me on how to start create a GUI for my WSN using Labview for my Crossbow products as I haven't been expose to Labview before? Best regards,Kim
0 Kudos
Message 50 of 154
(2,630 Views)