U2829 Series Operation Manual Chapter 7 Command Reference
117
For example: WrtCmd (“*ESR?”)
The *STB? query returns contents of the standard service status byte register.
The execution of this command will not affect contents of the standard status
byte register.
Query syntax: *STB?
Return format: <value><NL^END>
Where,
<value> NR1 format: decimal expression for contents of the standard status
byte register.
Descriptions for each bit of the standard status byte register
For example: WrtCmd (“*STB?”)
The *OPC command equals to set the OPC bit of the standard event status
register when U2829 finishes all parameter measurements. Ever since all
pending operations have been completed, this command will inform the
instrument to add a ASCII number “1” (decimal number: 49) into the output
buffer.
Command syntax: *OPC
For example: OUTPUT 717;“*OPC”! Set the OPC bit of the instrument when
the last command is done.
Query syntax: *OPC?
Return format:
1
<NL^END>
Where,
1
ASCII number 1
(
decimal number: 49
)
For example: WrtCmd(“*OPC?”)
Bit number Description
7
6
5
4
3
2
1
0
Power On(PON) Bit
User Request(URQ) Bit
Command Error(EME) Bit
Execution Error(EXE) Bit
Device Dependent Error(DDE) Bit
Query Error(QYE) Bit
Request Control(RQC) Bit
Operation Complete(OPC) Bit
Bit number Description
7
6
5
4
3-0
Operation Status Register Summary Bit
RQS(Request Service) Bit
Standard Event Status Register Summary Bit
MAV(Message Available) Bit
Always 0(zero)