Section 14: SCPI command reference
Model 6517B Electrometer Reference Manual
14-106
6517B-901-01 Rev. C / August 2015
:ENABle <NRf>
This command is used to program event registers.
Usage
:STATus:MEASurement:ENABle <NRf>
:STATus:QUEStionable:ENABle <NRf>
:STATus:OPERation:ENABle <NRf>
:STATus:OPERation:TRIGger:ENABle <NRf>
:STATus:OPERation:ARM:ENABle <NRf>
:STATus:OPERation:ARM:SEQuence:ENABle <NRf>
:ENABle?
<NRf>
1:
Set Bit B0
2:
Set Bit B1
4:
Set Bit B2
8:
Set Bit B3
16:
Set Bit B4
32:
Set Bit B5
64:
Set Bit B6
128:
Set Bit B7
256:
Set Bit B8
512:
Set Bit B9
1024:
Set Bit B10
2048:
Set Bit B11
4096:
Set Bit B12
8192:
Set Bit B13
16384:
Set Bit B14
32768:
Set Bit B15
65535:
Set all bits
Details
These commands are used to set the contents of the event enable registers, shown later in this
command description. 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]?
(on page 14-100) 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 is set.
The decimal weighting of the bits for each event enable register are included in the command
summaries noted above. 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 transition filter event enable register, send the following command:
:
stat:meas:enab 544
Where:
BFL (Bit B9)
= Decimal
512
RAV (Bit B5)
= Decimal
32
<NRf> =
544