Keysight VISA.NET Help
ReadString(StringBuilder,Int32) Method



A string read from the instrument.
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 data As StringBuilder, _
   ByVal count As Integer _
) As Integer
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim data As StringBuilder
Dim count As Integer
Dim value As Integer
 
value = instance.ReadString(data, count)
int ReadString( 
   StringBuilder data,
   int count
)
int ReadString( 
   StringBuilder^ data,
   int count
) 

Parameters

data
A string read from the instrument.
count
The maximium number of characters to include in the string.

Return Value

The number of characters returned in the string.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025