![background image](http://html2.mh-extra.com/html/keithley/6220/6220_reference-manual_4055087321.webp)
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
Содержание 6220
Страница 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 24: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 403: ...A Specifications Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 453: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...