Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout on VISA Readon PSP-2010

 


@mentanto wrote:

This work in my aplication I hope it serves you!


That's overly complicated. With the VISA Configure Serial Port, you can enable a termination character (i.e. a carriage return). A VISA Read will automatically terminate when it is detected. So, for the VISA Read, you can simply specify a high number for the byte count. It will return the entire string. Also, consider using a single Scan From String instead of the multiple Match Pattern, String, Subset, etc.

 

0 Kudos
Message 11 of 11
(704 Views)