07-21-2021 08:18 PM
Hey guys,
I am having some weird data issues with an arduino uno on COM3,
simple enough code the Arduino outputs 4 sensors analog values in the format;
"Temp1, Temp2, Moisture1, Moisture2"
My end goal is to build 4 waveforms of "StoredDisplayLength" to plot and display the data, while also continuously writing the data to a .csv file for long term monitoring.
Unfortunately I am getting weird data transfers, creating line breaks in both the log file and as shown on the front panel in the image attached.
Is there a serial setting I have setup incorrectly? I really just need the while loop to allow the VISA read to finish before looping, which it should have plenty of time to do.
This isn't the final product, I am just struggling to get this reliable, then aiming to split the "Chart Data" string array into the waveforms as needed.
Thanks for the help!
07-22-2021 02:39 AM
Hi Jordan,
@Jordan29 wrote:
I am having some weird data issues with an arduino uno on COM3,
simple enough code the Arduino outputs 4 sensors analog values in the format;
"Temp1, Temp2, Moisture1, Moisture2"
My end goal is to build 4 waveforms of "StoredDisplayLength" to plot and display the data, while also continuously writing the data to a .csv file for long term monitoring.
Unfortunately I am getting weird data transfers, creating line breaks in both the log file and as shown on the front panel in the image attached.
Is there a serial setting I have setup incorrectly? I really just need the while loop to allow the VISA read to finish before looping, which it should have plenty of time to do.
So you want us to help you on your code problems, but all you attach are some images of your code and an image of the frontpanel showing some truncated strings? We cannot debug/run/edit images with LabVIEW!
On your questions: