YOKOGAWA TA520 User Manual page 15

Time interval analyzer gp-ib interface
Table of Contents

Advertisement

2.2 Commands
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-1992 are called
common commands. The header format of a common
command is shown below. An asterisk (
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
MEASURE:FUNCTION
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 704310-12E
*
) must always
) 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 the sampling
SAMPLE?
SAMPLE:GATE:MODE
SAMPLE:GATE:POLARITY
SAMPLE:INTERVAL
SAMPLE:ARMING:DELAY:MODE
SAMPLE:ARMING:DELAY:TIME
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
INPUT:ACHANNEL:COUPLING AC;IMPEDANCE
I50<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
MEASURE:MODE TSTAMP;:DISPLAY:ITEM
LIST<PMT>
When Concatenating Simple Headers
When you type in a simple header after another
command, you must include a colon (
simple header.
Example
MEASURE:MODE TSTAMP;:START<PMT>
When Concatenating Common Commands
Common commands defined in IEEE 488.2-1992 are
independent of hierarchical level. Thus, it is not
necessary to add a colon (
:
) before a common
command.
Example
MEASURE:MODE TSTAMP;*CLS;FUNCTION
DUTY,A<PMT>
2.2 Commands
SAMPLE:GATE?
SAMPLE:GATE:EVENTSIZE
SAMPLE:GATE:TIME
SAMPLE:ARMING:SOURCE
:
) before the
2-3
2

Advertisement

Table of Contents
loading

Table of Contents