Thank you for purchasing YOKOGAWA's TA520 Time Interval Analyzer.
This GP-IB Interface User
's Manual contains useful information about the functions and
commands of the GP-IB interface. To ensure correct use of the GP-IB interface, please
read this manual thoroughly before operating it.
Keep the manual in a safe place for quick reference whenever a question arises.
The following manual is provided with this instrument in addition to this GP-IB Interface
's Manual.
User
Manual NameManual No.Description
TA520 User's ManualIM 704310-01EDescribes all functions except for the
communications functions for GP-IB interface of
the instrument.
• The contents of this manual are subject to change without prior notice as a result of
improvements in the instrument
's performance and functions.
• Every effort has been made in the preparation of this manual to ensure the accuracy
of its contents. However, should you have any questions or find any errors, please
contact your nearest YOKOGAWA representative as listed on the back cover of this
manual.
• Copying or reproduction of all or any part of the contents of this manual without
YOKOGAWA's permission is strictly prohibited.
Trademarks
Revisions
• IBM PC/AT is a registered trademark of International Business Machines Corporation.
• Other product names are trademarks or registered trademarks of their respective
holders.
This User's Manual consists of five chapters, an appendix and an index as described
below.
Chapter 1Overview of the GP-IB Interface
Describes the functions and specifications of GP-IB.
Chapter 2Before Programming
Describes formats used when sending a command.
Chapter 3Commands
Describes each command.
Chapter 4Status Report
Describes the status byte, various registers and queues.
Chapter 5Sample Program
Describes a program example written for a IBM PC/AT series personal
computer written in Quick BASIC version 4.0/4.5.
Appendix
Index
Conventions Used in this Manual
Symbols used for Notes and Keys
Type SymbolDescription
Unitk1000e.g.: 100 kHz
K1024e.g.: 128 KB (memory capacity)
Note
Note
Symbols used in syntax descriptions
Symbols which are used in the syntax descriptions in Chapter 4 are shown below. These
symbols are referred to as BNF notation (Backus-Naur Form). For detailed information,
refer to pages 2-5 and 2-6.
SymbolDescriptionExampleExample
<>Defined valueWINDow<x> <x>=1 to 16WINDOW2
{}One of the options in is selected.MODE {AUTO|MANual}MODE AUTO
|Exclusive ORMODE {AUTO|MANual}MODE AUTO
[ ]Abbreviated:MEASure[:MODE]
...May be repeated
Contains references including the ASCII character code table.
Provides an alphabetically ordered index.
Provides information that is necessary for proper operation of the instrument.
iiIM 704310-12E
Contents
1
Foreword............................................................................................................................................................. i
How to Use this Manual.............................................................................................................................ii
Chapter 1Overview of the GP-IB Interface
1.1Name of the Parts and Their Functions .................................................................................... 1-1
1.2Connecting the GP-IB Cable..................................................................................................... 1-2
1.3GP-IB Interface Functions and Specifications .......................................................................... 1-3
1.4Settings on the Main Unit ..........................................................................................................1-5
1.5Responses to Interface Messages............................................................................................ 1-6
Press to cancel the
remote mode and enter
the local mode in which
the panel keys are
enabled.
AB
CH
EXT ARM/GATE IN
CH
UTILITY key
Press to enter the
communication settings.
INHIBIT IN
1
Overview of the GP-IB Interface
The word [Remote]
appears in the top right
corner of the screen
when the instrument is in
the remote mode.
Rear Panel
GP-IB connector
The connector used for
connecting the controller
(PC) with the GP-IB
cable.
1-1IM 704310-12E
1.2 Connecting the GP-IB Cable
1.2Connecting the GP-IB Cable
GP-IB Cable
The GP-IB connector on the rear panel is a 24-pin connector that conforms to IEEE
Standard 488-1978. Use a GP-IB cable that also conforms to IEEE Standard 488-1978.
Connection Method
Connect the GP-IB cable as shown.
GP-IB connector
GP-IB cable
Points to Note
• Be sure to tighten the screws on the GP-IB cable connector firmly.
• The instrument can be connected to more than one item of equipment (such as a
personal computer). However, it is not possible to connect more than 15 items of
equipment (including the controller) to a single bus.
• If you connect the instrument to more than one other item of equipment, make sure
that a different address is used for each item.
• Each connecting cable must be 2 m or less in length.
• The total length of all the cables must not exceed 20 m.
• While communications are in progress, more than two-thirds of the connected items of
equipment must be turned ON.
• When connecting more than one item of equipment, connect the items so that the
connection route forms a star or linear configuration. Loop or parallel wiring is not
allowed.
1-2IM 704310-12E
1.3 GP-IB Interface Functions and Specifications
1.3GP-IB Interface Functions and Specifications
GP-IB Interface Functions
Listener function
• Allows you to make the same settings which you can make using the panel keys on
the instrument (except for the power ON/OFF and GP-IB communications settings).
• Receives commands from a controller requesting output of set-up and waveform data.
• Also receives status report commands.
Talker function
Outputs set-up and waveform data.
Note
The listen-only, talk-only, and controller functions are not available on this instrument.
Switching between Remote and Local Modes
Switching from Local to Remote Mode
Remote mode is activated when a REN (Remote Enable) message is received from a
controller while local mode is active.
• The word [Remote] appears in the top right corner of the screen (see page 1-1).
• All front panel keys except the LOCAL key are now inoperative.
• Settings that were entered in local mode are retained.
1
Overview of the GP-IB Interface
Switching from Remote to Local Mode
Pressing the Local key in remote mode puts the instrument in local mode. However, this
is not possible if Local Lockout has been set by the controller (page 1-7).
• The word [Remote] in the top right corner of the screen disappears (see page 1-1).
• All front panel keys are operative.
• Settings that were entered in remote mode are retained.
1-3IM 704310-12E
1.3 GP-IB Interface Functions and Specifications
GP-IB Interface Specifications
Electrical and mechanical specifications: Conforms to IEEE Standard 488-1978.
Mechanical specifications: Refer to the table below.
Code: ISO (ASCII) code
Mode: Addressable mode/Talk-only mode (switched
Address setting: Addresses 0 to 30 can be selected from the
Remote mode clear: Remote mode can be cleared by pressing the
ListenerL4Basic listener capability, unlisten on MTA
Service requestSR1Full service request capability
Remote localRL1Full remote/local capability
Parallel pollPP0No parallel polling capability
Device clearDC1Full device clear capability
Device triggerDT0No device trigger capability
ControllerC0No controller function
Electrical characteristicE1Open collector
automatically)
GP-IB setting menu, which is displayed when
you press [GP-IB] soft key after having pressed
the UTILITY key.
LOCAL key (SHIFT+AUTO SCALE key).
However, this is not possible if Local Lockout
has been set by the controller.
untalk on MLA(My Listen Address), No
talk-only capability
(My Talk Address), no listen-only capability
1-4IM 704310-12E
1.4 Settings on the Main Unit
1.4Settings on the Main Unit
Procedure
1.Press the UTILITY key to display the Utility menu.
2.Press the [GP-IB] soft key to display the GP-IB menu.
ESC
3.Use the rotary knob to select the address.
ESC
Explanation
Selecting the address
Devices that are connected with the GP-IB cable have their own unique address within
the GP-IB system. This address is used to identify the different devices. Therefore,
when connecting the instrument to another device such as a PC, the address of the
instrument must be selected. The address is selected from the following range. The
default setting is [1].
Selectable range: 0 to 30
1
Overview of the GP-IB Interface
1-5IM 704310-12E
1.5 Responses to Interface Messages
1.5Responses to Interface Messages
What is an Interface Message?
An interface message (also called an interface command or bus command) is issued by
the controller. Interface messages are classified as follows.
Uni-line messages
Messages are transferred through a single control line. The following three types of uniline message are available.
• IFC (Interface Clear)
• REN (Remote Enable)
• IDY (Identify)
Multi-line messages
Eight data lines are used to transmit a message. Multi-line messages are classified as
follows.
Address commands
Valid when a piece of equipment is designated as a listener or a talker. The following
five address commands are available.
• Commands valid for pieces of equipment designated as listeners
GTL (Go To Local)
SDC (Selected Device Clear)
PPC (Parallel Poll Configure)
GET (Group Execute Trigger)
• Command valid for pieces of equipment designated as talkers
TCT (Take Control)
Universal commands
Valid for any item of equipment, irrespective of whether the item is designated as a
listener or a talker. The following five universal commands are available.
SPD (Serial Poll Disable)
In addition to the above commands, a listener address, talker address or secondary
command can be sent in an interface message.
Differences between SDC and DCL
The SDC command is an address command and requires that both the talker and
listener be designated. DCL is a universal command and does not require that the
talker and listener be designated. Hence, SDC is used for specific items of equipment,
while DCL can be used for any equipment connected to the communications bus.
1-6IM 704310-12E
1.5 Responses to Interface Messages
Response to Interface Message
Response to a uni-line message
• IFC (Interface Clear)
Clears the talker and listener. Stops output if data is being output.
• REN (Remote Enable)
Switches between remote and local modes.
• IDY (Identify) is not supported.
Responses to a multi-line message (address command)
• GTL (Go To Local)
Switches to local mode.
• SDC (Selected Device Clear)
Clears the program message (command) which is currently being output. Also empties
the output queue (page 4-5).
• GET (Group Execute Trigger)
Same as *TRG.
•
COMMunicate:WAIT will be stopped immediately.
• PPC (Parallel Poll Configure) and TCT (Take Control) are not supported.
Responses to a multi-line message (universal command)
• LLO (Local Lockout)
Invalidates the LOCAL key on the front panel, disabling switching to local mode.
• DCL (Device Clear)
Same as SDC.
• SPE (Serial Poll Enable)
Sets the talker function to serial poll mode for all equipment connected to the
communications bus. The controller polls equipment sequentially.
• SPD (Serial Poll Disable)
Clears serial poll mode as the talker function for all equipment connected to the
communications bus.
• PPU (Parallel Poll Unconfigure) is not supported.
1
Overview of the GP-IB Interface
1-7IM 704310-12E
Chapter 2Before Programming
,
<Program header>
<Program data>Space
2.1 Messages
2.1Messages
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
<PMT>
<PMT>
PMT is a terminator used to terminate each program
message. The following three types of terminator are
available.
NL (New Line) : Same as LF (Line Feed). ASCII code
"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^END: NL with an END message attached
(NL is not included in the program
message.)
Program message unit format
The format of a program message unit is shown below.
<Program header>
A program header is used to indicate the command
type. For details, refer to page 2-3.
2
Before Programming
<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>
UnitUnit
<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
"," (comma).
For details, refer to page 2-5.
Example
:SAMPLE:GATE:MODE EVENT<PMT>
Header
Data
2-1IM 704310-12E
2.1 Messages
Response Messages
The data returned by this instrument to the controller is
called a response message. The format of a response
message is shown below.
;
<Response message unit>
<RMT>
<Response message units>
A response message consists of one or more
response message units: each response message unit
corresponds to one response.
Response message units are delimited by a [;].
For the response message format, refer to the next
page.
Example
:SAMPLE:GATE:MODE EXTERNAL;POLARITY POSITIVE<RMT>
UnitUnit
<RMT>
RMT is the terminator used for every response
message. Only one type of response message is
available;
NL^END.
Response message unit format
The format of a program message unit is shown below.
,
<Rsps. header><Response data>
Space
<Response header>
A response header sometimes precedes the response
data. Response data must be separated from the
header by a space. For details, refer to page 2-4.
<Response data>
Response data is used to define a response. If multiple
items of response data are used, they must be
separated by a "," (comma). For details, refer to page
2-5.
Example
500.0E-03<RMT> :SAMPLE:INTERVAL MINIMUM<RMT>
DataHeaderData
If a program message contains more than one query,
responses are made in the same order as the queries.
Normally, each query returns only one response
message unit, but there are some queries which return
more than one response message unit. The first
response message unit always responds to the first
query, but it is not always true that the 'n'th unit
always responds to the
'n'th query. Therefore, if you
want to make sure that a response is made to each
query, the program message must be divided up into
individual messages.
Points to Note concerning Message Transmission
• It is always possible to send a program message if
the previous message which was sent did not
contain any queries.
• If the previous message contained a query, it is not
possible to send another program message until a
response message has been received. An error will
occur if a program message is sent before a
response message has been received in its entirety.
A response message which has not been received
will be discarded.
• If an attempt is made by the controller to receive a
response message, even if there it no response
message, an error will occur. An error will also occur
if the controller makes an attempt to receive a
response message before transmission of a
program message has been completed.
• If a program message of more than one unit is sent
and some of the units are incomplete, this
instrument receives program message units which
the instrument thinks complete and attempts to
execute them. However, these attempts may not
always be successful and a response may not
always be returned, even if the program message
contains queries.
Dead Lock
This instrument has a buffer memory in which both
program and response messages of 1024 bytes or
more can be stored. (The number of bytes available
will vary depending on the operating state of the
instrument.) If both buffer memories become full at the
same time, this instrument becomes inoperative. This
state is called dead lock. In this case, operation can be
resumed by discarding the response message.
No dead lock will occur, if the size of the program
message including the PMT is kept below 1024 bytes.
Furthermore, no dead lock will occur if the program
message does not contain a query.
2-2IM 704310-12E
2.2 Commands
2.2Commands
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
*) must always
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.
ExampleCommands relating to the sampling
SAMPLE?SAMPLE:GATE?
SAMPLE:GATE:MODESAMPLE:GATE:EVENTSIZE
SAMPLE:GATE:POLARITYSAMPLE:GATE:TIME
SAMPLE:INTERVALSAMPLE:ARMING:SOURCE
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.
2
Before Programming
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 (:) must be used
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.
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 (:) before the
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-3IM 704310-12E
2.2 Commands
When Separating Commands with <PMT>
If a terminator is used to separate two commands,
each command is a separate message. Therefore, the
common header must be typed in for each command
even when commands of the same command group
are being concatenated.
Example
MEASURE:MODE TSTAMP<PMT>MEASURE:
FUNCTION DUTY,A<PMT>
Upper-level Query
An upper-level query is a compound header to which a
question mark is appended. Execution of an upperlevel query allows all a group
's settings to be output at
once. Some query groups comprising more than three
hierarchical levels can output all their lower level
settings.
Example
MEASURE?<PMT>→:MEASURE:
MODE HHISTOGRAM;FUNCTION PERIOD,A;
SLOPE RISE
In reply to a query, a response can be returned as a
program message to this instrument. Transmitting a
response can restore the settings made when the
query was executed. However, some upper-level
queries will not return set-up data which is not currently
in use. Note that not all a group
's information will
necessarily be sent out as a response.
Header Interpretation Rules
This instrument interprets the header received
according to the following rules.
• Mnemonics are not case sensitive.
Example
"MEASure" can also be written as
"measure" or "Measure".
• The lower-case part of a header can be omitted.
Example"MEASure" can also be written as
"MEASU" or "MEAS".
• If the header ends with a question mark, the
command is a query. It is not possible to omit the
question mark.
Example"MEASure?" cannot be abbreviated to
• If the
"x" at the end of a mnemonic is omitted, it is
assumed to be
ExampleIf
anything shorter than
"1".
"WINDow<x>" is written as "WIND", this
represents
"WINDow1".
"MEAS?".
• Any part of a command enclosed by [ ] can be
omitted.
Example
CALCulation[:WINDow1]:AVERage? can
be written as
"CALCulation:AVERage?".
However, a part enclosed by [ ] cannot be omitted if is
located at the end of an upper-level query.
2-4IM 704310-12E
2.3 Response/2.4 Data
2.3Response
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
• 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.
ExampleSTATUS:ERROR?<PMT>→
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.
SAMPLE:GATE:MODE?<PMT>→:
SAMPLE:GATE:MODE EVENT<RMT>
0,"NO ERROR"<RMT>
2.4Data
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.
(Example: Gate time
<Percent>→SAMPle:GATE:TIME 1US)
<Register>Register value expressed as either binary, octal, decimal
or hexadecimal
(Example: Extended event register value
→STATus:EESE #HFE)
<Character data>Specified character string (mnemonic). Can be selected
from { }
(Example: Selecting of gate mode
→SAMPle:GATE:MODE {EVENt|TIME|EXTernal})
<Boolean>Indicates ON/OFF. Set to ON, OFF or value
(Example: Panorama display ON
→DISPlay:PANorama:STATe ON)
<Character string data>Arbitrary character string
(Example: File name to be saved
→FILE:DELete:SETup "SETUP_1")
<Block data>Arbitrary 8-bit data
(Example: Response to acquired waveform data
→#6000010ABCDEFGHIJ)
<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.
SymbolDescriptionExample
<NR1>Integer125 –1 +100000
<NR2>Fixed point number125.0 –.90 +001.
<NR3>Floating point number125.0E+0 –9E–1 +.1E4
<NRf>Any of the forms <NR1> to <NR3> is allowed.
2
Before Programming
• Decimal values which are sent from the controller to
this instrument can be sent in any of the forms to
<NR3>. In this case, <NRf> appears.
• For response messages which are returned from
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.
• In the case of <NR3>, the "+" after the "E" can be
omitted, but the
"–" cannot.
• If a value outside the setting range is entered, the
value will be normalized so that it is just inside the
range.
• If the value has more than the significant number of
digits, the value will be rounded.
2-5IM 704310-12E
2.4 Data
<Voltage>, <Time>, <Percent>
<Voltage>, <Time> and <Percent> indicate decimal
values which have physical significance. <Multiplier>
or <Unit> can be attached to <NRf>. They can be
entered in any of the following forms.
<Register> indicates an integer, and can be expressed
in hexadecimal, octal or binary as well as as a decimal
number. <Register> is used when each bit of a value
has a particular meaning. <Register> is expressed in
one of the following forms.
FormExample
<NRf>1
#H<Hexadecimal value made up of the digits 0 to 9, and A to F> #H0F
#Q<Octal value made up of the digits 0 to 7>#q777
#B<Binary value made up of the digits 0 and 1>#B001100
• <Register> is not case sensitive.
• Response messages are always expressed as
<NR1>.
<Character Data>
<Character data> is a specified string of character data
(a mnemonic). It is mainly used to indicate options, and
is chosen from the character strings given in { }. For
interpretation rules, refer to "Header Interpretation
" on page 2-4.
Rules
FormExample
{EVENt|TIME|EXTernal}EVENt
• As with a header, the "COMMunicate:VERBose"
command can be used to return a response
message in its full form. Alternatively, the
abbreviated form can be used.
• The
"COMMunicate:HEADer" command does not
affect <character data>.
• <Multiplier> and <Unit> are not case sensitive.
• [U] is used to indicate [ µ].
• [MA] is used for Mega (M) to distinguish it from Mili.
• If both <Multiplier> and <Unit> are omitted, the
default unit will be used.
• Response messages are always expressed in
<Boolean>
<Boolean> is data which indicates ON or OFF, and is
expressed in one of the following forms.
FormExample
{ON|OFF|<NRf>}ON OFF 1 0
<NR3> form. Neither <Multiplier> nor <Unit> is
used, therefore the default unit is used.
• When <Boolean> is expressed in <NRf> form, OFF
is selected if the rounded integer value is [0] and ON
is selected if the rounded integer is [Not 0].
• A response message is always [1] if the value is ON
and [0] if it is OFF.
2-6IM 704310-12E
2.4 Data/2.5 Synchronization with the Controller
<Character String Data>
<Character string data> is not a specified character
string like <Character data>. It is an arbitrary character
string. A character string must be enclosed in single
quotation marks ( ') or double quotation marks ( ").
FormExample
<Character string data>'ABC' "IEEE488.2-1987"
• Response messages are always enclosed in double
quotation marks.
• If a character string contains a double quotation
mark (
"), the double quotation mark will be replaced
by two concatenated double quotation marks (
"").
This rule also applies to a single quotation mark
within a character string.
• <Character string data> is an arbitrary character
string, therefore this instrument assumes that the
remaining program message units are part of the
character string if no single (') or double quotation
mark (
") is encountered. As a result, no error will be
detected if a quotation mark is omitted.
<Block data>
<Block data> is arbitrary 8-bit data. <Block data> is
only used for response messages. Response
messages are expressed in the following form.
• <6-digit decimal value>
Indicates the number of bytes of data. (
000010=10
bytes)
• <Data byte string>
The actual data. ( ABCDEFGHIJ)
• Data is comprised of 8-bit values (0 to 255). This
means that the ASCII code [0AH], which stands for
[NL], can also be a code used for data. Hence, care
must be taken when programming the controller.
2.5Synchronization with the
Controller
On the TA520, there are no overlap commands which
permit the execution of the next command before the
execution of the previous command completes. If
multiple commands are sent sequentially, the
execution of the next command is held until the
execution of the previous command completes.
How to Achieve Synchronization
Synchronization is sometimes required for reasons
other than communications related reasons, such as
the activation of a trigger.
For example, if the program message (see below) is
transmitted to make an inquiry about the data which is
acquired during single measurement, the
"MEMory:SEND?" command will be executed whether
acquisition has been completed or not, causing a
command execution error.
:SSTart;:MEMory:SEND?<PMT>
In this case, synchronization with the time at which
acquisition is completed must be accomplished, as
shown below.
Using STATus:CONDition? query
A
"STATus:CONDition?" query is used to make an
inquiry about the contents of the condition register
(page 4-4). It is possible to judge whether acquisition
is in progress or not by reading bit 0 of the condition
register. The measured data is effective if bit 0 is "1".
"0", acquisition is in progress, thus the
If it is
measured data is not effective.
Example
:SSTart<PMT>
STATus:CONDition?<PMT>
(Returns to the previous status if bit 0 is
found to be [1] when the response is
decoded.)
MEMory:SEND?<PMT>
2
Before Programming
A "MEMory:SEND?" query will not be executed until bit
0 of the condition register has been set to [
1].
2-7IM 704310-12E
2.5 Synchronization with the Controller
Using the extended event register
Changes in the condition register are reflected in the
extended event register (page 4-4).
Example STATus:FILTer1 RISE;:STATus:EESE 1;
EESR?;*SRE 8;SSTart<PMT>
(Service request is awaited.)
MEMory:SEND?<PMT>
"STATus:FILTer1 RISE" indicates that the transit filter
is set so that bit 0 (
"1" when bit 0 of the condition register is
set to
changed from [
"STATus:EESE 1" is a command used to reflect the
FILTer1) of the extended register is
0] to [1].
status of only bit 0 of the extended event register in the
status byte.
"STATus:EESR?" is used to clear the extended event
register.
The "*SRE" command is used to generate a service
request caused by the extended event register only.
"MEMory:SEND?" will not be executed until a service
request is generated.
Using the COMMunicate:WAIT command
The "COMMunicate:WAIT" command halts
communications until a specific event is generated.
Example
STATus:FILTer1 RISE;:STATus:EESR?;
SSTart<PMT>
(Response to STATus:EESR? is decoded.)
COMMunicate:WAIT 1;:MEMory:
SEND?<PMT>
For a description of "STATus:FILTer1 RISE" and
"STATus:EESR?", refer to "Using the extended event
register
"COMMunicate:WAIT 1" means that communications is
" on this page.
halted until bit 0 of the extended event register is set to
[1].
"MEMory:SEND?" will not be executed until bit 0 of the
extended event register is set to [
1].
2-8IM 704310-12E
3.1 Command Listing
Chapter 3Commands
3.1Command Listing
CommandFunctionPage
ASCale Group
:ASCalePerforms auto-scaling.3-9
CALCulation Group
:CALCulation?Queries all settings related to statistics.3-13
:CALCulation:AREASets the area to calculate the statistics or queries the current setting.3-13
:CALCulation:AUTot?Queries the value of the constant T for the auto window mode.3-13
:CALCulation[:BLOCk<x>]:TAVerage?Queries the average value during the time variation display.3-13
:CALCulation[:BLOCk<x>]:TFLutter?Queries the flutter value (σ/average value) during the time variation display.3-13
:CALCulation[:BLOCk<x>]:TJITter?Queries the jitter value (P-P/average value) during the time variation display.3-13
:CALCulation[:BLOCk<x>]:TMAXimum?Queries the maximum value during the time variation display.3-13
:CALCulation[:BLOCk<x>]:TMINimum?Queries the minimum value during the time variation display.3-14
:CALCulation[:BLOCk<x>]:TPTopeak?Queries the P-P value during the time variation display.3-14
:CALCulation[:BLOCk<x>]:TRF?Queries the RF value during the time variation display.3-14
:CALCulation[:BLOCk<x>]:TSDeviation?Queries the standard deviation (σ) during the time variation display.3-14
:CALCulation[:BLOCk<x>]:TSNumber?Queries the number of samples on which to calculate the statistics during the time
variation display.3-14
:CALCulation:CONSttSets the value of the constant T or queries the current setting.3-14
:CALCulation:PARameter?Queries the ON/OFF state of each statistical value.3-14
:CALCulation:PARameter:CLEarTurns OFF all statistical values.3-14
:CALCulation:PARameter:AVERageTurns ON/OFF the calculation of the average value during the histogram display or
queries the current setting.3-14
:CALCulation:PARameter:ELERrorTurns ON/OFF the calculation of the Effect Length Error during the histogram display
or queries the current setting.3-14
:CALCulation:PARameter:FLUTterTurns ON/OFF the calculation of the flutter value (σ/average value) during the
histogram display or queries the current setting.3-14
:CALCulation:PARameter:JITTerTurns ON/OFF the calculation of the jitter value (σ/T) during the histogram display
or queries the current setting.3-15
:CALCulation:PARameter:MAXimumTurns ON/OFF the calculation of the maximum value during the histogram display
or queries the current setting.3-15
:CALCulation:PARameter:MEDianTurns ON/OFF the calculation of the median value during the histogram display or
queries the current setting.3-15
:CALCulation:PARameter:MELETurns ON/OFF the calculation of the MELE value during the histogram display or
queries the current setting.3-15
:CALCulation:PARameter:MINimumTurns ON/OFF the calculation of the minimum value during the histogram display
or queries the current setting.3-15
:CALCulation:PARameter:MODETurns ON/OFF the calculation of the most frequent value during the histogram
display or queries the current setting.3-15
:CALCulation:PARameter:PTOPeakTurns ON/OFF the calculation of the P-P value during the histogram display or
queries the current setting.3-15
:CALCulation:PARameter:SDEViationTurns ON/OFF the calculation of the standard deviation (σ) during the histogram
display or queries the current setting.3-15
:CALCulation:PARameter:TAVerageTurns ON/OFF the calculation of the average value during the time variation display
or queries the current setting.3-15
:CALCulation:PARameter:TJITterTurns ON/OFF the calculation of the jitter value (P-P/average value) during the
time variation display or queries the current setting.3-15
:CALCulation:PARameter:TMAXimumTurns ON/OFF the calculation of the maximum value during the time variation
display or queries the current setting.3-16
:CALCulation:PARameter:TMINimumTurns ON/OFF the calculation of the minimum value during the time variation
display or queries the current setting.3-16
3
Commands
3-1IM 704310-12E
3.1 Command Listing
CommandFunctionPage
:CALCulation:PARameter:TSDeviation Turns ON/OFF the calculation of the standard deviation (σ) during the time variation
display or queries the current setting.3-16
:CALCulation:PARameter:TPTopeakTurns ON/OFF the calculation of the P-P value during the time variation display or
queries the current setting.3-16
:CALCulation:PARameter:TFLutterTurns ON/OFF the calculation of the jitter value (σ/average value) during the time
variation display or queries the current setting.3-16
:CALCulation:PARameter:TRFTurns ON/OFF the calculation of the RF value during the time variation display or
queries the current setting.3-16
:CALCulation:POLaritySets which polarity to analyze when measuring both polarities during the pulse width
measurement or queries the current setting.3-16
:CALCulation:SUMMation:AVERage?Queries the average value when the windows are summed during multi-window or
auto window mode.3-16
:CALCulation:SUMMation:ELERror?Queries the Effect Length Error when the all windows are summed during multi-window
or auto window mode.3-16
:CALCulation:SUMMation:FLUTter?Queries the flutter value (σ/average value) when the all windows are summed during
multi-window or auto window mode.3-16
:CALCulation:SUMMation:JITTer?Queries the jitter value (σ/T) when the all windows are summed during multi-window or
auto window mode.3-17
:CALCulation:SUMMation:MAXimum?Queries the maximum value when the all windows are summed during multi-window or
auto window mode.3-17
:CALCulation:SUMMation:MEDian?Queries the median value when the all windows are summed during multi-window or
auto window mode.3-17
:CALCulation:SUMMation:MELE?Queries the MELE value when the all windows are summed during multi-window or auto
window mode.3-17
:CALCulation:SUMMation:MINimum?Queries the maximum value when the all windows are summed during multi-window or
auto window mode.3-17
:CALCulation:SUMMation:MODE?Queries the most frequent value when the all windows are summed during multi-window
or auto window mode.3-17
:CALCulation:SUMMation:PTOPeak?Queries the P-P value when the all windows are summed during multi-window or auto
window mode.3-17
:CALCulation:SUMMation:SDEViation? Queries the standard deviation (σ) when the all windows are summed during multi-window
or auto window mode.3-17
:CALCulation:SUMMation:SNUMber?Queries the number of samples on which to calculate the statistics when the all windows
are summed during multi-window or auto window mode.3-17
:CALCulation[:WINDow<x>]:AVERage?Queries the average value during the histogram display.3-17
:CALCulation[:WINDow<x>]:ELERror?Queries the Effect Length Error value during the histogram display.3-18
:CALCulation[:WINDow<x>]:FLUTter?Queries the flutter value (σ/average value) during the histogram display.3-18
:CALCulation[:WINDow<x>]:JITTer?Queries the jitter value (σ/T) during the histogram display.3-18
:CALCulation[:WINDow<x>]:MAXimum?Queries the maximum value during the histogram display.3-18
:CALCulation[:WINDow<x>]:MEDian?Queries the median value during the histogram display.3-18
:CALCulation[:WINDow<x>]:MELE?Queries the MELE value during the histogram display.3-18
:CALCulation[:WINDow<x>]:MINimum?Queries the minimum value during the histogram display.3-18
:CALCulation[:WINDow<x>]:MODE?Queries the most frequent value during the histogram display.3-18
:CALCulation[:WINDow<x>]:PTOPeak?Queries the P-P value during the histogram display.3-19
:CALCulation[:WINDow<x>]:SDEViation? Queries the standard deviation (σ) during the histogram display.3-19
:CALCulation[:WINDow<x>]:SNUMber?Queries the number of samples on which to calculate the statistics during the histogram
display.3-19
COMMunicate Group
:COMMunicate?Queries all settings related to communications.3-20
:COMMunicate:HEADerSets whether or not to attach headers to query responses or queries the current
setting.3-20
:COMMunicate:VERBoseSets whether or not to use the full or abbreviated form for query responses or
queries the current setting.3-20
:COMMunicate:WAITWaits for the specified extended events to occur.3-20
:COMMunicate:WAIT?Creates a response when the specified extended events occur.3-20
3-2IM 704310-12E
3.1 Command Listing
CommandFunctionPage
DISPlay Group
:DISPlay?Queries all settings related to the display.3-22
:DISPlay:BACKlightTurns ON/OFF the back light or queries the current setting.3-22
:DISPlay:BLOCkSets the block to be displayed or queries the current setting.3-22
:DISPlay:BRIGhtnessSets the brightness of the screen or queries the current setting.3-22
:DISPlay:DOTConnectTurns ON/OFF the dot connection function during the time variation display or queries
the current setting.3-22
:DISPlay:DOTTypeSets the display format of the measurement point during the time variation display or
queries the current setting.3-22
:DISPlay:GRAPhsizeSets the size of the graph display or queries the current setting.3-23
:DISPlay:GRIDTurns ON/OFF the grid during the time variation display or queries the current setting. 3-23
:DISPlay:ITEMSets the display format or queries the current setting.3-23
:DISPlay:OVERlapSets whether or not to superimpose the polarity display (ON/OFF) when measuring
both polarities or slopes.3-23
:DISPlay:PANorama?Queries all settings related to the panorama display.3-23
:DISPlay:PANorama:AREASets the panorama display range or queries the current setting.3-23
:DISPlay:PANorama[:STATe]Turns ON/OFF the panorama display or queries the current setting.3-23
:DISPlay:PANorama:ZOOM?Queries all settings related to the zoom function of the panorama display.3-23
:DISPlay:PANorama:ZOOM:ADJustAdjusts the zoom setting of the panorama display.3-23
:DISPlay:PANorama:ZOOM:POSitionSets the zoom position of the panorama display or queries the current setting.3-23
:DISPlay:PANorama:ZOOM:SPANSets the zoom range of the panorama display or queries the current setting.3-23
:DISPlay:SITemSets the type of statistical values to display or queries the current setting.3-23
:DISPlay:SSTYleSets the format of the statistics display or queries the current setting.3-24
:DISPlay:STATisticTurns ON/OFF the statistics display during the histogram or time variation display or
queries the current setting.3-24
:DISPlay:WINDowSets the window to display or queries the current setting.3-24
3
Commands
FILE Group
:FILE?Queries all settings related to files.3-25
:FILE:CDIRectoryChanges the current directory.3-25
:FILE:DELete:BINaryDeletes the binary measurement data file.3-26
:FILE:DELete:BMPBMP Deletes the screen image file.3-26
:FILE:DELete:POSTscriptDeletes the post script screen image file.3-26
:FILE:DELete:SETupDeletes the setup information data file.3-26
:FILE:DELete:STATisticDeletes the statistics data file.3-26
:FILE:DELete:TIFFDeletes the TIFF screen image file.3-26
:FILE:DELete:TEXTDeletes the text measurement data file.3-26
:FILE:DRIVeSets the drive.3-26
:FILE:FORMatFormats the floppy disk.3-26
:FILE:FREE?Queries the drive free space in number of bytes.3-26
:FILE:LOAD:BINaryLoads the binary measurement data.3-26
:FILE:LOAD:SETupLoads the setup information data.3-26
:FILE:MDIRectoryCreates a directory.3-23
:FILE:PATH?Queries the current directory.3-26
:FILE:SAVE?Queries all settings related to saving the file.3-27
:FILE:SAVE:ANAMingTurns ON/OFF the auto naming function for saving files or queries the current setting. 3-27
:FILE:SAVE:BINarySaves the measured data in binary format.3-27
:FILE:SAVE:COMMentSets a comment in the top left corner of the screen or queries the current setting.3-27
:FILE:SAVE:SETupSaves the setup information data.3-27
:FILE:SAVE:STATisticSaves the statistical data.3-27
:FILE:SAVE:TEXTSaves the measured data in text format.3-27
HCOPy Group
:HCOPy?Queries all settings related to the output of the screen image data.3-28
:HCOPy:ABORtAborts the hard copy.3-28
:HCOPy:ANAMingTurns ON/OFF the auto naming function for saving the screen image to files or queries
the current setting.3-28
3-3IM 704310-12E
3.1 Command Listing
CommandFunctionPage
:HCOPy:COMMentSets a comment in the top left corner of the screen or queries the current setting.3-29
:HCOPy:COMPressionTurns ON/OFF the compression when saving the screen image in BMP or TIFF
format or queries the current setting.3-29
:HCOPy:DEViceSets the output destination of the screen image or queries the current setting.3-29
:HCOPy[:EXECute]Executes a hard copy of the screen image.3-29
:HCOPy:FILenameSets the name of the file in which to save the screen image or queries the current
setting.3-29
:HCOPy:FORMatSets the format of the file in which to save the screen image or queries the current
setting.3-29
:HCOPy:TONESets the color for saving the screen image or queries the current setting.3-29
HHIStogram Group
:HHIStogram?Queries all settings related to the histogram display during the hardware histogram
mode.3-31
:HHIStogram:AUTO?Queries all settings related to the auto window mode.3-31
:HHIStogram:AUTO:MODulationSets the modulation method during auto window mode or queries the current setting. 3-31
:HHIStogram:AUTO:TTYPeSets how the constant T is determined during the auto window mode or queries the
current setting.3-32
:HHIStogram:MARKer?Queries all settings related to the marker.3-32
:HHIStogram:MARKer:LOWSets the position of the low marker or queries the current setting.3-32
:HHIStogram:MARKer[:STATe]Turns ON/OFF the markers or queries the current setting.3-32
:HHIStogram:MODESets the mode or queries the current setting.3-32
:HHIStogram:MULTi?Queries all settings related to the multi-window mode.3-32
:HHIStogram:MULTi:SIZESets the number of windows or queries the current setting.3-32
:HHIStogram:MULTi:TVALueSets the value of the constant T or queries the current setting.3-32
:HHIStogram:MULTi:UPDateChanges the window setting based on the value of the constant T.3-32
:HHIStogram:MULTi:WINDow<x>?Queries all settings related to each window.3-32
:HHIStogram:MULTi:WINDow<x>:HORizontal?
Queries all settings related to the horizontal axis of each window.3-32
:HHIStogram:MULTi:WINDow<x>:HORizontal:CENTer
Sets the center position of the horizontal axis of each window or queries the current
setting.3-33
:HHIStogram:MULTi:WINDow<x>:HORizontal:SPAN
Sets the width of the horizontal axis of each window or queries the current setting. 3-33
:HHIStogram:MULTi:WINDow<x>:LABelSets the label of each window or queries the current setting.3-33
:HHIStogram:MULTi:WINDow<x>:MARKer? Queries all settings related to the horizontal axis marker of each window.3-33
:HHIStogram:MULTi:WINDow<x>:MARKer:LEFT
Sets the position of the left marker of each window or queries the current setting.3-33
:HHIStogram:MULTi:WINDow<x>:MARKer:LVALue?
Queries the frequency at the position of the left marker.3-33
:HHIStogram:MULTi:WINDow<x>:MARKer:RIGHt
Sets the position of the right marker of each window or queries the current setting. 3-33
:HHIStogram:MULTi:WINDow<x>:MARKer:RVALue?
Queries the frequency at the position of the right marker.3-33
:HHIStogram:SINGle?Queries all settings related to single window.3-33
:HHIStogram:SINGle:HORizontal?Queries all settings related to the horizontal axis of the single window.3-34
:HHIStogram:SINGle:HORizontal:CENTer Sets the center position of the horizontal axis of the window or queries the current
setting.3-34
:HHIStogram:SINGle:HORizontal:SPAN Sets the width of the horizontal axis of the window or queries the current setting.3-34
:HHIStogram:SINGle:MARKer?Queries all settings related to the horizontal axis marker.3-34
:HHIStogram:SINGle:MARKer:LEFTSets the position of the left marker or queries the current setting.3-34
:HHIStogram:SINGle:MARKer:LVALue?Queries the frequency at the position of the left marker.3-34
:HHIStogram:SINGle:MARKer:RIGHtSets the position of the right marker or queries the current setting.3-34
:HHIStogram:SINGle:MARKer:RVALue?Queries the frequency at the position of the right marker.3-34
:HHIStogram:SINGle:TVALueSets the value of the constant T or queries the current setting.3-34
:HHIStogram:VERTical?Queries all settings related to the vertical axis during the hardware histogram mode. 3-34
3-4IM 704310-12E
3.1 Command Listing
CommandFunctionPage
:HHIStogram:VERTical:AXISSets the type of vertical axis scale or queries the current setting.3-34
:HHIStogram:VERTical:HIGHSets the upper limit of the vertical axis scale or queries the current setting.3-35
INPut Group
:INPut?Queries all settings related to the input section.3-37
:INPut:ACHannel?Queries all settings related to channel A.3-37
:INPut:ACHannel:COUPlingSets the coupling of channel A or queries the current setting.3-37
:INPut:ACHannel:IMPedanceSets the input impedance of channel A or queries the current setting.3-37
:INPut:ACHannel:TRIGger?Queries all settings related to the trigger of channel A.3-37
:INPut:ACHannel:TRIGger:LEVelSets the trigger level of channel A or queries the current setting.3-37
:INPut:ACHannel:TRIGger:MODESets the trigger mode of channel A or queries the current setting.3-37
:INPut:AGATe?Queries all settings related to arming and the external gate.3-37
:INPut:AGATe:LEVelSets the arming or gate level or queries the current setting.3-37
:INPut:BCHannel?Queries all settings related to channel B.3-38
:INPut:BCHannel:COUPlingSets the coupling of channel B or queries the current setting.3-38
:INPut:BCHannel:IMPedanceSets the input impedance of channel B or queries the current setting.3-38
:INPut:BCHannel:TRIGger?Queries all settings related to the trigger of channel B.3-38
:INPut:BCHannel:TRIGger:LEVelSets the trigger level of channel B or queries the current setting.3-38
:INPut:BCHannel:TRIGger:MODESets the trigger mode of channel B or queries the current setting.3-38
:INPut:INHibit?Queries all settings related to the inhibit function.3-38
:INPut:INHibit:LEVelSets the inhibit level or queries the current setting.3-38
3
Commands
MEASure Group
:MEASure?Queries all settings related to the measurement conditions.3-39
:MEASure:FUNCtionSets the measurement function or queries the current setting.3-39
:MEASure:MODESets the sampling mode or queries the current setting.3-39
:MEASure:POLaritySets the polarity during the pulse width measurement or queries the current setting. 3-39
:MEASure:SLOPeSets or queries the slope during period or time interval measurement.3-39
MEMory Group
:MEMory?Queries all settings related to the transmission of the measured data to external
devices.3-40
:MEMory:BLOCkSets the block during block sampling or queries the current setting.3-40
:MEMory:BYTeorderSets the transmission byte order of the binary data or queries the current setting.3-40
:MEMory:CLEarClears the measured data.3-40
:MEMory:DATaselectSets the data to transmit or queries the current setting.3-40
:MEMory:ENDSets the data position of the end of the transmission or queries the current setting. 3-41
:MEMory:FORMatSets the format of the transmission data or queries the current setting.3-41
:MEMory:SEND?Transmits the measured data specified with the "MEMory:DATaselect" command. 3-41
:MEMory:SIZE?Queries the number of measured data points.3-41
:MEMory:STARtSets the data position of the start of the transmission or queries the current setting. 3-41
RECall Group
:RECallRecalls the setup information.3-41
SAMPle Group
:SAMPle?Queries all settings related to sampling.3-43
:SAMPle:ARMing?Queries all settings related to the arming function.3-43
:SAMPle:ARMing:DELay?Queries all settings related to the arming delay.3-43
:SAMPle:ARMing:DELay:EVENtsizeSets the arming delay event or queries the current setting.3-43
:SAMPle:ARMing:DELay:MODESets the arming delay mode or queries the current setting.3-43
:SAMPle:ARMing:DELay:TIMESets the arming delay time or queries the current setting.3-44
:SAMPle:ARMing:SLOPeSets the arming slope or queries the current setting.3-44
:SAMPle:ARMing:SOURceSets the arming source or queries the current setting.3-44
:SAMPle:BLOCk?Queries all settings related to block sampling.3-44
:SAMPle:BLOCk:REST?Queries all settings related to the pause period of the block sampling operation.3-44
:SAMPle:BLOCk:REST:EVENtSets the pause time of the block sampling operation in terms of the number of events
or queries the current setting.3-44
3-5IM 704310-12E
3.1 Command Listing
CommandFunctionPage
:SAMPle:BLOCk:REST[:MODE]Sets the pause mode of the block sampling operation or queries the current setting. 3-44
:SAMPle:BLOCk:REST:TIMESets the pause time of the block sampling operation or queries the current setting. 3-44
:SAMPle:BLOCk:SIZESets the block size of the block sampling operation or queries the current setting.3-44
:SAMPle:BLOCk[:STATe]Turns ON/OFF the block sampling function or queries the current setting.3-44
:SAMPle:GATE?Queries all settings relatied to the gate.3-44
:SAMPle:GATE:EVENtsizeSets the gate in terms of the number of events or queries the current setting.3-45
:SAMPle:GATE[:MODE]Sets the gate type or queries the current setting.3-45
:SAMPle:GATE:POLaritySets the polarity of the external gate or queries the current setting.3-45
:SAMPle:GATE:TIMESets the gate in terms of time or queries the current setting.3-45
:SAMPle:INHibitSets the polarity of the inhibit input or queries the current setting.3-45
:SAMPle:INTervalSets the sampling interval or queries the current setting.3-45
:SAMPle:RCLockSets the reference clock for sampling or queries the current setting.3-45
SCSI Group
:SCSI?Queries all settings related to SCSI.3-46
:SCSI:HDDSets the SCSI address of the internal hard disk or queries the current setting.3-46
:SCSI:INITializeInitializes the SCSI.3-46
:SCSI:OWNSets the SCSI address of the instrument or queries the current setting.3-46
SSTart Group
:SSTartExecutes single measurement.3-46
STARt Group
:STARtStarts the measurement.3-46
STATus Group
:STATus?Queries all settings related to the communication status.3-47
:STATus:CONDition?Queries the status register.3-47
:STATus:EESESets the extended event enable register or queries the current setting.3-47
:STATus:EESR?Queries the extended event register and clears the register.3-47
:STATus:ERRor?Queries the error code and message.3-47
:STATus:FILTer<x>Sets the transition filter or queries the current setting.3-47
:STATus:QMESsageSets whether or not to include the message information in response to the
"STATus:ERRor?" command or queries the current setting.3-47
STOP Group
:STOPStops the measurement.3-48
STORe Group
:STOReStores the current setup information.3-48
SYSTem Group
:SYSTem?SYSTem Queries all settings related to the group.3-48
:SYSTem:BEEPTurns ON/OFF the beep sound or queries the current setting.3-48
:SYSTem:CLICksoundTurns ON/OFF the click sound or queries the current setting.3-49
:SYSTem:DATESets today's date or queries the current setting.3-49
:SYSTem:HDDMotorTurns ON/OFF the HDD motor while waiting or queries the current setting.3-49
:SYSTem:TIMESets the current time or queries the current setting.3-49
:SYSTem:WARNingTurn ON/OFF the warning display or queries the current setting.3-49
THIStogram Group
:THIStogram?Queries all settings related to the histogram of the time stamp mode.3-52
:THIStogram:HORizontal?Queries all settings related to the horizontal axis of the histogram of the time stamp
mode.3-52
:THIStogram:HORizontal:CENTerSets the center value of the horizontal axis or queries the current setting.3-52
:THIStogram:HORizontal:SPANSets the width of the horizontal axis or queries the current setting.3-52
:THIStogram:ISI?Queries all settings related to the inter-symbol interference analysis.3-52
:THIStogram:ISI:MARK<x>Sets the mark or queries the current setting.3-52
:THIStogram:ISI:MODESets the trigger mode or queries the current setting.3-52
:THIStogram:ISI:POLaritySets the polarity or queries the current setting.3-52
3-6IM 704310-12E
3.1 Command Listing
CommandFunctionPage
:THIStogram:ISI:SIZESets the number of windows or queries the current setting.3-52
:THIStogram:ISI:SPACe<x>Sets the space or queries the current setting.3-53
:THIStogram:ISI[:STATe]Turns ON/OFF the inter-symbol interference analysis function or queries the current
setting.3-53
:THIStogram:ISI:TARGetSets the item to be analyzed or queries the current setting.3-53
:THIStogram:ISI:TRIGgerSets the trigger condition or queries the current setting.3-53
:THIStogram:ISI:TVALueSets the value of the constant T or queries the current setting.3-53
:THIStogram:ISI:UPDateChanges the window setting based on the constant T.3-53
:THIStogram:ISI:WINDow<x>?Queries all settings related to each window.3-53
:THIStogram:ISI:WINDow<x>:HORizontal?
Queries all settings related to the horizontal axis of each window.3-53
:THIStogram:ISI:WINDow<x>:HORizontal:CENTer
Sets the center value of the horizontal axis or queries the current setting.3-53
:THIStogram:ISI:WINDow<x>:HORizontal:SPAN
Sets the width of the horizontal axis or queries the current setting.3-54
:THIStogram:ISI:WINDow<x>:LABelSets the label of each window or queries the current setting.3-54
:THIStogram:ISI:WINDow<x>:MARKer?Queries all settings related to the horizontal marker cursor of each window.3-54
:THIStogram:ISI:WINDow<x>:MARKer:LEFT
Sets the position of the left marker or queries the current setting.3-54
:THIStogram:ISI:WINDow<x>:MARKer:RIGHt
Sets the position of the right marker or queries the current setting.3-54
:THIStogram:MARKer?Queries all settings related to the markers.3-54
:THIStogram:MARKer:LEFTSets the position of the left marker or queries the current setting.3-54
:THIStogram:MARKer:LOWSets the position of the low marker or queries the current setting.3-54
:THIStogram:MARKer:LVALue?Queries the frequency at the left marker position.3-54
:THIStogram:MARKer:RIGHtSets the position of the right marker or queries the current setting.3-55
:THIStogram:MARKer:RVALue?Queries the frequency at the right marker position.3-55
:THIStogram:MARKer[:STATe]Turns ON/OFF the marker or queries the current setting.3-55
:THIStogram:VERTical?Queries all settings related to the vertical axis.3-55
:THIStogram:VERTical:AXISSets the type of vertical axis scale or queries the current setting.3-55
:THIStogram:VERTical:HIGHSets the upper limit of the vertical axis scale or queries the current setting.3-55
3
Commands
TVARiation Group
:TVARiation?Queries all settings related to the time variation display.3-56
:TVARiation:HORizontal?Queries all settings related to the horizontal axis of the time variation display.3-56
:TVARiation:HORizontal:MINimumSets the left end of the horizontal axis scale or queries the current setting.3-57
:TVARiation:HORizontal:SPANSets the width of the horizontal axis scale or queries the current setting.3-57
:TVARiation:MARKer?Queries all settings related to the markers.3-57
:TVARiation:MARKer:HIGHSets the position of the high marker or queries the current setting.3-57
:TVARiation:MARKer:LEFTSets the position of the left marker or queries the current setting.3-57
:TVARiation:MARKer:LOWSets the position of the low marker or queries the current setting.3-57
:TVARiation:MARKer:LVALue?Queries the measured value at the left marker position.3-57
:TVARiation:MARKer:RIGHtSets the position of the right marker or queries the current setting.3-57
:TVARiation:MARKer:RVALue?Queries the measured value of the right marker position.3-57
:TVARiation:MARKer[:STATe]Turns ON/OFF the marker cursor or queries the current setting.3-57
:TVARiation:VERTical?Queries all settings related to the vertical axis.3-57
:TVARiation:VERTical:CENTerSets the center value of the vertical axis or queries the current setting.3-58
:TVARiation:VERTical:SPANSets the width of the vertical axis or queries the current setting.3-58
UNIT Group
:UNIT?Queries the default units for voltage, time, and frequency.3-58
:UNIT:VOLTageSets the default unit for voltage or queries the current setting.3-58
:UNIT:TIMESets the default unit for time or queries the current setting.3-58
3-7IM 704310-12E
3.1 Command Listing
CommandFunctionPage
Common Command Group
*CAL?Performs calibration and queries the result.3-59
*CLSClears the standard event register, extended event register and error queue.3-59
*ESESets the value for the standard event enable register/queries the current setting.3-59
*ESR?Queries the value of the standard event register and clears it at the same time.3-59
*IDN?Queries the instrument model.3-59
*OPCClears/does not clear the OPC event on completion of execution of the specified
overlap command.3-59
*OPC?Creates a response on completion of execution of the specified overlap command. 3-59
*RSTInitializes the set-up information.3-60
*SRESets the value of the service request enable register/queries the current setting.3-60
*STB?Queries the value of the status byte register.3-60
*TRGPerforms single measurement.3-60
*TST?Executes a self-test and queries the test result.3-60
*WAIWaits for the command following "*WAI" until execution of the designated overlap
command is completed.3-60
3-8IM 704310-12E
3.2ASCale Group
The commands in this group deal with auto scaling.
:ASCale
ASCale
FunctionPerforms auto-scaling.
Syntax:ASCale
Example:ASCALE
Description Auto-scaling is not possible in the multi-window
and auto window modes.
3.2 ASCale Group
3
Commands
3-9IM 704310-12E
3.3 CALCulation Group
3.3CALCulation Group
The commands in this group deal with statistical calculations.
;
:CALCulation:AREA<Space>MARKer
WINDow
BLOCk
?
AUTot
POLarity<Space>POSitive
CONStt<Space>
PARameter:CLEar
?
NEGative
BOTH
?
<Time>
?
;
AVERage<Space>OFF
ELERror<Space>OFF
FLUTter<Space>OFF
JITTer<Space>OFF
MAXimum<Space>OFF
MEDian<Space>OFF
MELE<Space>OFF
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
3-10IM 704310-12E
MINimum<Space>OFF
ON
<NRf>
?
MODE<Space>OFF
ON
<NRf>
?
PTOPeak<Space>OFF
ON
<NRf>
?
SDEViation<Space>OFF
ON
<NRf>
?
TA Verage<Space>OFF
ON
<NRf>
?
TJITter
TMAXimum<Space>OFF
TMINimum<Space>OFF
TSDeviation<Space>OFF
TPTopeak<Space>OFF
TFLutter<Space>OFF
<Space>OFF
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
ON
<NRf>
?
3.3 CALCulation Group
3
Commands
3-11IM 704310-12E
3.3 CALCulation Group
BLOCk<x>:TA Verage?
WINDow<x>:AVERage?<Space>ALL
TRF<Space>OFF
ON
<NRf>
?
?
;
TJITter
TMAXimum?
TMINimum?
TSDeviation?
TPTopeak?
TFLutter?
TRF?
TSNumber?
;
ELERror
?
?<Space>ALL
SELect
SELect
FLUTter
JITTer
MAXimum
MEDian
MELE
MINimum
MODE
PTOPeak
SDEViation
SNUMber
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
?<Space>ALL
SELect
3-12IM 704310-12E
;
SUMMation:AVERage?
ELERror?
FLUTter?
JITTer?
MAXimum?
MEDian?
MELE?
MINimum?
MODE?
PTOPeak?
SDEViation?
SNUMber?
3.3 CALCulation Group
3
Commands
?
CALCulation?
FunctionQueries all settings related to statistics.
Syntax:CALCulation?
Example:CALCulation?
→:CALCULATION:AREA MARKER;
POLARITY POSITIVE;CONSTT 100.000E-09;
PARAMETER:AVERAGE 1;ELERROR 1;FLUTTER 1;
JITTER 1;MAXIMUM 1;MEDIAN 1;MELE 1;
MINIMUM 1;MODE 1;PTOPEAK 1;SDEVIATION 1
CALCulation:AREA
FunctionSets the area to calculate the statistics or
queries the current setting.
Syntax:CALCulation:AREA {MARKer|WINDow|BLOCk}
Example:CALCULATION:AREA MARKER
:CALCULATION:AREA?
→:CALCULATION:AREA MARKER
CALCulation:AUTot?
FunctionQueries the measured T value or the estimated
T value for the auto window mode.
Syntax:CALCulation:AUTot?
Example:CALCULATION:AUTOT?
→3.6750E-8
CALCulation[:BLOCk<x>]:TAVerage?
FunctionQueries the average value during the time
variation display.
Syntax:CALCulation[:BLOCk<x>]:TAVerage?
Example:CALCULATION:BLOCK1:TAVERAGE?
→2.4035E-9
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TFLutter?
FunctionQueries the flutter value (σ/average value)
during the time variation display.
Syntax:CALCulation[:BLOCk<x>]:TFLutter?
Example:CALCULATION:BLOCK1:TFLUTTER?
→1.2887E+1
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TJITter?
FunctionQueries the jitter value (P-P/average value)
during the time variation display.
Syntax:CALCulation[:BLOCk<x>]:TJITter?
ExampleCALCULATION:BLOCK1:TJITTER?
→1.382E+00
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TMAXimum?
FunctionQueries the maximum value during the time
variation display.
Syntax:CALCulation[:BLOCk<x>]:TMAXimum?
Example:CALCULATION:BLOCK:TMAXIMUM?
→1.1287E-7
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
3-13IM 704310-12E
3.3 CALCulation Group
CALCulation[:BLOCk<x>]:TMINimum?
FunctionQueries the minimum value during the time
variation display.
Syntax:CALCulation[:BLOCk<x>]:TMINimum?
Example:CALCULATION:BLOCK1:TMINIMUM?
→9.99437E-8
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TPTopeak?
FunctionQueries the P-P value during the time variation
display.
Syntax:CALCulation[:BLOCk<x>]:TPTopeak?
Example:CALCULATION:BLOCK1:TPTOPEAK?
→3.0245E-9
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TRF?
FunctionQueries the RF value during the time variation
display.
Syntax:CALCulation[:BLOCk<x>]:TRF?
Example:CALCULATION:BLOCK1:TRF?
→1.4775E-1
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TSDeviation?
FunctionQueries the standard deviation (σ) during the
time variation display.
Syntax:CALCulation[:BLOCk<x>]:TSDeviation?
Example:CALCULATION:BLOCK1:TSDEVIATION?
→2.4035E-9
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation[:BLOCk<x>]:TSNumber?
FunctionQueries the number of samples on which to
calculate the statistics during the time variation
display.
Syntax:CALCulation[:BLOCk<x>]:TSNumber?
Example:CALCULATION:BLOCK1:TSNUMBER?
→1000
Description • If the statistics are not valid, [NAN] is returned
in response to a query.
• Omit ":BLOCK<x>" if block sampling is not
used.
CALCulation:CONStt
FunctionSets the value of the constant T or queries the
FunctionSets the type of statistical values to display or
queries the current setting.
Syntax:DISPlay:SITem {HISTogram|TVARiation}
:DISPlay:SITem?
Example:DISPLAY:SITEM HISTOGRAM
:DISPLAY:SITEM?
→:DISPLAY:SITEM HISTOGRAM
3-23IM 704310-12E
3
Commands
3.5 DISPlay Group
DISPlay:SSTYle
FunctionSets the format of the statistics display or
queries the current setting.
Syntax:DISPlay:SSTYle {ALL|BLOCk|WINDow}
:DISPlay:SSTYle?
Example:DISPLAY:SSTYLE ALL
:DISPLAY:SSTYLE?
→:DISPLAY:SSTYLE ALL
Description ALL or WINDow can be specified when the
measurement mode is hardware histogram and
the window mode is multi-window or auto
window. A query in this condition will return
ALL or WINDow.
ALL or BLOCk can be specified when the
measurement mode is time stamp, the block
sampling function is ON and the statistics of the
time variation are being displayed. A query in
this condition will return ALL or BLOCk.
This command cannot be issued for conditions
other than those specified above.
DISPlay:STATistic
FunctionTurns ON/OFF the statistics display during the
histogram or time variation display or queries
the current setting.
Syntax:DISPlay:STATistic {<Boolean>}
:DISPlay:STATistic?
Example:DISPLAY:STATISTIC ON
:DISPLAY:STATISTIC?
→:DISPLAY:STATISTIC 1
DISPlay:WINDow
FunctionSets the window to display or queries the
current setting.
Syntax:DISPlay:WINDow {ALL|SUMMation|
WINDow<x>}
:DISPlay:WINDow?
<x>=Window number (1 to number of
windows)
Example:DISPLAY:WINDOW ALL
:DISPLAY:WINDOW?
→:DISPLAY:WINDOW ALL
Description This command can be used only when the
measurement mode is set to hardware
histogram and the window is set to multiwindow or auto window.
3-24IM 704310-12E
3.6FILE Group
The commands in this group deal with file operations.
;
:FILE:FORMat<Space>NORMal,DD64
QUICk
DRIVe<Space>FD0
SCSI,<NRf>,<NRf>
CDIRector y<Space><String>
MDIRector y<Space><Filename>
FREE?
PA TH
LOAD:BINar y<Space><Filename>
DELete:BINar y<Space><Filename>
SAVE:ANAMing<Space>OFF
?
;
SETup<Space><Filename>
;
BMP<Space><Filename>
TIFF<Space><Filename>
POSTscript<Space><Filename>
SETup<Space><Filename>
STATistic<Space><Filename>
TEXT<Space><Filename>
;
COMMent<Space><String>
BINar y<Space><Filename>
SETup<Space><Filename>
STATistic<Space><Filename>
TEXT<Space><Filename>
3.6 FILE Group
DD72
HD12
HD14
3
Commands
ON
<NRf>
?
?
?
?
FILE?
FunctionQueries all settings related to files.
Syntax:FILE?
Example:FILE?
→:FILE:DRIVE FD0;SAVE:ANAMING 1;
COMMENT "SAMPLE"
FILE:CDIRectory
FunctionChanges the current directory.
Syntax:FILE:CDIRectory <string>
Example:FILE:CDIRECTORY "NO_1"
3-25IM 704310-12E
3.6 FILE Group
FILE:DELete:BINary
FunctionDeletes the binary measurement data file.
Syntax:FILE:DELete:BINary <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:BINARY "TRASH"
FILE:DELete:BMP
FunctionBMP Deletes the screen image file.
Syntax:FILE:DELete:BMP <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:BINARY "TRASH"
FILE:DELete:POSTscript
FunctionDeletes the post script screen image file.
Syntax:FILE:DELete:POSTscript <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:POSTSCRIPT "TRASH"
FILE:DELete:SETup
FunctionDeletes the setup information data file.
Syntax:FILE:DELete:SETup <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:SETUP "TRASH"
FILE:DELete:STATistic
FunctionDeletes the statistics data file.
Syntax:FILE:DELete:STATistic <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:STATISTIC "TRASH"
FILE:DELete:TIFF
FunctionDeletes the TIFF screen image file.
Syntax:FILE:DELete:TIFF <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:TIFF "TRASH"
FILE:DELete:TEXT
FunctionDeletes the text measurement data file.
Syntax:FILE:DELete:TEXT <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:DELETE:TEXT "TRASH"
FILE:DRIVe
FunctionSets the drive.
Syntax:FILE:DRIVe {FD0|SCSI,<NRf>[,<NRf>]}
First <NRf>=SCSI address (0 to 7),
second <NRf>=partition (1 to 5)
Example:FILE:DRIVE FD0
Description Omit the second <NRf> when the drive has no
partitions set.
FILE:FORMat
FunctionFormats the floppy disk.
Syntax:FILE:FORMat {NORMal,(DD64|DD72|HD12|
HD14)|QUICk}
ExampleFILE:FORMAT NORMAL,HD14
FILE:FREE?
FunctionQueries the drive free space in number of
bytes.
Syntax:FILE:FREE?
Example:FILE:FREE?
→163840
FILE:LOAD:BINary
FunctionLoads the binary measurement data.
Syntax:FILE:LOAD:BINary <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:LOAD:BINARY "TARGET"
FILE:LOAD:SETup
FunctionLoads the setup information data.
Syntax:FILE:LOAD:SETup <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:LOAD:SETUP "TARGET"
FILE:MDIRectory
FunctionCreates a directory.
Syntax:FILE:MDIRectory <string>
<string>="dirctory_name" (8 characters
or less, see User’s Manual for
TA520)
Example:FILE:MDIRECTORY "NEW"
FILE:PATH?
FunctionQueries the current directory.
Syntax:FILE:PATH <string>
:FILE:PATH?
Example:FILE:PATH?
→"_USER1"
3-26IM 704310-12E
3.6 FILE Group
FILE:SAVE?
FunctionQueries all settings related to saving the file.
Syntax:FILE:SAVE?
Example:FILE:SAVE?
→:FILE:SAVE:ANAMING 0;COMMENT "SAMPLE"
FILE:SAVE:ANAMing
FunctionTurns ON/OFF the auto naming function for
saving files or queries the current setting.
Syntax:FILE:SAVE:ANAMing <Boolean>
:FILE:SAVE:ANAMing?
Example:FILE:SAVE:ANAMING ON
:FILE:SAVE:ANAMING?
→:FILE:SAVE:ANAMING 1
FILE:SAVE:BINary
FunctionSaves the measured data in binary format.
Syntax:FILE:SAVE:BINary <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:SAVE:BINARY "TARGET"
FILE:SAVE:COMMent
FunctionSets a comment in the top left corner of the
screen or queries the current setting.
Syntax:FILE:SAVE:COMMent <string>
:FILE:SAVE:COMMent?
<string>="comment" (25 characters or
less, see the User’s Manual for
TA520)
Example:FILE:SAVE:COMMENT "SAMPLE"
:FILE:SAVE:COMMENT?
→:FILE:SAVE:COMMENT "SAMPLE"
FILE:SAVE:TEXT
FunctionSaves the measured data in text format.
Syntax:FILE:SAVE:TEXT <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:SAVE:TEXT "TARGET"
3
Commands
FILE:SAVE:SETup
FunctionSaves the setup information data.
Syntax:FILE:SAVE:SETup <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:SAVE:SETUP "TARGET"
FILE:SAVE:STATistic
FunctionSaves the statistical data.
Syntax:FILE:SAVE:STATistic <string>
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:FILE:SAVE:STATISTIC "TARGET"
3-27IM 704310-12E
3.7 HCOPy Group
3.7HCOPy Group
The commands in this group deal with the output of screen image data.
;
:HCOPy:
EXECute
DEVice<Space>PRINter
MEDia
?
FORMat<Space>BMP
TIFF
POSTscript
?
COMPression<Space>OFF
ON
<NRf>
?
TONE<Space>BW
GRAY
COLor
RCOLor
?
FILename<Space><Filename>
?
ANAMing<Space>OFF
ON
<NRf>
?
COMMent<Space><String>
?
ABORt
?
HCOPy?
FunctionQueries all settings related to the output of the
screen image data.
Syntax:HCOPy?
Example:HCOPY?
→:HCOPY:DEVICE PRINTER;COMMENT "SAMPLE"
HCOPy:ANAMing
FunctionTurns ON/OFF the auto naming function for
saving the screen image to files or queries the
current setting.
Syntax:HCOPy:ANAMing <Boolean>
:HCOPy:ANAMing?
Example:HCOPY:ANAMING ON
HCOPy:ABORt
FunctionAborts the hard copy.
:HCOPY:ANAMING?
→:HCOPY:ANAMING 1
Syntax:HCOPy:ABORt
Example:HCOPY:ABORT
3-28IM 704310-12E
3.7 HCOPy Group
HCOPy:COMMent
FunctionSets a comment in the top left corner of the
screen or queries the current setting.
Syntax:HCOPy:COMMent <string>
:HCOPy:COMMent?
<string>="comment" (25 characters or
less, see the User’s Manual for
TA520)
Example:HCOPY:COMMENT "SAMPLE"
:HCOPY:COMMENT?
→:HCOPY:COMMENT "SAMPLE"
HCOPy:COMPression
FunctionTurns ON/OFF the compression when saving
the screen image in BMP or TIFF format or
queries the current setting.
Syntax:HCOPy:COMPression <Boolean>
:HCOPy:COMPression?
Example:HCOPY:COMPRESSION ON
:HCOPY:COMPRESSION?
→:HCOPY:COMPRESSION 1
HCOPy:DEVice
FunctionSets the output destination of the screen image
or queries the current setting.
Syntax:HCOPy:DEVice {PRINter|MEDia}
:HCOPy:DEVice?
Example:HCOPY:DEVICE PRINTER
:HCOPY:DEVICE?
→:HCOPY:DEVICE PRINTER
HCOPy:TONE
FunctionSets the color for saving the screen image or
queries the current setting.
Syntax:HCOPy:TONE {BW|GRAY|COLor|RCOLor}
Example:HCOPY:TONE BW
:HCOPY:TONE?
→:HCOPY:TONE BW
3
Commands
HCOPy[:EXECute]
FunctionExecutes a hard copy of the screen image.
Syntax:HCOPy[:EXECute]
Example:HCOPY:EXECUTE
HCOPy:FILename
FunctionSets the name of the file in which to save the
screen image or queries the current setting.
Syntax:HCOPy:FILename <string>
:HCOPy:FILename?
<string>="filename" (8 characters or
less, see User’s Manual for
TA520)
Example:HCOPY:FILENAME "KEEP"
:HCOPY:FILENAME?
→:HCOPY:FILENAME "KEEP"
HCOPy:FORMat
FunctionSets the format of the file in which to save the
screen image or queries the current setting.
Syntax:HCOPy:FORMat {BMP|TIFF|POSTscript}
Example:HCOPY:FORMAT BMP
:HCOPY:FORMAT?
→:HCOPY:FORMAT BMP
3-29IM 704310-12E
3.8 HHIStogram Group
3.8HHIStogram Group
The commands in this group deal with the histogram settings of the hardware histogram mode.
;
:HHIStogram:MODE<Space>SINGle
MULTi
AUTO
?
;
VERTical:AXIS<Space>LINear
LOGarithmic
?
HIGH<Space><NRf>
?
?
;
MARKer:STAT e<Space>OFF
ON
<NRf>
?
LOW<Space><NRf>
?
?
;
SINGle:TVALue<Space>
HORizontal:CENTer<Space>
MARKer:LEFT<Space>
<Time>
?
;
SPAN<Space>
;
RIGHt<Space>
LV ALue?
RVALue?
?
?
<Time>
?
<Time>
?
?
<Time>
?
<Time>
?
3-30IM 704310-12E
;
AUTO:MODulation<Space>EFM
EFMPlus
M1TO7
?
TTYPe<Space>MEASured
ESTimated
?
?
;
MULTi:SIZE<Space><NRf>
?
UPDate
TVALue<Space>
WINDow<x>:LABel<Space><NRf>
<Time>
?
;
?
;
HORizontal:CENTer<Space>
SPAN<Space>
;
MARKer:LEFT<Space>
RIGHt<Space>
LV ALue?
RVALue?
?
?
?
?
3.8 HHIStogram Group
3
Commands
<Time>
?
<Time>
?
?
<Time>
?
<Time>
?
HHIStogram?
FunctionQueries all settings related to the histogram
display during the hardware histogram mode.
Syntax:HHIStogram?
Example:HHISTOGRAM?
→:HHISTOGRAM:MODE SINGLE;VERTICAL:
AXIS LINEAR;HIGH1.0E+03;:HHISTOGRAM:
MARKER:STATE 1;LOW 0.1E+03;:HHISTOGRAM:
SINGLE:TVALUE 100.000E-09;HORIZONTAL:
CENTER 150.000E-06;SPAN 0.3E-6;:
HHISTOGRAM:SINGLE:MARKER:
LEFT 100.000E-09;RIGHT 200.000E-09
HHIStogram:AUTO?
FunctionQueries all settings related to the auto window
The commands in this group deal with the measurement condition settings.
;
:MEASure:MODE<Space>TSTamp
HHIStogram
?
FUNCtion<Space>PERiod,A
PWIDth
TI
?
POLarity<Space>POSitive
NEGative
BOTH
?
SLOPe<Space>RISE,RISE
FALL
?
?
3.10 MEASure Group
3
Commands
B
AB
FALLBOTH
MEASure?
FunctionQueries all settings related to the measurement
conditions.
Syntax:MEASure?
Example:MEASURE?
→:MEASURE:MODE HHISTOGRAM;
FUNCTION PERIOD,A;SLOPE RISE
MEASure:FUNCtion
FunctionSets the measurement function or queries the
current setting.
Syntax:MEASure:FUNCtion {PERiod|PWIDth|TI},{A|
B|AB}
:MEASure:FUNCtion?
Example:MEASURE:FUNCTION PERIOD,A
:MEASURE:FUNCTION?
→:MEASURE:FUNCTION PERIOD,A
Description A or B can be specified for the second
parameter when measuring the period or pulse
width. AB can only be specified when
measuring the time interval.
MEASure:MODE
FunctionSets the sampling mode or queries the current
setting.
Syntax:MEASure[:MODE] {TSTamp|HHIStogram}
:MEASure:MODE?
Example:MEASURE:MODE HHISTOGRAM
:MEASURE:MODE?
→:MEASURE:MODE HHISTOGRAM
MEASure:POLarity
FunctionSets the polarity during the pulse width
measurement or queries the current setting.
Syntax:MEASure:POLarity {POSitive|NEGative|
BOTH}
:MEASure:POLarity?
Example:MEASURE:POLARITY POSITIVE
:MEASURE:POLARITY?
→:MEASURE:POLARITY POSITIVE
MEASure:SLOPe
FunctionSets or queries the slope during period or time
interval measurement.
Syntax:MEASure:SLOPe [{RISE|FALL|BOTH},]{RISE|
FALL}
:MEASure:SLOPe?
Example
Description RISE or FALL can be specified for the first
For period measurements
:MEASURE:SLOPE RISE
:MEASURE:SLOPE?
→:MEASURE:SLOPE RISE
For time interval measurements
:MEASURE:SLOPE BOTH,RISE
:MEASURE:SLOPE?
→:MEASURE:SLOPE BOTH,RISE
parameter and none for the second parameter
when measuring the period.
When measuring the time interval, RISE, FALL,
or BOTH can be specified for the first
parameter and RISE or FALL for the second
parameter.
3-39IM 704310-12E
3.11 MEMory Group
3.11 MEMory Group
The commands in this group deal with the transmission of the measured data to external devices.
;
:MEMor y:FORMat<Space>ASCii
BINar y
?
BYTeorder<Space>LSBFirst
MSBFirst
?
DATaselect<Space>FREQuency
MEASuredata
TSTamp
?
STARt<Space>
END<Space>
BLOCk
<Space>
<Time>
<NRf>
?
<Time>
<NRf>
?
<NRf>
?
SIZE
SEND
CLEar
?
MEMory?
FunctionQueries all settings related to the transmission
of the measured data to external devices.
Syntax:MEMory?
?
?
MEMory:CLEar
FunctionClears the measured data.
Syntax:MEMory:CLEar
ExampleMEMORY:CLEAR
Example:MEMORY?
→:MEMORY:DATASELECT FREQUENCY;
FORMAT ASCII;BYTEORDER LSBFIRST;
START 0.000E-09;END 1.000E-09;BLOCK 1
MEMory:DATaselect
FunctionSets the data to transmit or queries the current
setting.
Syntax:MEMory:DATaselect {TSTamp|MEASuredata|
MEMory:BLOCk
FunctionSets the block during block sampling or queries
the current setting.
Syntax:MEMory:BLOCk <NRf>
:MEMory:BLOCk?
Example:MEMORY:BLOCK 1
:MEMORY:BLOCK?
→:MEMORY:BLOCK 1
Example:MEMORY:DATASELECT TSTAMP
Description If time stamp (TSTamp) is specified when the
FREQuency}
:MEMory:DATaselect?
:MEMORY:DATASELECT?
→:MEMORY:DATASELECT TSTAMP
measurement mode is set to histogram or
frequency (FREQuency) is specified when the
mode is set to time stamp, an error occurs
MEMory:BYTeorder
when executing the MEMory:SEND?command.
FunctionSets the transmission byte order of the binary
data or queries the current setting.
Syntax:MEMory:BYTeorder {LSBFirst|MSBFirst}
:MEMory:BYTeorder?
Example:MEMORY:BYTEORDER LSBFIRST
:MEMORY:BYTEORDER?
→:MEMORY:BYTEORDER LSBFIRST
3-40IM 704310-12E
3.11 MEMory Group/3.12 RECall Group
MEMory:END
FunctionSets the data to transmit or queries the current
setting.
Syntax:MEMory:END <NRf>
:MEMory:END?
During time stamp mode, <NRf>=Number of
points(1 to 512,000)
During hardware histogram mode,
<Time>= -3.5 ns to 3.2 ms (in 25 ps
steps)
Example:MEMORY:END 1ns
:MEMORY:END?
→:MEMORY:END 1.000E-09
MEMory:FORMat
FunctionSets the format of the transmission data or
queries the current setting.
Syntax:MEMory:FORMat {ASCii|BINary}
:MEMory:FORMat?
Example:MEMORY:FORMAT ASCII
:MEMORY:FORMAT?
→:MEMORY:FORMAT ASCII
MEMory:SEND?
FunctionQueries (transmits) the measured data
specified with the "MEMory:DATaselect"
command.
Syntax:MEMory:SEND?
Example:MEMORY:SEND?
→#800000016abcdabceabcfabcg
Description • When the transmission format is ASCII, the
response data in <NR3> format are output
the number of times equal to the number of
data points separated by commas (,). When
the format is BINARY, a single block of data
is output.
• The conversion equation from the binary data
to the real number is as follows:
For hardware histogram mode
Frequency (FREQuency):
Stored as an unsigned four-byte integer
Measured data (MEASuredata):
Consider it an unsigned four-byte integer.
The measured value is this number multiplied
by 25 ps.
For time stamp mode
Frequency (FREQuency):
Frequency cannot be output directly in the
time stamp mode.
Measured data (MEASuredata):
Consider it an unsigned four-byte integer.
The measured value is this number multiplied
by 25 ps.
Time stamp value (TSTamp):
Consider it an unsigned four-byte integer.
The time stamp value is this number
multiplied the following times.
When the sampling interval is 0 (MINimum)
:100 ns
When the sampling interval is 1 µs or longer
:1 µs
MEMory:SIZE?
FunctionQueries the number of measured data points.
Syntax:MEMory:SIZE?
Example:MEMORY:SIZE?
→10000
Description [NAN] is returned when the sampling mode is set
to hardware histogram.
MEMory:STARt
FunctionSets the data position of the start of the
transmission or queries the current setting.
Syntax:MEMory:STARt <NRf>
:MEMory:STARt?
During time stamp mode, <NRf>=Number of
points(1 to 512,000)
During hardware histogram mode,
<Time>= -3.5 ns to 3.2 µs (in 25 ps
steps)
Example:MEMORY:START 1ns
:MEMORY:START?
→:MEMORY:START 1.000E-09
3
Commands
3.12 RECall Group
:RECall<Space><NRf>
RECall
FunctionRecalls the setup information.
SyntaxRECall <NRf>
<NRf>=0 to 9
ExampleRECALL 0
3-41IM 704310-12E
3.13 SAMPle Group
3.13 SAMPle Group
The commands in this group deal with the sampling condition settings.
;
;
:SAMPle:ARMing:SOURce<Space>AUTO
EXTernal
?
SLOPe<Space>RISE
FALL
?
;
DELay:MODE<Space>TIME
TIME<Space>
EVENtsiz e<Space><NRf>
;
EVENt
OFF
?
<Time>
?
?
?
?
BLOCk:STAT e<Space>OFF
ON
<NRf>
?
SIZE<Space><NRf>
?
;
REST:MODE<Space>OFF
EVENt<Space><NRf>
TIME<Space>
EVENt
TIME
?
?
<Time>
?
?
?
3-42IM 704310-12E
;
GATE:MODE<Space>EVENt
EXTernal
?
EVENtsiz e<Space><NRf>
?
TIME<Space>
POLarity<Space>POSitive
INHibit<Space>OFF
POSitive
NEGative
?
INTer val<Space>
RCLock<Space>INTernal
<Time>
MINimum
?
EXTernal
?
?
<Time>
?
NEGative
?
?
3.13 SAMPle Group
TIME
3
Commands
SAMPle?
FunctionQueries all settings related to sampling.
Syntax:SAMPle?
Example:SAMPLE?
→:SAMPLE:ARMING:MODE OFF;:SAMPLE:BLOCK:
STATE 0;:SAMPLE:GATE:MODE EVENT;
EVENTSIZE 1000;:SAMPLE:INHIBIT OFF:
RCLOCK INTERNAL
SAMPle:ARMing?
FunctionQueries all settings related to the arming
function.
Syntax:SAMPle:ARMing?
Example:SAMPLE:ARMING?
→:SAMPLE:ARMING:SOURCE EXTERNAL;
SLOPE RISE;DELAY:MODE EVENT;
EVENTSIZE 1000
SAMPle:ARMing:DELay?
FunctionQueries all settings related to the arming delay.
Syntax:SAMPle:ARMing:DELay?
Example:SAMPLE:ARMING:DELAY?
→:SAMPLE:ARMING:DELAY:MODE EVENT;
EVENTSIZE 1000
SAMPle:ARMing:DELay:EVENtsize
FunctionSets the arming delay event or queries the
FunctionSets the transition filter or queries the current
setting.
Syntax:STATus:FILTer<x> {RISE|FALL|BOTH|
NEVer}
:STATus:FILTer<x>?
<x>=1 to 16
Example:STATUS:FILTER2 RISE
:STATUS:FILTER2?
→:STATUS:FILTER2 RISE
STATus:QMESsage
FunctionSets whether or not to include the message
information in response to the
"STATus:ERRor?" command or queries the
current setting.
Syntax:STATus:QMESsage <Boolean>
:STATus:QMESsage?
Example:STATUS:QMESSAGE OFF
:STATUS:QMESSAGE?→:STATUS:QMESSAGE 0
STATus:EESR?
FunctionQueries the extended event register and clears
the register.
Syntax:STATus:EESR?
Example:STATUS:EESR?→1
3-47IM 704310-12E
3.18 STOP Group/3.19 STORe Group/3.20 SYSTem Group
3.18 STOP Group
:STOP
STOP
FunctionStops the measurement.
Syntax:STOP
Example:STOP
3.19 STORe Group
:STORe<Space><NRf>
STORe
FunctionStores the current setup information.
Syntax:STORe <NRf>
<NRf>=0 to 9
Example:STORE 0
3.20 SYSTem Group
The commands in this group deal with the system settings such as date and time.
;
:SYSTem:DATE<Space><String>
<NRf>,<NRf>,<NRf>
?
TIME<Space><String>
<NRf>,<NRf>
?
BEEP<Space>OFF
ON
<NRf>
?
CLICksound<Space>OFF
ON
<NRf>
?
HDDMotor
WARNing
<Space>OFF
ON
<NRf>
?
<Space>OFF
ON
<NRf>
?
?
SYSTem?
FunctionQueries all settings related to the SYSTem
group.
SyntaxSYSTem?
Example:SYSTEM?
→:SYSTEM:BEEP 1:CLICKSOUND 1;HDDMOTOR 1
SYSTem:BEEP
FunctionTurns ON/OFF the beep sound or queries the
current setting.
Syntax:SYSTem:BEEP <Boolean>
Example:SYSTEM:BEEP ON
:SYSTEM:BEEP?
→:SYSTEM:BEEP 1
3-48IM 704310-12E
SYSTem:CLICksound
FunctionTurns ON/OFF the click sound or queries the
current setting.
Syntax:SYSTem:CLICksound <Boolean>
Example:SYSTEM:CLICKSOUND ON
:SYSTEM:CLICKSOUND?
→:SYSTEM:CLICKSOUND 1
3.20 SYSTem Group
SYSTem:DATE
FunctionSets today's date or queries the current setting.
Syntax:SYSTem:DATE {<string>|,<NRf>,<NRf>,
<NRf>}
:SYSTem:DATE?
Example:SYSTEM:DATE "1999/01/01"
:SYSTEM:DATE?
→"1999/01/01"
Description The <String> must be in the form [Year(4
digits)/Month(2 digits)/Date(2 digits)] as shown
above. For <NRf> format, write year, month,
date in that order.
SYSTem:HDDMotor
FunctionTurns ON/OFF the HDD motor while waiting or
queries the current setting.
Syntax:SYSTem:HDDMotor <Boolean>
Example:SYSTEM:HDDMOTOR ON
:SYSTEM:HDDMOTOR?
→:SYSTEM:HDDMOTOR 1
SYSTem:TIME
FunctionSets the current time or queries the current
setting.
Syntax:SYSTem:TIME {<string>|,<NRf>,<NRf>}
:SYSTem:TIME?
Example:SYSTEM:TIME "12:00"
:SYSTEM:TIME?
→"12:00:00"
Description The <String> must be in the form [Hour(2
digits)/Minute(2 digits)] as shown above. For
<NRf> format, write hour and minute in that
order. The response to the query will also
include a value for the number of seconds.
3
Commands
SYSTem:WARNing
FunctionTurn ON/OFF the warning display or queries
the current setting.
Syntax:SYSTem:WARNing <Boolean>
:SYSTem:WARNing?
Example:SYSTEM:WARNING ON
:SYSTEM:WARNING?
→:SYSTEM:WARNING 1
3-49IM 704310-12E
3.21 THIStogram Group
3.21 THIStogram Group
The commands in this group deal with the histogram settings of the time stamp mode.
;
;
:THIStogram:MARKer:STAT e<Space>OFF
ON
<NRf>
?
LEFT<Space>
RIGHt<Space>
LV ALue?
RVALue?
LOW<Space><NRf>
;
ISI:S TAT e<Space>OFF
MODE<Space>SINGle
POLarity<Space>SPACe
TRIGg er<Space>SPACe
SPACe<x><Space><NRf>
MARK<x><Space><NRf>
<Time>
?
<Time>
?
?
?
ON
<NRf>
?
COMBination
BETWeen
?
MARK
?
MARK
STOMark
MTOSpace
STOSpace
MTOMark
?
?
?
3-50IM 704310-12E
TARGet<Space>PREVious
BOTH
?
SIZE<Space><NRf>
?
UPDate
TVALue<Space>
WINDow<x>:LABel<Space><NRf>
;
VERTical:AXIS<Space>LINear
HIGH<Space><NRf>
;
HORizontal:CENTer<Space>
SPAN<Space>
<Time>
?
LOGarithmic
?
?
?
<Time>
?
<Time>
?
?
?
NEXT
;
?
;
HORizontal:CENTer<Space>
SPAN<Space>
;
MARKer:LEFT<Space>
RIGHt<Space>
?
3.21 THIStogram Group
3
Commands
<Time>
?
<Time>
?
?
<Time>
?
<Time>
?
?
?
3-51IM 704310-12E
3.21 THIStogram Group
THIStogram?
FunctionQueries all settings related to the histogram of
the time stamp mode.
Syntax:THIStogram?
Example:THISTOGRAM?
→:THISTOGRAM:MARKER:LEFT 100.000E-09;
RIGHT 200.000E-09;LOW 0.1E+03;:
THISTOGRAM:ISI:STATE 0;:THISTOGRAM:
VERTICAL:AXIS LINEAR;HIGH 1.0E+03;:
THISTOGRAM:HORIZONTAL:
CENTER 150.000E-09;SPAN 0.3E-06
THIStogram:HORizontal?
FunctionQueries all settings related to the horizontal
axis of the histogram of the time stamp mode.
Syntax:THIStogram:HORizontal?
Example:THISTOGRAM:HORIZONTAL?
→:THISTOGRAM:HORIZONTAL:
CENTER 150.000E-09;SPAN 0.3E-06
THIStogram:HORizontal:CENTer
FunctionSets the center value of the horizontal axis or
MTOSpace, MARK1 can be specified. For
STOMark, only MARK2 can be specified. For
MTOMark, both MARK1 and MARK2 can be
specified. For all other cases, MARK<x>
cannot be specified.
THIStogram:ISI:MODE
FunctionSets the trigger mode or queries the current
setting.
Syntax:THIStogram:ISI:MODE {SINGle|
COMBination|BETWeen}
:THIStogram:ISI:MODE?
Example:THISTOGRAM:ISI:MODE SINGLE
:THISTOGRAM:ISI:MODE?
→:THISTOGRAM:ISI:MODE SINGLE
THIStogram:ISI:POLarity
FunctionSets the polarity or queries the current setting.
Syntax:THIStogram:ISI:POLarity {MARK|SPACe}
:THIStogram:ISI:POLarity?
Example:THISTOGRAM:ISI:POLARITY MARK
:THISTOGRAM:ISI:POLARITY?
→:THISTOGRAM:ISI:POLARITY MARK
THIStogram:ISI:SIZE
FunctionSets the number of windows or queries the
current setting.
Syntax:THIStogram:ISI:SIZE <NRf>
:THIStogram:ISI:SIZE?
<NRf>=1 to 16
Example:THISTOGRAM:ISI:SIZE 10
:THISTOGRAM:ISI:SIZE?
→:THISTOGRAM:ISI:SIZE 10
3-52IM 704310-12E
3.21 THIStogram Group
THIStogram:ISI:SPACe<x>
FunctionSets the space or queries the current setting.
Description When the trigger condition is SPACe or
STOMark, only SPACe1 can be specified. For
MTOSpace, only SPACe2 can be specified. For
STOSpace, both SPACe1 and SPACe2 can be
specified. For all other cases SPACe<x>
cannot be specified.
THIStogram:ISI[:STATe]
FunctionTurns ON/OFF the inter-symbol interference
analysis function or queries the current setting.
Syntax:THIStogram:ISI[:STATe] <Boolean>
:THIStogram:ISI:STATe?
Example:THISTOGRAM:ISI:STATE ON
:THISTOGRAM:ISI:STATE?
→:THISTOGRAM:ISI:STATE ON
THIStogram:ISI:TARGet
FunctionSets the item to be analyzed or queries the
The commands in this group deal with the default units of voltage, time, and frequency.
;
:UNIT
:
VOLTage<Space>< Multiplier >V
< Multiplier >
V
?
TIME<Space>< Multiplier >
< Multiplier >
S
?
20 ns,…..,2 ms,5 ms,10 ms,20 ms
S
UNIT?
FunctionQueries the default units for voltage, time, and
frequency.
Syntax:UNIT?
Example:UNIT?
→:UNIT:FREQUENCY HZ;VOLTAGE V;TIME S
UNIT:VOLTage
FunctionSets the default unit for voltage or queries the
current setting.
Syntax:UNIT:VOLTage [<auxiliary unit>]V
:UNIT:VOLTage?
<multiplier> See section 2.4.
Example:UNIT:VOLTAGE V
:UNIT:VOLTAGE?
→:UNIT:VOLTAGE V
UNIT:TIME
FunctionSets the default unit for time or queries the
current setting.
Syntax:UNIT:TIME [<auxiliary unit>]S
:UNIT:TIME?
<multiplier> See section 2.4.
Example:UNIT:TIME s
:UNIT:TIME?
→:UNIT:TIME S
?
3-58IM 704310-12E
3.24 Common Command Group
3.24 Common Command Group
The commands in the common command group are independent of the instrument’s functions, and are specified
in IEEE 488.2-1992.
;
*
*
*
*
*
*
*
*
*
*
*
*
*
CAL
CLS
ESE
ESR
IDN
OPC
OPC
RST
SRE
STB
TRG
TST
WAI
<Space><NRf>
<Space><NRf>
?
?
?
?
?
?
?
?
3
Commands
*CAL?
FunctionPerforms calibration and queries the result.
Syntax*CAL?
Example*CAL?
Description [0] will be returned if calibration is completed
properly, and a value other than [0] will be
returned if an abnormality has been detected
during calibration.
*CLS
FunctionClears the standard event register, extended
event register and error queue.
Syntax*CLS
Example*CLS
Description For details of the registers and queue, refer to
Chapter 4, "Status Report."
*ESE
FunctionSets the value for the standard event enable
register/queries the current setting.
Syntax*ESE <NRf>
*ESE?
<NRf>=0 to 255
Example*ESE 253
*ESE?→253
Description For details of the standard event enable
register, refer to Chapter 4, "Status Report."
*ESR?
FunctionQueries the value of the standard event register
and clears it at the same time.
Syntax*ESR?
Example*ESR?→253
Description For details of the standard event enable
register, refer to Chapter 4, "Status Report."
*IDN?
FunctionQueries the instrument model.
Syntax*IDN?
Example*IDN?→YOKOGAWA,704210,0,1.01
Description A reply consists of manufacturer, model, serial
No. (not used, always fixed at [0]) and firmware
version.
*OPC
FunctionSets bit 0 (OPC bit) of the standard event
register to [1] when execution of an overlap
command is completed. This command will be
ignored even if it is sent since overlap
commands are not supported by this
instrument.
Syntax*OPC
*OPC?
FunctionAfter "*OPC?" is sent, [1] will be returned if
execution of the designated overlap command
has been completed. [1] will also be returned
since overlap commands are not supported by
this instrument.
Syntax*OPC?
3-59IM 704310-12E
3.24 Common Command Group
*RST
FunctionInitializes the set-up information.
Syntax*RST
Example*RST
Description The same function can be performed by
displaying initialize menu and pressing
[Execute] soft key. For details, refer to the
TA520 Time Interval Analyzer User's Manual.
*SRE
FunctionSets the value of the service request enable
register/queries the current setting.
Syntax*SRE <NRf>
*SRE?
<NRf>=0 to 255
Example*SRE 239
*SRE?→239
*STB?
FunctionQueries the value of the status byte register.
Syntax*STB?
Example*STB?→4
Description For details of the status byte register, refer to
Chapter 4, "Status Report."
*TRG
FunctionThe same function as when the SINGLE key is
pressed is performed.
Syntax*TRG
Description GET (Group Execute Trigger) multi-line
message has also the same effect as this
command.
*TST?
FunctionExecutes a self-test and queries the test result.
Syntax*TST?
Example*TST?→0
Description • The same function can be performed by
selecting [Board] from the self-test menu.
•[0] will be returned if all the self test results
are satisfactory, and a value other than [0]
will be returned if an abnormality is detected
during the test.
*WAI
FunctionWaits for the command following "*WAI" until
execution of the designated overlap command
is completed. This command will be ignored
even if it is sent since overlap commands are
not supported by this instrument.
Syntax*WAI
3-60IM 704310-12E
4.1 Overview of the Status Report
Chapter 4Status Report
4.1Overview of the Status Report
Status Report
The figure below shows the status report which is read by a serial poll. This is an extended version of the one
specified in IEEE 488.2-1992.
Service request Masks status byte.*SRE*SRE?
enable register
Standard event Change in device—*ESR?
registerstatus
Standard event Masks standard*ESE*ESE?
enable registerevent register
Extended event Change in device—STATus:EESR?
register status
Extended event Masks standardSTATus:EESESTATus:EESE?
enable registerevent register
ConditionCurrent instrument status —STATus:CONDition?
register
Transit filterExtended eventSTATus:FILTer STATus:FILTer<x>
occurrence conditions<x>
Output queueStores response message All executable queues
to a query.
Error queueStores error Nos.—STATus:ERRor?
and messages.
*STB?(MSS)
Registers and Queues which Affect the Status Byte
Registers which affect each bit of the status byte are
shown below.
Standard event register : Sets bit 5 (ESB) of status byte to [1] or [0].
Output queue: Sets bit 4 (MAV) of status byte to [1] or [0].
Extended event register : Sets bit 3 (EES) of status byte to [1] or [0].
Error queue: Sets bit 2 (EAV) of status byte to [1] or [0].
Enable Registers
Registers which mask a bit so that the bit does not
affect the status byte, even if the bit is set to [1], are
shown below.
Status byte: Masks bits using the service request enable register.
Standard event register : Masks bits using the standard event enable register.
Extended event register : Masks bits using the extended event enable register.
Writing/Reading from Registers
The
*ESE command is used to set bits in the standard
event enable register to [ 1] or [0], and the
*ESR? query
is used to check whether bits in that register are set to
[1] or [ 0]. For details of these commands, refer to
Chapter 3.
4.2Status Byte
Overview of Status Byte
RQS
76 ESBMAVEES EAV 10
MSS
Bits 0, 1 and 7
Not used (always
Bit 2 EAV (Error Available)
Set to [1] when the error queue is not empty, i.e. when
an error occurs. For details, refer to page 4-5.
Bit 3 EES (Extended Event Summary Bit)
Set to [1] when a logical AND of the extended event
register and the corresponding enable register is [1],
i.e. when an event takes place in the instrument. Refer
to page 4-4.
Bit 4 MAV (Message Available)
Set to "1" when the output queue is not empty, i.e.
when there is data which is to be output when an
inquiry is made. Refer to page 4-5.
Bit 5 ESB (Event Summary Bit)
Set to "1" when a logical AND of the standard event
register and the corresponding enable register is [1],
i.e. when an event takes place in the instrument. Refer
to page 4-3.
Bit 6 RQS (Request Status)/MSS (Master Summary
Status)
MSS is set to [1] when a logical AND of the status byte
(except for bit 6) and the service request enable
register is not [0], i.e. when the instrument is
requesting service from the controller.
RQS is set to [1] when MSS changes from [0] to [1],
and is cleared when a serial poll is performed or when
MSS changes to [0].
Bit Masking
To mask a bit in the status byte so that it does not
cause an SRQ, set the corresponding bit of the service
request enable register to
For example, to mask bit 2 (EAV) so that no service
will be requested, even if an error occurs, set bit 2 of
the service request enable register to [0]. This can be
done using the *SRE command. To query whether
each bit of the service request enable register is [1] or
[0], use *SRE?. For details of the *SRE command, refer
to Chapter 3.
"0")
"0".
4-2IM 704310-12E
4.2 Status Byte/4.3 Standard Event Register
Operation of the Status Byte
A service request is issued when bit 6 of the status
byte becomes [1]. Bit 6 becomes [1] when any of the
other bits becomes [1] (or when the corresponding bit
in the service request enable register becomes [1]).
For example, if an event takes place and the logical
OR of each bit of the standard event register and the
corresponding bit in the enable register is [1], bit 5
(ESB) will be set to "1". In this case, if bit 5 of the
service request enable register is [1], bit 6 (MSS) will
be set to [1], thus requesting service from the
controller.
It is also possible to check what type of event has
occurred by reading the contents of the status byte.
Reading from the Status Byte
The following two methods are provided for reading the
status byte.
• Inquiry using the *STB? query
Making an inquiry using the
*STB? query sets bit 6 to
MSS. This causes the MSS to be read. After
completion of the read-out, none of the bits in the
status byte will be cleared.
• Serial poll
Execution of a serial poll changes bit 6 to RQS. This
causes RQS to be read. After completion of the
read-out, only RQS is cleared. Using a serial poll, it
is not possible to read MSS.
Clearing the Status Byte
No method is provided for forcibly clearing all the bits
in the status byte. Bits which are cleared are shown
below.
• When an inquiry is made using the *STB? query
No bit is cleared.
• When a serial poll is performed
Only the RQS bit is cleared.
• When the *CLS command is received
When the
*CLS command is received, the status
byte itself is not cleared, but the contents of the
standard event register (which affects the bits in the
status byte) are cleared. As a result, the
corresponding bits in the status byte are cleared,
except bit 4 (MAV), since the output queue cannot
be emptied by the *CLS command. However, the
output queue will also be cleared if the
*CLS
command is received just after a program message
terminator.
4.3Standard Event Register
Overview of the Standard Event Register
6
7543210
URQ
PON
Bit 7 PON (Power ON)
Bit 7 PON (Power ON) Set to
turned ON
Bit 6 URQ (User Request)
Not used (always
Bit 5 CME (Command Error)
Set to "1" when the command syntax is incorrect.
Examples:Incorrectly spelled command name; [9]
Bit 4 EXE (Execution Error)
Set to "1" when the command syntax is correct but the
command cannot be executed in the current state.
Examples:Parameters are outside the setting
Bit 3 DDE (Device Dependent Error)
Set to "1" when execution of the command is not
possible due to an internal problem in the instrument
that is not a command error or an execution error.
Example:The circuit breaker is reset.
Bit 2 QYE (Query Error)
Set to
missing even after a query has been sent.
Examples:No response data; data is lost due to an
Bit 1 RQC (Request Control)
Not used (always
Bit 0 OPC (Operation Complete)
Set to "1" when the operation designated by the *OPC
command has been completed. Refer to Chapter 3.
Bit Masking
To mask a bit in the standard event register so that it
does not cause bit 5 (ESB) of the status byte to
change, set the corresponding bit in the standard event
enable register to "0".
For example, to mask bit 2 (QYE) so that ESB will not
be set to "1", even if a query error occurs, set bit 2 of
the standard event enable register to [0]. This can be
done using the *ESE command. To inquire whether
each bit of the standard event enable register is [1] or
"0", use the *ESE?. For details of the *ESE command,
refer to Chapter 3.
CMEEXEDDEQYERQCOPC
"1" when power is
"0")
used in octal data.
range: an attempt is made to make a
hard copy during acquisition.
"1" if the output queue is empty or if the data is
overflow in the output queue.
"0")
4
Status Report
4-3IM 704310-12E
4.3 Standard Event Register/4.4 Extended Event Register
Operation of the Standard Event Register
The standard event register is provided for eight
different kinds of event which can occur inside the
instrument. Bit 5 (ESB) of the status byte is set to [1]
Reading from the Standard Event Register
ïThe contents of the standard event register can be
read by the *ESR command. After completion of the
read-out, the register will be cleared.
when any of the bits in this register becomes [1] (or
when the corresponding bit of the standard event
enable register becomes [1]).
Examples
1. A query error occurs.
2. Bit 2 (QYE) is set to [1].
3. Bit 5 (ESB) of the status byte is set to [1] if bit 2 of
the standard event enable register is [1].
Clearing the Standard Event Register
The standard event register is cleared in the following
three cases.
• When the contents of the standard event register
are read using
*ESR?
• When the *CLS command is received
• When power is turned ON again
It is also possible to check what type of event has
occurred inside the instrument by reading the contents
of the standard event register.
4.4Extended Event Register
The extended event register indicates changes in the device's internal condition register as detected
through the transition filters.
FILTer<x>→
Condition register
:STATus:CONDition?
16
15
7543210
8
9
10
11
12
13
14
TST
ACS
HCP
INI
ASC
0
0
0
RTF
675432189101112131415
6
ETF MTF SOV TOV DOV DATCAL
Transition filter
:STATus:FILTer<x>
{RISE|FALL|BOTH|NEVer}
Extended event register
:STATus:EESR?
6754321089101112131415
675438910111213
2
014151
The states indicated by the condition register are as follows.
Bit 0Dat (Data Available)Set to "1" when measured data or computed result is valid.
Bit 1Dov (Data Overflow)Set to "1" when measured data overflows.
Bit 2Tov (Time Stamp Overflow)Set to "1" when time stamp data overflows.
Bit 3SOV (Sample Overflow)Set to "1" when the number of measured samples is exceeded.
Bit 4MTF (Measured T Failure)Set to "1" when the measurement of Measured T fails.
Bit 5ETF (Estimated T Failure)Set to "1" when the measurement of Estimated T fails.
Bit 6RTF (Rest Time Failure)Set to "1" when the pause time of block sampling is less than 500 ns.
Bit 8CAL (Calibration)Set to "1" during calibration.
Bit 9TST (Testing)Set to "1" during self-test.
Bit 10ACS (Accessing)Set to "1" while accessing the medium.
Bit 11HCP (Hard-Copying)Set to "1" during the hard copy operation.
Bit 12INI (Initializing)Set to "1" during initialization.
Bit 13ASC (Auto Scaling)Set to "1" during auto scaling.
The transition filter parameters determine change of each bit (suffix 1 to 16) in the condition register and set
the corresponding bit of the extended event register as shown below.
RISESets the extended event register bit to [1] when the condition register bit changes from [0] to [1].
FALLSets the extended event register bit to [1] when the condition register bit changes from [1] to [0].
BOTHSets the extended event register bit to [1] when the condition register bit changes from [0] to [1] or from [1] to [0].
NEVerThe extended event register bit is fixed at [0].
4-4IM 704310-12E
4.5Output Queue and Error Queue
Overview of the Output Queue
The output queue is provided to store response
messages to queries. For example, when the
WAVeform:SEND? query is sent to request output of the
acquired waveform, the response data will be stored in
the output queue until it is read out.
The example below shows that data is stored record
by record in the output queue, and is read out oldest
item first, newest item last. The output queue is
emptied in the following cases (in addition to when
read-out is performed).
• When a new message is received from the controller
• When dead lock occurs (page 2-2)
• When a device clear command (DCL or SDC) is
received
• When power is turned ON again
The output queue cannot be emptied using the
command. To see whether the output queue is empty
or not, check bit 4 (MAV) of the status byte.
*CLS
4.5 Output Queue and Error Queue
4
Status Report
D2
D1
Overview of the Error Queue
The error queue stores the error No. and message
when an error occurs. For example, when the built-in
battery has run out, an error occurs and its error No.
(901) and message "Backup Failure " will be stored in
the error queue.
The contents of the error queue can be read using the
STATus:ERRor? query. As with the output queue,
messages are read oldest first, newest last (refer to the
previous page).
If the error queue becomes full, the final message will
be replaced by message 350, "Queue overflow ".
The error queue is emptied in the following cases (in
addition to when read-out is performed).
• When the
• When power is turned ON again
To see whether the error queue is empty or not, check
bit 2 (EAV) of the status byte.
*CLS command is received
D1D2
D1
4-5IM 704310-12E
Chapter 5Sample Program
5.1Before Writing the Program
Environment
PC: IBM PC/AT compatible (using the AT-GPIB/TNT IEEE-488.2 board by
National Instruments)
Language : Quick-BASIC
Instrument Settings
Address 1
All sample programs in this chapter use address 1 for the instrument. Therefore, set the
GP-IB address of the instrument to 1 according to the procedures described on page 1-
440Query UNTERMINATED afterThe request order is not correct.
indefinite responseDo not enter a query after the *IDN? and *OPT? commands.
Check the transmission/reception order.
Abort the transmission.
Limit the length of the program messages to 1024 bytes
including <PMT>.
Error in Execution (600 to 899)
See User’s Manual IM704310-01E.
Error in System Operation (912 to 915)
Code MessageActionReference Page
912Fatal error in Communication-Communication driver error occurred.
driverServicing is required.
914A communication time-out hasCommunication timeout error occurred.
occurredMake sure to receive the data within the timeout time.
The communication line may be malfunctioning.
Other (350)
Code MessageActionReference Page
350Queue overflowRead out the error queue.4-5
Note
Code 350 indicates overflow of error queue. This code is returned as a response to the
"STATus:ERRor?" query; it does not appear on the screen.
App-4IM 704310-12E
Appendix 3 Overview of IEEE 488.2-1992
Appendix 3 Overview of IEEE 488.2-
1992
The GP-IB interface provided with this instrument
conforms to IEEE 488.2-1992. This standard requires
the following 23 points be stated in this document. This
appendix describes these points.
(1)Subsets supported by IEEE 488.1 interface
functions
Refer to the specifications on page 1-3.
(2)Operation of device when the device is assigned
to an address other than one of the addresses 0
to 30
This instrument does not allow assignment to an
address other than 0 to 30.
(3)Reaction when the user initializes address
settings.
Change of the current address is acknowledged
when a new address is set using the UTILITY key
menu (GP-IB menu). The newly set address is valid
until another new address is set.
(4)Device set-up at power ON. Commands which
can be used at power ON
Basically, the previous settings (i.e. the settings
which were valid when power was turned OFF) are
valid.
All commands are available at power ON.
(5)Message transmission options
(a) Input buffer size and operation
The input buffer
(b)Types of queries which return multiple
response messages
Refer to the examples of each command in
Chapter 3.
(c) Types of queries which generate response
data during analysis of the syntax
Every query generates response data when
analysis of the syntax is performed.
(d)Types of queries which generate response
data during reception
No query generates response data when it is
received by the controller.
(e) Types of commands which have pairs of
parameters.
Refer to the examples of each command in
Chapter 3.
's capacity is 1024 bytes.
(6)List of function elements which configure
commands used for the device. All those which
are included in elements of composite
command program headers
Refer to Chapter 2 and 3.
(7)Buffer size that affects the transmission of block
data
The buffer size of the block data is 64 KB.
(8)List of program data elements which can be
used in equations and nesting limit
Cannot be used.
(9)Syntax of response data to queries
Refer to the examples of each command in Chapter
3.
(10)
Communication between devices that does not
follow the response syntax
There are none.
(11)
Size of data block of response data
0 to 128004 bytes
(12)
List of supported common commands
Refer to 3.24 Common Command Group.
(13)
Condition of device when calibration is
successfully completed
Same state as before calibration. Measuring ended,
the datas before calibration are invalid datas.
(14)
Maximum length of block data which can be
used for definition of trigger macro when
used
*DDT is not supported.
(15)
Maximum length of macro label if macro
definition is used; maximum length of block data
which can be used for definition of macro;
processing when recursion is used in definition of
macro
Macro functions are not supported.
(16)
Response to *IDN?
Refer to 3.24 Common Command Group.
(17)
Size of storage area for protected user data if
PUD and *PUD? are used.
*PUD and *PUD? are not supported.
(18)
Length of resource name if *RDT and *RDT? are
used.
*RDT and *RDT? are not supported.
(19)
Change in status if *RST, *LRN?, *RCL and *SAV
are used.
*RST
Refer to 3.24 Common Command Group.
*LRN?, *RCL, *SAV
These commands are not supported.
*DDT is
App
Appendix
App-5IM 704310-12E
Appendix 3 Overview of IEEE 488.2-1992
(20)
Scope of the self-test using *TST?
The test covers the same items as the Board test in
the Selftest menu of the UTILITY key.
(21)
Structure of extended return status
Refer to chapter 4.
(22)
To find out whether each command is performed
in parallel or sequentially
Refer to 2.5 Synchronization with the Controller, or
chapter 3.
(23)
Functions performed until a message indicating
completion of the command is displayed
Refer to the function description of each command
in chapter 3, and to the User