YOKOGAWA wt1600 User Manual page 34

Digital power meter
Hide thumbs Also See for wt1600:
Table of Contents

Advertisement

Using the extended event register
Changes in the condition register are reflected in the
extended event register (page 6-4).
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 such that Bit 0 (FILTer1) of the
Extended Event Register sets to 1 when Bit 0 of the
Condition Register changes from 1 to 0.
"STATus:EESE 1" is a command used only to reflect
the status of bit 0 of the extended event register in the
status byte.
"STATus:EESR?" is used to clear the extended event
register.
The "*SRE 8" command is used to generate a service
request caused solely by the extended event register.
":NUMeric[:NORMal]:VALue?" will not be executed
until a service request is generated.
IM 760101-11E
4.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?", refer to "Using the extended event
register" on this page.
"COMMunicate:WAIT 1" means that communications
is halted until bit 0 of the extended event register is set
to "1".
The ":NUMeric[:NORMal]:VALue?" command will
not be executed until bit 0 of the extended event
register is set to "1".
4
4-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents