LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Drivers for Wireless Sensor Networks

Hey Milky,

 

The circled blocks in grey are just delays in the code. They're not always necessary depending on the hardware.  The yellow blocks are index arrays that grab particular NodeIDs for you to specify which ID feeds into the Read Vis.  The simplified version of the VIs should work fine for you and I recommend using it since it's successfully getting your data.

David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
Message 71 of 154
(2,543 Views)

Thanks David for explaining 🙂

 

I've attached my vi file. This is how I intend to design my GUI but I haven't figure out how should I connect the graphs waveform to my sensors on MTS400 and how should I connect my nodes to write to a spreadsheet in my block diagram... Can you please help to show me how?

 

Kim

0 Kudos
Message 72 of 154
(2,524 Views)

Hey Milky,

 

What data from the clusters are you wanting to write to the spredsheet?  All of it? Just Light, just temperature, just humidity?

David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
0 Kudos
Message 73 of 154
(2,520 Views)
Hi David, if possible, I'd like to wirte all the data from the clusters to the spreadsheet. But if it is simpler to just write temperature, humidity and light, I may consider doing so. Please advice. Thanks
0 Kudos
Message 74 of 154
(2,506 Views)

Hi Milky,

 

You can use Cluster to Array function in the Array Function palatte to write the element values in cluster into spreadsheet.

 

Note: This is true, only if the cluster has elements(variables) which has same dataype .

 

Rgds,

Venky 

Message 75 of 154
(2,496 Views)

Hey David,

I'm so excited tat I did it! I could monitor my waveform chart already as attached. 🙂

I'm still trying to figure out how to make the time on my waveform chart to follow the time stamp on my node. Can you teach me?

I still haven't figure out how to write the data frm my nodes to a spreadsheet... Pls show me how can I do it...

 

Kim

0 Kudos
Message 76 of 154
(2,472 Views)

Hey Kim,

 

If you're only wanting to write the four graphs you're taking then writing to the spreadsheet is simple. See attached photo.

 

Thanks,

David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
Message 77 of 154
(2,455 Views)

David, your drawing is so much simpler than mine. Can you please send me your vi file? There are some features that I don't understand without the context help in JPG file.

Thanks!

 

Kim

0 Kudos
Message 78 of 154
(2,440 Views)

Hi David,

I tried to connect the write to spreadsheet function but I get the error as attached. How can I fix it?

Kim

0 Kudos
Message 79 of 154
(2,436 Views)

hi Kim,

 

You need to give a valid path to the  Write to spreadsheet.vi  to store the data.

 

 

Rgds,

Venky

Message 80 of 154
(2,418 Views)