LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring Arduino Sensors by using LabView

Can I monitor Four Sensors that connected in Arduino by using LabView , by using one while loop and four Case Structure ?

Thanks ...

0 Kudos
Message 1 of 2
(3,187 Views)

Lets assume that your LabVIEW loop is running slower than your Arduino Loop.  In that case LabVIEW will read the entire serial output you posted above. If you pass this into the case structure it will not patch 'p' because you are passing in many many characters, not just the 'P'. 

First try creating an indicator on the output of the VISA read to see exactly what you are getting from the Arduino.  Once you know you are getting the correct output from the Arduino in LabVIEW you can work on using LabVIEW string fucntions to parse the data.

Let me know if that makes sense or if you have more questions.

Thanks!

-Sam K

LabVIEW Hacker

Join / Follow the LabVIEW Hacker Group on google+

0 Kudos
Message 2 of 2
(2,819 Views)