| Ivi.Visa Namespace > IMessageBasedFormattedIO Interface : ReadUntilMatch Method |
| Overload | Description |
|---|---|
| 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. |
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) |
Current with Keysight IO Libraries Suite 18