12-16-2015 11:05 PM
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
12-16-2015 11:49 PM
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.
12-17-2015 03:51 AM
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.