User manual
5-56 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 regis-
ters (see Figures 5-7, 5-8 and 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 un
-
masked 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 in-
cluded in Figures 5-7, 5-8 and 5-9. The sum of the decimal weights of the
bits that you wish to set is sent as the parameter (<NRf>) for the appropri
-
ate :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
2000-900 (J - Aug 2010) BOOK.fm Page 56 Wednesday, October 12, 2011 12:29 PM