Computer Operations
Computer Interface Commands and Operation
4
4-25
Table 4-5. Command and Query Reference (cont)
*STB? Read Status Byte Query
Returns the integer value of the Status Byte, with bit 6 as the master
summary bit. See the previous discussion on status registers for more
information.
Example: *STB returns 97 [The STB register is set for 01100001
(decimal 97), which means the Master Summary Bit, Even Status Bit, and
instrument Even Bit are set logic high.]
*TRG Single- Scan Trigger
This command causes the instrument to perform a Single Scan. If a scan
is already in progress when this command is parsed, the command is
ignored.
If logging to memory card is enabled (PRINT_TYPE 3 or 6) and the
memory card is missing, full, write-protected, or unformatted, the scan will
be performed but an Execution error will be generated.
*TST? Self Test Query
Causes an internal self test to be run, returning the result as an integer
(representing the binary encoded value.) The self test does not require any
local operator interaction and returns the instrument to the power-up state.
The binary coding is:
Bit Binary Value Error
0 1 Boot ROM Checksum Error1
1 2 Instrument ROM Checksum Error
2 4 Internal RAM Test Failed
3 8 Display Power-Up Test Failed
4 16 Display Bad or Not Installed
5 32 Instrument Configuration Corrupted.
6 64 Instrument Calibration Data Corrupted
7 128 Instrument Not Calibrated
8 256 A-to-D Converter Not Responding
9 512 A-to-D Converter ROM Test Failed
10 1024 A-to-D Converter RAM Test Failed
11 2048 A-to-D Converter Self test Failed
12 4096 Memory Card Interface Not Installed
Example: *TST? returns 2048 [The A/D self test failed.]
*WAI Wait-to-continue
Prevents the parser from executing any more commands or queries until
the No-Pending-Operations flag is true. Used in conjunction with *OPC
and *OPC?