YOKOGAWA WT3000 User Manual page 43

Precision power analyzer communication interface
Hide thumbs Also See for WT3000:
Table of Contents

Advertisement

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.
IM 760301-17E
5.5 Synchronization with the Controller
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."
1
2
3
4
5
6
7
App
Index
5-9

Advertisement

Table of Contents
loading

Table of Contents