YOKOGAWA PZ4000 User Manual page 116

Power analyzer communication interface
Hide thumbs Also See for PZ4000:
Table of Contents

Advertisement

*SRE
(Service Request Enable register)
Function
Sets the service request enable register or
queries the current setting.
Syntax
*SRE <NRf>
*SRE?
<NRf> = 0 to 255
Example
*SRE 239
*SRE?→175 (because bit 6 (MSS) is
ignored)
Description
• Set the value using a decimal sum of each
bit.
• For example, if "
request enable register is set to "
This means that bit 4 of the standard event
register is disabled so that bit 4 (MAV) of the
status register will not be set to "
the "
output queue is not empty.
• However, bit 6 of the status byte is the MSS
bit, so it is ignored.
• The default setting is "
disabled).
• The service request enable register is not
cleared even if an inquiry is made using
.
SRE?
• For details related to the service request
enable register, see page 5-1.
*STB?
(STatus Byte)
Function
Queries the status byte register.
Syntax
*STB?
Example
*STB?→4
Description
• Returns the sum of each bit expressed as a
decimal number.
• Since the register is read without serial
polling, bit 6 is the MSS bit, not RQS.
• For example, if "
that the standard event register is set to
"
." This means that SRQ occurred
00000100
because the "
error queue is not empty.
• The status byte register is not cleared, even if
an inquiry is made using
• For details related to the status byte register,
see page 5-2.
*TRG
(TRiGger)
Function
Executes single start (the same as pressing the
SINGLE START key).
Syntax
*TRG
Exampl
*TRG
Description
The multi-line message GET (Group Execute
Trigger) operates in the same way as this
command.
IM 253710-11E
*SRE 239
" is set, the service
11101111
."
," even if
1
"
*SRE 0
" (all bits
*
" is returned, it indicates
4
"
*STB?
.
4.26 Common Command Group
*TST?
(TeST)
Function
Executes the self-test and queries the result.
Syntax
*TST?
Example
*TST?→0
Description
• The self-test involves the testing of the
internal memories.
• "
0
" is returned if the self-test is successful.
"
1
" is returned otherwise.
*WAI
(WAIt)
Function
Waits until the execution of the specified
overlap command completes before executing
the commands that are specified after this
command.
Syntax
*WAI
Example
*WAI
Description
• For the description regarding how to
synchronize the program using the
command, see page 3-7.
• The "
COMMunicate:OPSE
to specify the overlap commands.
4
*WAI
" command is used
4-87

Advertisement

Table of Contents
loading

Table of Contents