Commands - YOKOGAWA WT5000 User Manual

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

Advertisement

4.2

Commands

Commands
There are three types of commands (program headers)
that a controller may send to this instrument. The
commands differ in their program header formats.
Common Command Header
Commands that are defined in IEEE 488.2-1992 are
called common commands. The common command
header syntax is shown below. Be sure to include an
asterisk (*) at the beginning of a common command.
*
?
<Mnemonic>
Common command example: *CLS
Compound Header
Commands, other than common commands, that are
specific to this instrument are classified and arranged
in a hierarchy according to their functions. The
compound header syntax is shown below. Be sure to
use a colon to specify a lower hierarchical level.
:
:
<Mnemonic>
Compound header example: :DISPlay:CONFig
Simple Header
These commands are functionally independent and are
not contained within a hierarchy. The format of a simple
header is shown below.
:
<Mnemonic>
Simple header example: :HOLD
Note
A <mnemonic> is an alphanumeric character string.
When Concatenating Commands
• Command Groups
A command group is a group of commands that
have common compound headers arranged in a
hierarchy. A command group may contain sub-
groups.
IM WT5000-17EN
?
?
Example A portion of the commands from the
integration command group
:INTEGrate?
:INTEGrate:MODE
:INTEGrate:TIMer
:INTEGrate:RTIMe?
:INTEGrate:RTIMe:STARt
:INTEGrate:RTIMe:END
:INTEGrate:ACAL
:INTEGrate:STARt
:INTEGrate:STOP
:INTEGrate:RESet
• When Concatenating Commands of the Same Group
This instrument stores the hierarchical level of the
command that is currently being executed and
processes the next command on the assumption
that it belongs to the same level. Therefore,
the common header section can be omitted for
commands that belong to the same group.
Example :INTEGrate:MODE NORMal;
ACAL ON<PMT>
• When Concatenating Commands of Different Groups
If the subsequent command does not belong to the
same group, place a colon in front of the header (this
colon cannot be omitted).
Example :INTEGrate:MODE NORMal;:
DISPlay:CONFig NUMeric<PMT>
• When Concatenating Simple Headers
If a simple header follows another command, place
a colon in front of the simple header (this colon
cannot be omitted).
Example :INTEGrate:MODE NORMal;:
HOLD ON<PMT>
• When Concatenating Common Commands
Common commands that are defined in IEEE 488.2-
1992 are independent of hierarchy. There is no need
to use a colon.
Example :INTEGrate:MODE NORMal;*CLS;
ACAL ON<PMT>
• When Separating Commands with <PMT>
If you separate two commands with a terminator,
two program messages will be sent. Therefore,
the common header must be specified for each
command even when commands belonging to the
same command group are being concatenated.
Example :INTEGrate:MODE NORMal<PMT>:
INTEGrate:ACAL ON<PMT>
1
2
3
4
5
6
7
8
App
Index
4-3

Advertisement

Table of Contents
loading

Table of Contents