Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 357

Multimètre

Publicité

STB?
Status byte query. The status register contains seven bits that monitor various
multimeter conditions. When a condition occurs, the corresponding bit is set in
the status register. The STB? (status byte?) command returns a number
representing the set bits. The returned number is the weighted sum of all set bits.
Syntax
STB?
Status register conditions
The status register conditions and their weights are:
Decimal
weight
1
2
4
8
16
32
64
128
Remarks
– When you execute the STB? Command, the ready bit (bit 4) is always clear (not
– The CSB command clears the status register (bits 4, 5, and 6 are not cleared if
– Related commands: CSB, EXTOUT, RQS, SPOLL (GPIB command)
Keysight 3458A User's Guide
Bit
Status register cond ition
number
0
Subprogram Execution Completed
1
Hi or Lo Limit Exceeded
2
SRQ Command Executed
3
Power On
4
Ready for Instructions
5
Error (Consult Error Register)
6
Service Requested (you cannot disable this bit)
7
Data Available
ready) because the multimeter is processing the STB? command.
the condition(s) that set the bit(s) still exist). The RQS command designates
which status register conditions will assert SRQ on the GPIB bus.
Command Reference
6
357

Publicité

loading