5-58 SCPI Command Reference
:ENABle command
:ENABle <NRf>
:STATus:MEASurement:ENABle <NRf> Program Measurement Event Enable Register
:STATus:QUEStionable:ENABle <NRf> Program Questionable Event Enable Register
:STATus:OPERation:ENABle <NRf> Program Operation Event Enable Register
Parameters <NRf> = 0 Clear register <NRf> = 128 Set bit B7
1 Set bit B0 256 Set bit B8
2 Set bit B1 512 Set bit B9
4 Set bit B2 1024 Set bit B10
16 Set bit B4 16384 Set bit B14
32 Set bit B5 65535 Set all bits
64 Set bit B6
Query :ENABle? Query enable register
Description These commands are used to set the contents of the event enable registers
(see Figure 5-7, Figure 5-8, and Figure 5-9). An :ENABle command is sent
with the decimal equivalent of the binary value that determines the desired
state (0 or 1) of each bit in the appropriate register.
Each event enable register is used as a mask for events (see [:EVENt] for
descriptions of events). When a bit in an event enable register is cleared (0),
the corresponding bit in the event register is masked and thus, cannot set the
corresponding summary bit of the next register set in the status structure.
Conversely, when a bit in an event enable register is set (1), the
corresponding bit in the event register is unmasked. When the unmasked bit
in the event register sets, the summary bit of the next register set in the status
structure will set.
The decimal weighting of the bits for each event enable register are included
in Figure 5-7, Figure 5-8, and Figure 5-9. The sum of the decimal weights of
the bits that you wish to set is sent as the parameter (<NRf>) for the
appropriate :ENABle command. For example, to set the BFL and RAV bits
of the Measurement Event Enable Register, send the following command:
:stat:meas:enab 544
where: BFL (bit B9) = Decimal = 512
RAV (bit B5) = Decimal = 32
<NRf> = 544