YOKOGAWA TA520 User Manual page 17

Time interval analyzer gp-ib interface
Table of Contents

Advertisement

2.3 Response
On receiving a query from the controller, this
instrument returns a response message to the
controller. A response message is sent in one of the
following two forms.
• Response consisting of a header and data
If the query can be used as a program message
without any change, a command header is attached
to the query, which is then returned.
Example
SAMPLE:GATE:MODE?<PMT>
SAMPLE:GATE:MODE EVENT<RMT>
• Response consisting of data only
If the query cannot be used as a program message
unless changes are made to it (i.e. it is a query-only
command), no header is attached and only the data
is returned. Some query-only commands can be
returned after a header is attached to them.
Example
STATUS:ERROR?<PMT>
0,"NO ERROR"<RMT>
When returning a response without a header
It is possible to remove the header from a response
consisting of a header and data. The
"COMMunicate:HEADer"
command is used to do this.
Abbreviated form
Normally, the lower-case part is removed from a
response header before the response is returned to
the controller. Naturally, the full form of the header can
also be used. For this, the
"COMMunicate:VERBose"
command is used. The part enclosed by [ ] is also
omitted in the abbreviated form.
IM 704310-12E
2.4 Data
Data
A data section comes after the header. A space must
be included between the header and the data. The
data contains conditions and values. Data is classified
as below.
Data
<Decimal>
<Voltage><Time>
:
<Percent>
<Register>
<Character data>
<Boolean>
<Character string data> Arbitrary character string
<Block data>
<Decimal>
<<Decimal> indicates a value expressed as a decimal
number, as shown in the table below. Decimal values
are given in the NR form specified in ANSI X3. 42-
1975.
Symbol
<NR1>
<NR2>
<NR3>
<NRf>
• Decimal values which are sent from the controller to
• For response messages which are returned from
• In the case of <NR3>, the
• If a value outside the setting range is entered, the
• If the value has more than the significant number of
Description
Value expressed as a decimal number
(Example: CH2
'
s probe attenuation
SAMPle:GATE:EVENtsize 100
Physical value
(Example: Gate time
SAMPle:GATE:TIME 1US
Register value expressed as either binary, octal, decimal
or hexadecimal
(Example: Extended event register value
STATus:EESE #HFE
)
Specified character string (mnemonic). Can be selected
from { }
(Example: Selecting of gate mode
SAMPle:GATE:MODE {EVENt|TIME|EXTernal}
Indicates ON/OFF. Set to ON, OFF or value
(Example: Panorama display ON
DISPlay:PANorama:STATe ON
(Example: File name to be saved
FILE:DELete:SETup "SETUP_1"
Arbitrary 8-bit data
(Example: Response to acquired waveform data
#6000010ABCDEFGHIJ
Description
Integer
Fixed point number
Floating point number
Any of the forms
<NR1>
to
<NR3>
this instrument can be sent in any of the forms to
<NR3>. In this case, <NRf> appears.
this instrument to the controller, the form (<NR1> to
<NR3> to be used) is determined by the query. The
same form is used, irrespective of whether the value
is large or small.
"
+
omitted, but the
cannot.
"
"
value will be normalized so that it is just inside the
range.
digits, the value will be rounded.
2.3 Response/2.4 Data
)
)
)
)
)
)
Example
125
–1
+100000
125.0
–.90
+001.
125.0E+0
–9E–1
+.1E4
is allowed.
"
after the
"
E
"
can be
2-5
2

Advertisement

Table of Contents
loading

Table of Contents