11-07-2013 10:54 AM
I am fairly new to Labview, but am interested in recieving serial data from my arduino and charting it in Labview, but cannot seem to figure out how to recieve the data or get the data in the correct format to chart.
I am sending the data throught the serail port from my arduino with the following code:
Serial.println(tempF); //digital temperature sensor
Serial.print(",");
Serial.print(humid); //digital humidity sensor
Serial.print(",");
Serial.print(humidtemp); //digital humidity sensor
Serial.print(",");
Serial.print(Output/2.55); //PWM output percentage
Any help would be appreciated.
Thanks
11-07-2013 01:22 PM
What have you tried? Did you look at the many built in examples on how to perform RS-232 communications? Go to Help >> Find Examples and search for RS-232.
Have you looked at the Arduino toolkit for LabVIEW?
https://decibel.ni.com/content/groups/labview-interface-for-arduino
It is built by NI and helps in reading and writing basic I/O of the Arduino. For custom stuff you will likely need to go back to the RS-232 example instead of using the toolkit.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord