Commands - YOKOGAWA PZ4000 User Manual

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

Advertisement

3.2 Commands

There are three types of command (program header)
which can be sent from the controller to this
instrument. They differ in the format of their program
headers.
They are
• Common command header
• Compound header
• Simple header
Common Command Header
Commands defined in IEEE 488.2-1987 are called
common commands. The header format of a common
command is shown below. An asterisk (
always be attached to the beginning of a command.
<Mnemonic>
*
?
An example of a common command
*CLS
Compound Header
Commands designed to be used only with this
instrument are classified and arranged in a hierarchy
according to their function. The format of a compound
header is illustrated below. A colon (
when specifying a lower-level header.
:
:
<Mnemonic>
An example of a compound header
:ACQuire:DIVision
Simple Header
These commands (headers) are functionally
independent of each other and are not arranged
hierarchically. The format of a simple header is shown
below.
:
<Mnemonic>
An example of a simple header
:STARt
Note
A mnemonic is a character string made up of alphanumeric
characters.
IM 253710-11E
*
) must
:
) must be used
?
?
When Concatenating Commands
Command Group
A command group is a group of commands which have
the same compound header. A command group may
contain sub-groups.
Example Commands relating to acquisition settings
:ACQuire?
:ACQuire:DIVision
:ACQuire:RLENgth
:ACQuire:TBASe
When Concatenating Commands of the Same
Group
This instrument stores the hierarchical level of the
command which is currently being executed, and
performs analysis on the assumption that the next
command to be sent will also belong to the same level.
Therefore, it is possible to omit the header if the
commands belong to the same group.
Example
:ACQuire:DIVision ON;TBASE INTernal
<PMT>
When Concatenating Commands of Different
Groups
A colon (
:
) must be included before the header of a
command, if the command does not belong to the
same group as the preceding command.
Example
:ACQuire:DIVision ON;:DISPlay:FORMat
NUMeric<PMT>
When Concatenating Simple Headers
When you type in a simple header after another
command, you must include a colon (
simple header.
Example
:ACQuire:DIVision ON;:STARt<PMT>
When Concatenating Common Commands
Common commands defined in IEEE 488.2-1987 are
independent of hierarchical level. Thus, it is not
necessary to add a colon (
:
) before a common
command.
Example
:ACQuire:DIVision ON;*CLS;TBASe
INTernal<PMT>
3.2 Commands
3
:
) before the
3-3

Advertisement

Table of Contents
loading

Table of Contents