Keysight VISA.NET Help
ReadUntilMatch(String,Boolean) Method



A string that contains the characters to be matched to end the string.
If true, the first character in the read buffer that matches a character in characters is consumed and discarded, otherwise it remains in the formatted I/O read buffer.
Read characters from the formatted I/O read buffer until one of the characters is matched.
Syntax
'Declaration
 
Overloads Function ReadUntilMatch( _
   ByVal characters As String, _
   ByVal discardMatch As Boolean _
) As String
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim characters As String
Dim discardMatch As Boolean
Dim value As String
 
value = instance.ReadUntilMatch(characters, discardMatch)

Parameters

characters
A string that contains the characters to be matched to end the string.
discardMatch
If true, the first character in the read buffer that matches a character in characters is consumed and discarded, otherwise it remains in the formatted I/O read buffer.

Return Value

The string read from the buffer.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025