LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino

Hello All,

 

I have a VI which will collect data from arduino UNO board. But I want the same VI to read multiple analog inputs using VISA.

Could anyone help me out with a VI which willl read multiple analog inputs from arduino

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

You just need to program your arduino to send multiple data points at once.  Perhaps Chan1,Chan2,Chan3,  ..... line feed.

 

Then your VISA read and read the entire line and parse out each value.

0 Kudos
Message 2 of 3
(2,634 Views)

Have you already written your Arduino code? If not, there is a LabVIEW toolkit called LINX which allows you to control the Arduino from LabVIEW and read/write the inputs/outputs. You can customise the code to add in your own functionality but it handles the Arduino->LabVIEW communications for you.

 

If you have, do as RavensFan suggested and modify your serial output to send multiple values at a time.

 

 


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 3
(2,606 Views)