IEEE-Common Commands Instrument Setup and Status
Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition 61
command:
*RST
syntax: *RST
description: The ReSeT command *RST sets the mainframe and all modules to the reset setting (stan-
dard setting) stored internally.
Pending *OPC? actions are cancelled. 
The instrument is placed in the idle state awaiting a command. The *RST command clears 
the error queue. 
The *RST command is equivalent to the *CLS command AND the syst:preset command.
The following are not changed:
• GPIB (interface) state 
• Instrument interface address 
• Output queue 
• Service request enable register (SRE) 
• Standard Event Status Enable Mask (SESEM) 
parameters: none
response: none
example: *RST
command:
*STB?
syntax: *STB?
description: The STatus Byte query *STB? returns the contents of the Status Byte register. 
parameters: none
response: The bit value for the register (a 16-bit signed integer value):
Bit Mnemonic Decimal Value
7 (MSB) Operation Status (OSB) 128
6 Not used  0
5  Event Status Bit (ESB) 32
4  Message Available (MAV) 16
3  Questionable Status (QSB) 8
2 Not used  0
1 Not used  0
0 Not used  0
example: *STB? → 128<END>