Model 6220/6221 Reference Manual
Status Structure 11-19
Return to
Programming example — program and read registers
This command sequence programs and reads the measurement registers. Regis-
ters are read using the binary format (which directly indicates which bits are set).
The command to select format (FORMat:SREGister) is documented in
Table 11-6
Common and SCPI commands — event enable registers
Command
Description
*ESE <NDN> or <NRf>
*ESE?
STATus
:OPERation
:ENABle <NDN> or <NRf>
:ENABle?
:MEASurement
:ENABle <NDN> or <NRf>
:ENABle?
:QUEStionable
:ENABle <NDN> or <NRf>
:ENABle?
Program standard event enable register (see “Parameters” below).
Read standard event enable register.
STATus subsystem:
Operation event enable register:
Program enable register (see “Parameters” below).
Read enable register.
Measurement event enable register:
Program enable register (see “Parameters” below).
Read enable register.
Questionable event enable register:
Program enable register (see “Parameters” below).
Read measurement event enable register.
Parameters:
<NDN>
= #Bxx…x
Binary format (each x = 1 or 0)
= #Hx
Hexadecimal format (x = 0 to FFFF)
= #Qx
Octal format (x = 0 to 177777)
<NRf>
= 0 to 65535
Decimal format
Note: Power-up and STATus:PRESet resets all bits of all enable registers to 0. *CLS has no effect.
FORM:SREG BIN
‘ Selects binary format to read registers.
STAT:MEAS:ENAB 512
‘ Enables BFL (buffer full).
STAT:MEAS:COND?
‘ Reads Measurement Condition Register.
STAT:MEAS?
‘ Reads Measurement Event Register.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
Summary of Contents for 6220
Page 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 24: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 453: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...