03-11-2013 09:40 PM
Hi,
My name is Jack. I have a question about how to read multiply data from arduino analog inputs in labview. I have tried to read data from 2 pins by using same way (continuous analog samples) and the system works well. However, I failed in reading data from one more pin, no matter I used the same way as to read continuous analog samples or the method to read analog voltage.
My idea is to read battery voltage from pin 0, and the transducer voltages from pin 1 and pin 2 and convert them to currents. Pin 1 and Pin 2's signals work well, but pin 0 does not that good.
Another question is that how to plot data of pin 1 and pin 2 into one waveform chart. I have tried to bundle the two arrays; it didn't work, however.
Attached is my VI. Thanks for help.
03-12-2013 04:53 PM
Hi Jack,
Are you using the Arduino toolkit for LabVIEW?
03-12-2013 05:56 PM
Yes. I am using that. I guess the problem is due to the high frequency of the signals, which has to be above 120HZ.
03-13-2013 08:05 AM
Jack,
You may want to post on an Arduino form for help regarding the limitations on sampling the two pins. See the following link for info on plotting multiple plots on an chart: https://decibel.ni.com/content/docs/DOC-5574
11-22-2013 02:11 PM
You can see an example for reading multiple analog inputs
11-23-2013 03:40 PM
This article presents a procedure for reading the analog ports of Arduino UNO R3 board , on which a Joystick shield was installed. The analog data are related to the position of command and can be monitored from the front panel of our program , for which we use serial communication.
https://decibel.ni.com/content/docs/DOC-33281