|Download Help (Windows Only)|
Performs a synchronous write of ASCII-encoded string data, followed by a synchronous read of a specified number of characters.
Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 188.8.131.52
|Visual Basic (Declaration)|
String data read from the device.
|VisaException||The NI-VISA driver returned an error as a result of calling this method.|
|DllNotFoundException||The NI-VISA driver library cannot be found.|
|EntryPointNotFoundException||A required operation in the NI-VISA driver library cannot be found.|
|InvalidOperationException||Unable to start operation because setup is invalid (due to properties being set to an inconsistent state).|
|ObjectDisposedException||This member is called after the Dispose method is called directly from code or indirectly through a finalizer.|
If you need to write and read string data in an encoding other than ASCII, such as Unicode, perform the following steps: