YOKOGAWA TA220 User Manual page 92

Digital jitter meter
Table of Contents

Advertisement

10.1 Program Format
<PMT>
PMT stands for program message terminator. The
following three types are available.
• NL (newline)
Same as LF (Line Feed). ASCII code "0 AH"
• ^END
The END message (EOI signal) as defined in
IEEE488.1. (The data byte that is sent with the END
message will be the last data of the program
message.)
• NL^END
END message added to NL (NL is not included in
the program message)
Program Message Unit Format
The following is the format for program message units.
<Program header>
<Program Header>
The program header expresses the type of command.
For details, see page 10-3.
<Program Data>
Program data contains any conditions or other
information that may be required to execute a
command. A space (ASCII code "20H") separates the
program data from the header. If multiple data are
used, each data is separated by a comma (, ).
For details, see page 10-5.
Example:
:SAMPLE:GATE:MODE TIME<PMT>
Header
10-2
,
Space
<Program data>
Data
Response Messages
Data that are sent from the instrument to the controller
are called response messages. The following is the
format for response messages.
;
<Response message unit>
<Response Message Units>
A response message consists of a chain of one or
more response message units. A response message
unit corresponds to a single response. Response
message units are delimited by a semicolon (; ). For
details regarding the format of the response message
unit, see the next section.
Example :
:SAMPLE:INHIBIT:STATE 1;POLARITY POSITIVE<RMT>
Unit
<RMT>
RMT stands for the response message terminator,
which is NL^END.
Response Message Unit Format
The response message unit format is shown below.
<Response Header>
Space
<Response Header>
Response headers can be added to the front of
response data. Header and data are separated by a
single space. For details, see page 10-5.
<Response Data>
The response data consists of the contents of the
response. If multiple data are used, each data is
separated by a comma (, ).
Example :
500.0E-03<RMT> :SAMPLE:GATE:MODE TIME<RMT>
Data
If multiple queries are present within a program
message, the order of responses follows the order of
the queries. Most queries are answered with a single
response message unit, but sometimes multiple units
are returned. The first query is answered by the first
response unit, but the nth response does not
necessarily correspond to the nth unit. When you want
to necessarily generate a response, separate the
program messages.
<RMT>
Unit
,
<Response Data>
Header
Data
IM 704610-01E

Advertisement

Table of Contents
loading

Table of Contents