Keysight VISA.NET Help
ReadLine Method



See Using Read Methods for detailed information.
Overload List
OverloadDescription
ReadLine() Read a string from the formatted I/O read buffer, including all characters through and including the next newline character.  
ReadLine(StringBuilder) Read a string from the formatted I/O read buffer, including all characters through and including the next newline character.  
Remarks

Each ReadLine method exhibits the same behavior as the corresponding call to Scanf shown in the following table:

ReadString Method Equivalent Scanf Call
String ReadLine(); Scanf("%T", out result);
(returns result)
Int32 ReadLine(StringBuilder data); Scanf("%T", out data);
(returns data.Length)

 

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025