Instrument Control ASCII Communication Tool
Communication State
Specify whether the object is connected to the instrument, and whether information is
saved to a record file.
- Connect/Disconnect - Connect/disconnect the object to/from the instrument.
- Start/Stop - Start/stop saving information to the record file.
Command Written to the
Instrument
Specify the command to write to the instrument, and the format of the command.
- Format - Specify the format for Command as a
C language conversion specification. These common formats are provided:
- %s\n - Formats the command as a character string, and includes the terminator.
- %s - Formats the command as a character string.
- %c - Formats the command as a single character.
- Command - The command to write to the instrument. This command
may use the SCPI language or some other vendor-specific language. A history of the
15 most recent commands is retained. Repeated commands are not retained.
- Clear Commands - Clears the Command history.
Data Read from the
Instrument
Specify the format of the data read from the instrument, and display the data.
- Format - Specify the format for Data as a
C language conversion specification. These common formats are provided:
- %c - Formats the data as a single character.
- %s - Formats the data as a character string.
- %c\n - Formats the data as a single character, and includes the terminator.
- %s\n - Formats the data as a character string, and includes the terminator.
- Data - Displays the data returned from the instrument.
- Clear Data - Clears the Data display.
Write, Read, Query, and Flush Input
Specify the operation to perform. Note that only synchronous write and read operations are supported.
- Write - Write Command to the instrument.
- Query - Write Command to the instrument, and then
read Data from the instrument.
- Read - Read Data from the instrument.
- Flush Input - Remove all data from the input buffer.
Values Sent
Indicate the number of values written to the instrument.
- Total - The total number of values written.
- Current - The number of values written for the last Write
or Query operation.
Values Received
Indicate the number of values read from the instrument.
- Total - The total number of values read.
- Current - The number of values read for the last Read
or Query operation.