Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-392
3700AS-901-01 Rev. D/June 2018
Details
These attributes are used to read or write to the standard event status registers. Reading a status
register returns a value. The binary equivalent of the returned value indicates which register bits are
set. The least significant bit of the binary number is bit B0, and the most significant bit is bit B15. For
example, if a value of
1.02
(which is 129) is read as the value of the condition register, the
binary equivalent is 0000 0000 1000 0001. This value indicates that bit B0 and bit B7 are set.
B15
B14
B13
B12
B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
**
>
>
>
>
>
>
>
>
>
>
>
>
>
>
*
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
* Least significant bit
** Most significant bit
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
Enable and transition registers
(on page C-19). The individual bits of this
register are defined in the following table.
Bit
Value
Description
B0
status.standard.OPERATION_COMPLETE
status.standard.OPC
Set bit indicates that all pending selected
instrument operations are completed and the
instrument is ready to accept new
commands. The bit is set in response to an
*OPC
command. The
opc()
function can be
used in place of the
*OPC
command.
Bit B0 decimal value: 1
B1
Not used
Not applicable
B2
status.standard.QUERY_ERROR
status.standard.QYE
Set bit indicates that you attempted to read
data from an empty Output Queue.
Bit B2 decimal value: 4
B3
status.standard.DEVICE_DEPENDENT_ERROR
status.standard.DDE
Set bit indicates that an instrument operation
did not execute properly due to some internal
condition.
Bit B3 decimal value: 8
B4
status.standard.EXECUTION_ERROR
status.standard.EXE
Set bit indicates that the instrument detected
an error while trying to execute a command.
Bit B4 decimal value: 16
B5
status.standard.COMMAND_ERROR
status.standard.CME
Set bit indicates that a command error has
occurred. Command errors include:
IEEE Std 488.2 syntax error:
Instrument
received a message that does not follow the
defined syntax of the IEEE Std 488.2
standard.
Semantic error:
Instrument received a
command that was misspelled or received an
optional IEEE Std 488.2 command that is not
implemented.
GET error:
The instrument received a Group
Execute Trigger (GET) inside a program
message.
Bit B5 decimal value: 32
B6
status.standard.USER_REQUEST
status.standard.URQ
Set bit indicates that the LOCAL key on the
instrument front panel was pressed.
Bit B6 decimal value: 64