Response - YOKOGAWA TA520 User Manual

Time interval analyzer gp-ib interface
Table of Contents

Advertisement

Chapter 2 Before Programming
2.1 Messages
Messages
Blocks of message data are transferred between the
controller and this instrument during communications.
Messages sent from the controller to this instrument
are called program messages, and messages sent
back from this instrument to the controller are called
response messages.
If a program message contains a query command, i.e.
a command which requests a response, this
instrument returns a response message. A single
response message is always returned in reply to a
program message.
Program Messages
As explained above, the data (message) sent from the
controller to this instrument is called a program
message. The format of a program message is shown
below.
;
Program message unit
<Program message unit>
A program message consists of zero or more program
message units; each unit corresponds to one
command. This instrument executes commands one
by one according to the order in which they are
received.
Program message units are delimited by a
For a description of the format of the program
message unit, refer to the explanation given further
below.
Example
:MEASURE:MODE HHISTOGRAM;FUNCTION PERIOD,A<PMT>
Unit
IM 704310-12E
<PMT>
";"
.
Unit
<PMT>
PMT is a terminator used to terminate each program
message. The following three types of terminator are
available.
(New Line) : Same as LF (Line Feed). ASCII code
NL
"
0AH
"
is used.
^END
: END message defined in IEEE488.1.
(EOI signal)
(The data byte sent with an END
message will be the final item of the
program message unit.)
: NL with an END message attached
NL^END
(NL is not included in the program
message.)
Program message unit format
The format of a program message unit is shown below.
<Program header>
Space
<Program header>
A program header is used to indicate the command
type. For details, refer to page 2-3.
<Program data>
If certain conditions are required for the execution of a
command, program data must be added. Program data
must be separated from the header by a space (ASCII
code
"
20H
"
). If multiple items of program data are
included, they must be separated by a
For details, refer to page 2-5.
Example
:SAMPLE:GATE:MODE EVENT<PMT>
Header
2.1 Messages
,
<Program data>
"
,
"
(comma).
Data
2-1
2

Advertisement

Table of Contents
loading

Table of Contents