
5-10
IM WT3001E-17EN
Using the Extended Event Register
The changes in the condition register can be reflected
in the extended event register (page 7-7).
Example
:STATus:FILTer1 FALL;:STATus:
EESE 1;EESR?;*SRE 8<PMT>
(Read the response to
STATus:EESR?
)
Loop
(Wait for a service request)
:NUMeric[:NORMal]:VALue?<PMT>
(Read the response to
:NUMeric[:NORMal]:VALue?
)
:STATus:EESR?<PMT>
(Read the response to
:STATus:EESR?
)
(Return to
LOOP
)
The “
STATus:FILTer1 FALL
” command
sets the transition filter so that bit 0
(
FILTer1
) of the extended event register is
set to
1
when bit 0 of the condition register
changes from
1
to
0
.
The “
:STATus:EESE 1
” command is used
to reflect only bit 0 of the extended event
register to the status byte.
The “
STATus:EESR?
” command is used to
clear the extended event register.
The “
*SRE 8
” command is used to generate
a service request solely on the cause of the
extended event register.
The “
:NUMeric[:NORMal]:VALue?
”
command is not executed until a service
request is generated.
Using the COMMunicate:WAIT command
The “
COMMunicate:WAIT
” command halts
communications until a specific event is generated.
Example
:STATus:FILTer1 FALL;:STATus:
EESR?<PMT>
(Read the response to
STATus:EESR?
)
Loop
COMMunicate:WAIT 1<PMT>
:NUMeric[:NORMal]:VALue?<PMT>
(Read the response to
:NUMeric[:NORMal]:VALue?
)
:STATus:EESR?<PMT>
(Read the response to
:STATus:EESR?
)
(Return to
LOOP
)
For a description of “
STATus:
FILTer1 FALL
” and “
STATus:EESR?
”
see the previous section regarding
the extended event register.
The “
COMMunicate:WAIT 1
” command
indicates that the program will wait for bit
0 of the extended event register to be set
to “
1
.”
The “
:NUMeric[:NORMal]:VALue?
”
command is not executed until bit 0 of
the extended event register is set to “
1
.”
5.5 Synchronization with the Controller