LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Multiple analogue data using VISA in Arduino

3 things for you:

1. Your format for the Scan From String is using a semicolon for the delimiter.  It needs to be a comma.

 

2. Depending on when you happen to configure the port, it is possible you get a partial message on the first read.  Add a VISA Read before your loop and ignore the data that comes out.  This should synchronize your reading to the data frames from the Arduino.

 

3. You don't need a wait in the loop.  The VISA Read will limit the loop rate.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 11
(119 Views)