Enable Command - Keithley 2010 User Manual

Hide thumbs Also See for 2010:
Table of Contents

Advertisement

5-58
SCPI Command Reference

:ENABle command

:ENABle <NRf>
:STATus:MEASurement:ENABle <NRf>
:STATus:QUEStionable:ENABle <NRf>
:STATus:OPERation:ENABle <NRf>
Parameters
Query
Description
<NRf> = 0
Clear register
1
Set bit B0
2
Set bit B1
4
Set bit B2
16
Set bit B4
32
Set bit B5
64
Set bit B6
:ENABle?
Query enable register
These commands are used to set the contents of the event enable registers
(see
Figure
5-7,
Figure
5-8, and
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
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 =
<NRf>
Program Measurement Event Enable Register
Program Questionable Event Enable Register
Program Operation Event Enable Register
<NRf> = 128
256
512
1024
16384 Set bit B14
65535 Set all bits
Figure
5-9). An :ENABle command is sent
Figure
5-9. The sum of the decimal weights of
32
= 544
Set bit B7
Set bit B8
Set bit B9
Set bit B10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents