Keysight VISA.NET Help
ReadUntilMatch Method



See Using Read Methods for detailed information.
Overload List
OverloadDescription
ReadUntilMatch(Char)Read characters from the formatted I/O read buffer until the character specified by ch is matched. This method does consume and discard the matching character.  
ReadUntilMatch(String,Boolean)Read characters from the formatted I/O read buffer until one of the characters is matched.  
Remarks

Each ReadUntilMatch method exhibits the same behavior as the corresponding call to Scanf shown in the following table. There is no processing of ranges or other meta-characters associated with the “[]” flag in Scanf.

ReadString Method Equivalent Scanf Call
String ReadUntilMatch(Char ch); Scanf("%[^<ch>]", out result);
(returns result)
String ReadUntilMatch(String characters, Boolean discardMatch); Scanf("%[^<characters>]", out result);
(returns data.Length)

 

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025