215
_____________________________________________________________________________________________
10.8 GP-IB Command Reference
______________________________________________________________________________________________
Syntax
∗STB?
<data>
0to255
(NR1)
Function
Returns the set contents of the status byte register (STB) as a numerical value in NR1 format
between 0 and 1, 16 and 17, 32 and 33, 48 and 49, 64 and 65, 80 and 81, 96 and 97, 112 and
113.
No header is affixed to the response message.
Example
Queries the status byte register.
Transmission ∗STB?
Response 16
Error
If the response message is longer than 300 bytes, a query error is generated.
Status b
te re
ister
STB
128 64 32 16 8 4 2 1
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Unused
MSS ESB MAV
Unused Unused Unused
ESE0
Syntax
∗WAI
Function
The unit goes into waiting state until the operation of the previous command has been
completed.
Note
The ∗WAI command is accepted by the 9518-02 interface because it is a standard command as
specified by IEEE-488.2 1987. However, since all of the commands specific to the 3157 are in
any case sequential commands, using this *WAI command never has any effect.
Example
Waits until all execution is fully completed.
Transmission ∗WAI
Error
If the data parameters are set after this command, a command error occurs.
∗STB?
Queries the status byte register.
∗WAI
Waits until all execution is fully completed.