Commands - YOKOGAWA WT3000 User Manual

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

Advertisement

5.2

Commands

Commands
There are three types of commands (program headers)
that are sent from the controller to the instrument.
They differ in their program header formats.
Common Command Header
Commands that are defined in the IEEE 488.2-1992
are called common commands. The header format of
a common command is shown below. An asterisk (*)
is always placed in the beginning of a command.
<Mnemonic>
*
?
Common command example
Compound Header
Dedicated commands used by the instrument are
classified and arranged in a hierarchy according to
their functions. The format of a compound header is
shown below. A colon (:) must be used to specify a
lower hierarchy.
:
:
<Mnemonic>
Compound header example
Simple Header
These commands are functionally independent and do
not have a hierarchy. The format of a simple header is
shown below.
:
<Mnemonic>
Simple header example
Note
A <mnemonic> is a character string made up of alphanumeric
characters.
When Concatenating Commands
Command Group
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 760301-17E
*CLS
?
:DISPlay:MODE
?
:HOLD
Example
Group of commands related to harmonic
measurement
:INTEGrate?
:INTEGrate:MODE
:INTEGrate:ACAL
:INTEGrate:TIMer
:INTEGrate:RTIMe?
:INTEGrate:RTIMe:STARt
:INTEGrate:RTIMe:END
:INTEGrate:STARt
:INTEGrate:STOP
:INTEGrate:RESet
When Concatenating Commands of the Same
Group
The instrument stores the hierarchical level of the
command that is currently being executed, and
performs analysis on the assumption that the next
command sent will also belong to the same level.
Therefore, common header sections can be omitted for
commands belonging to the same group.
:INTEGrate:MODE NORMal;
Example
ACAL ON <PMT>
When Concatenating Commands of Different
Groups
If the following command does not belong to the same
group, a colon (:) is placed in front of the header.
Example
:INTEGrate:MODE NORMal;:
DISPlay:MODE NUMeric<PMT>
When Concatenating Simple Headers
If a simple header follows another command, a colon
(:) is placed in front of the simple header.
:INTEGrate:MODE NORMal;:
Example
HOLD ON<PMT>
When Concatenating Common Commands
Common commands that are defined in the IEEE
488.2-1992 are independent of hierarchy. Colons (:)
are not needed before a common command.
Example
:INTEGrate:MODE NORMal;*CLS;
ACAL ON<PMT>
When Separating Commands with <PMT>
If a terminator is used to separate two commands,
each command is a separate message. 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>
5.2 Commands
1
2
3
4
5
6
7
App
Index
5-3

Advertisement

Table of Contents
loading

Table of Contents