Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69373

Saving from two USB ports; bytes still at port

$
0
0

Hi y'all, I am reading a custom message (i.e.," *122$326#" ) from two Arduino. They both connect via USB (Com 4, Com 6) and I have the baud rate at 57600. However, the issue is that Bytes at Port shows 3000 bytes at any time when the data is collecting. I believe this is causing the issue that I am seeing in the data where I get empty messages. When only one Arduino is connected, the data is fine.

 

Is it an issue of how I am saving the data? Or that they are both in the while loop?

 

Below is a screenshot and the code:

 

Joaquinh_0-1690931974841.png

 


Viewing all articles
Browse latest Browse all 69373


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>