Keysight VISA.NET Help
ReadString(Int32) Method



The maximium number of characters to include in the string.
Read a string not more than count characters long from the formatted I/O read buffer. The method also stops reading characters if it encounters a whitespace character or an END.
Syntax
'Declaration
 
Overloads Function ReadString( _
   ByVal count As Integer _
) As String
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim count As Integer
Dim value As String
 
value = instance.ReadString(count)
string ReadString( 
   int count
)
String^ ReadString( 
   int count
) 

Parameters

count
The maximium number of characters to include in the string.

Return Value

A string read from the instrument.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025