IEEE-488 Reference
3-122
: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
:STATus:OPERation:TRIGger:ENABle <NRf>
Program Trigger Event Enable Register
:STATus:OPERation:ARM:ENABle <NRf>
Program Arm Event Enable Register
:STATus:OPERation:ARM:SEQuence:ENABle <NRf>
Program Sequence Event Enable Register
<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
8
Set bit B3
2048
Set bit B11
16
Set bit B4
16384
Set bit B14
32
Set bit B5
65535
Set all bits
64
Set bit B6
:ENABle?
Query enable register
These commands are used to set the contents of the event enable registers (see Figures 3-27
through 3-32). 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 sta-
tus 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 Figures 3-27
through 3-32. 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
PRINT #1, "output 16; :stat:oper:enab 514; enab?"
' Set B1 and B9 of Op Enable
Register and query
PRINT #1, "enter 16"
' Get response message from
2002
3.20.2
Parameters
Query
Description
Program fragment
Содержание 2002
Страница 123: ...Front Panel Operation 2 106...
Страница 145: ...IEEE 488 Reference 3 22...
Страница 167: ...IEEE 488 Reference 3 44...
Страница 284: ...A Specifications A 1...
Страница 362: ......
Страница 364: ...This page left blank intentionally...
Страница 365: ......