04-02-2013 04:18 AM
Hello,
I'm working on a project and I'm new to Labview,
Can someone tell me how to read multiple analog Read on Labview in Serial communication with Arduino UNO?
I've tried it, but the data is somehow error.
I also attached my current vi and arduino code.
Please help me.
Solved! Go to Solution.
04-02-2013 07:37 AM
You'll have better luck at https://decibel.ni.com/content/groups/labview-interface-for-arduino where the hobbyists who use Arduino can be found
04-11-2013 04:24 AM
Thank you, I still haven't get the solution yet, but thanks for telling me.
04-12-2013 03:12 AM
Hi,
I will try to look into this the next few days, but what I see now is that you read bytes without knowing how many bytes there are available at the serial port.
Use the property node 'Bytes at serial port' to see how many bytes there are and read those bytes.
Kees
04-12-2013 12:39 PM
Hi,
From your Arduino project you are sending more then one value. But in you VI you do not analyse the incomming data to split up Voltage and Current.
I would suggest that you send a fixed string with voltgae data and current data so that you know in your VI how many bytes you should receive and how to split up the data.
Kees
11-14-2013 06:07 PM
reviewing the code embedded in the microcontroller Arduino, this good but repeatedly write port, for some time working on a similar project and the solution was to save the data ports in variables and then print to the port only once between each one identified data must place such as "#".
In the LabVIEW program must read the plot and do a search so that filtres data by data, received from the arduino
11-15-2013 02:12 AM
11-15-2013 09:42 AM
@Albert.Geven wrote:
Do you have a question? A remark? Or something else?
Anyway for a new question, please start a new thread.
He spent a great deal of time last night spamming every single thread on these message boards related to Arduino.
11-22-2013 02:08 PM - edited 11-22-2013 02:09 PM
You can see an example for reading multiple analog inputs
11-22-2013 07:43 PM
@Tom. wrote:
You can see an example for reading multiple analog inputs
Are you dense or something?
There is already an answer marked as the solution.