YOKOGAWA TA720 User Manual

Time Interval Analyzer Communication Interface
IM 704510-17E
1st Edition

Foreword

Notes
Thank you for purchasing the YOKOGAWA TA720 Time Interval Analyzer. This Communication Interface User’s Manual describes the functions of the communication interface and command communications. To ensure correct use, please read this manual thoroughly before beginning operation. After reading the manual, keep it in a convenient location for quick reference whenever a question arises during operation of the software. The following manual is also provided in addition to this manual. Read them along with this manual.
Manual Title Manual No. Description
TA720 User’s Manual IM 704510-01E Explains all functions and procedures of the
TA720 excluding the command communication functions.
• The contents of this manual are subject to change without prior notice as a result of continuing improvements to 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 dealer as listed on the back cover of this manual.
• Copying or reproducing all or any part of the contents of this manual without the permission of Yokogawa Electric Corporation is strictly prohibited.
• The TCP/IP software of this product and the document concerning the TCP/IP software have been developed/created by YOKOGAWA based on the BSD Networking Software, Release 1 that has been licensed from California University.
Trademarks
Revisions
• Microsoft, MS-DOS, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
• Adobe, Acrobat, and PostScript are trademarks of Adobe Systems Incorporated.
• For purposes of this manual, the TM and ® symbols do not accompany their respective trademark names or registered trademark names.
• Other company and product names are trademarks or registered trademarks of their respective companies.
1st Edition: September 2002
Disk No. HF16 1st Edition : September 2002 (YK) All Rights Reserved, Copyright © 2002 Yokogawa Electric Corporation
IM 704510-17E
i

How to Use This Manual

Structure of the Manual
This User’s Manual consists of the following sections:
Chapter 1 GP-IB Communication Interface
Describes the setup procedures for using the GP-IB communication interface.
Chapter 2 Ethernet Communication Interface (Option)
Describes the setup procedures for using the Ethernet communication interface.
Chapter 3 Program Syntax and Programming
Describes the program syntax and points to note when creating the programs.
Chapter 4 Commands
Describes all the commands one by one.
Chapter 5 Status Reports
Describes the status byte, various registers, queues, and other information.
Chapter 6 Sample Programs
Introduces program examples made using Visual Basic.
Appendix
Describes reference material such as an ASCII character code table.
Index
Gives an index.
Conventions Used in This Manual
• Conventions
Type Symbol Meaning
Unit k 1000 Example: 100 kHz
Symbols
• Symbols Used in the Syntax
The following table indicates symbols that are used in the syntax mainly in chapter 3. These symbols are referred to as BNF (Backus-Naur Form) symbols. For a description of the symbols used with the data (conditions and values that are written following a space after the program header), see pages 3-5 and 3-6.
Symbol Meaning Example Entry Example
<> Defined value WINDow<x> <x>=1 to 16 WINDOW2 {} Select from values given in {} MODE {AUTO|MANual} MODE AUTO | Exclusive OR MODE {AUTO|MANual} MODE AUTO [] Can be omitted :MEASure[:MODE] ... Can be repeated
K 1024 Example: 128 KB (memory size)
Note
Describes useful information.
ii IM 704510-17E

Contents

1
Foreword ......................................................................................................................................... i
How to Use This Manual .................................................................................................................ii
Chapter 1 GP-IB Communication Interface
1.1 Names and Functions of the Parts Related to GP-IB Communications ........................ 1-1
1.2 Connecting the GP-IB Cable ......................................................................................... 1-2
1.3 GP-IB Communication Capabilities and Specifications ................................................. 1-3
1.4 Settings on the TA720 ................................................................................................... 1-5
1.5 Responses to Interface Messages ................................................................................ 1-6
Chapter 2 Ethernet Communication Interface (Option)
2.1 Names and Functions of the Parts Related to Ethernet Communications..................... 2-1
2.2 Ethernet Communications Functions and Specifications............................................... 2-2
2.3 Connection Using the Ethernet Communication Interface ............................................. 2-3
2.4 Setting the TA720 .......................................................................................................... 2-4
Chapter 3 Program Syntax and Programming
3.1 Messages ...................................................................................................................... 3-1
3.2 Commands .................................................................................................................... 3-3
3.3 Responses ..................................................................................................................... 3-4
3.4 Data ............................................................................................................................... 3-5
3.5 Synchronization with the Controller ............................................................................... 3-7
2
3
4
5
6
App
Chapter 4 Commands
4.1 List of Commands .......................................................................................................... 4-1
4.2 ASCale Group................................................................................................................ 4-8
4.3 CALCulation Group........................................................................................................ 4-9
4.4 COMMunicate Group ................................................................................................... 4-25
4.5 DISPlay Group ............................................................................................................. 4-27
4.6 FILE Group .................................................................................................................. 4-31
4.7 HCOPy Group.............................................................................................................. 4-34
4.8 HHIStogram<x> and THIStogram<x> Group............................................................... 4-36
4.9 IHIStogram Group........................................................................................................ 4-45
4.10 INPut Group ................................................................................................................. 4-52
4.11 MEASure Group .......................................................................................................... 4-55
4.12 MEMory Group ............................................................................................................ 4-57
4.13 RECall Group ............................................................................................................... 4-59
4.14 SAMPle Group ............................................................................................................. 4-60
4.15 SSTart Group ............................................................................................................... 4-64
4.16 STARt Group ............................................................................................................... 4-64
4.17 STATus Group ............................................................................................................. 4-65
4.18 STOP Group ................................................................................................................ 4-66
4.19 STORe Group .............................................................................................................. 4-66
4.20 SYSTem Group ............................................................................................................ 4-67
4.21 TVARiation<x> Group .................................................................................................. 4-69
4.22 UNIT Group ................................................................................................................. 4-71
4.23 Common Command Group .......................................................................................... 4-72
Index
IM 704510-17E
iii
Contents
Chapter 5 Status Report
5.1 Overview of the Status Report ....................................................................................... 5-1
5.2 Status Byte .................................................................................................................... 5-2
5.3 Standard Event Register................................................................................................ 5-3
5.4 Extended Event Register ............................................................................................... 5-4
5.5 Output Queue and Error Queue .................................................................................... 5-5
Chapter 6 Sample Programs
6.1 Before Programming...................................................................................................... 6-1
6.2 Sample Program Image ................................................................................................. 6-1
6.3 Initialization, Error, and Functions for Execution............................................................ 6-2
6.4 Setting Measurement Parameters or Querying the Settings (for GP-IB) ....................... 6-6
6.5 Querying the Measured Statistical Values of Period Measurement (for GP-IB) ............ 6-8
6.6 Querying the Measured Statistical Values of Period A & Period B Measurement
(for GP-IB) ................................................................................................................... 6-11
6.7 Querying the Measured Data of A-to-B Time Interval Measurement (for GP-IB)......... 6-14
6.8 Setting Measurement Parameters or Querying the Settings (for Ethernet) ................. 6-17
6.9 Querying the Measured Statistical Values of Pulse Width Measurement
(for Ethernet)................................................................................................................ 6-19
Appendix
Appendix 1 ASCII Character Codes ....................................................................................App-1
Appendix 2 Error Messages ................................................................................................ App-2
Appendix 3 Overview of IEEE.488.2-1992 .......................................................................... App-4
Index
iv IM 704510-17E

1.1 Names and Functions of the Parts Related to GP-IB Communications

Chapter 1 GP-IB Communication Interface

1.1 Names and Functions of the Parts Related to GP-IB Communications
Front Panel
Remote indication appears at the upper right corner of the screen when in remote mode using communications.
LOCAL key (SHIFT+AUTO SCALE) key
Press this key to clear the remote mode (controlled via communications) and enter the local mode in which key operations are enabled.
UTILITY key
Press this key to configure communications.
S
E
T
L
E
S
S
C
E
T
R
SINGLE START/STOP
EXT ARM/EXT GATE INHIBIT
POWER
SAMPLE
MODE
Remote
ESC
FUNCTION
DISPLAY SCALE
LOCAL
AUTO
SCALE
789
456
123
0
CH
A
INPUT
INITIALIZE
FILE
MARKER UTILITY
COPY MENU
SHIFT
COPY
MHz
m
sec/V/
ENTER
CH
B
n
1
GP-IB Communication Interface
Rear Panel
10MHz REF IN
(1Vp-p)
10MHz OUT
(1Vp-p)
GATE OUT
(TTL)
MONITOR
PROBE POWER
OUT
( 12V)(50 )
CH
A
1Vp-p
CH
B
WARN ING
Do not operate without reading safety precautions in user s manual
50
1M
40Vpk
rms
1M
40Vpk5V
GP-IB connector
Connector used to connect the TA720 to the controller (PC) using a GP-IB cable.
GP-IB(IEEE488)
REFERENCE
ADJUST
ETHERNET
LINK
10BASE - T
TX
100-240V AC 250VA MAX 50/60Hz FUSE 250V T 3.15A
IM 704510-17E
1-1

1.2 Connecting the GP-IB Cable

1.2 Connecting the GP-IB Cable
GP-IB Cable
The GP-IB connector used on this instrument is a 24-pin connector that conforms to the IEEE St’d 488-1978. Use a GP-IB cable that conforms to this standard.
Connection Procedure
Connect the cable as shown below.
GP-IB cable
GP-IB connector
Precautions to Be Taken When Connecting Cables
• Firmly tighten the screws on the GP-IB cable connector.
• Multiple devices can be connected to a single GP-IB system. However, no more than
15 devices (including the controller) can be connected to a single system.
• When connecting multiple devices, each device must have its own unique address.
• Use a cable of length 2 m or less for connecting the devices.
• Make sure the total cable length does not exceed 20 m.
• When communicating, have at least two-thirds of the devices turned ON.
• When connecting multiple devices, connect them in a star or linear configuration (see
the figure below). Loop and parallel configurations are not allowed.
1-2 IM 704510-17E

1.3 GP-IB Communication Capabilities and Specifications

1.3 GP-IB Communication Capabilities and Specifications
GP-IB Communication Capabilities
• Listener capability
• All of the information that you can set with the panel keys can be set through the GP-IB interface except for turning ON/OFF the power and setting the communication parameters.
• Receives commands from a controller requesting the output of setup information, measured data, and other information.
• Also receives status report commands.
• Talker capability
Outputs setup information, measured data, and other information.
Note
Listen-only, talk-only, and controller capabilities are not available on this instrument.
Switching between Remote and Local Modes
• When switching from local to remote mode
Receiving a REN (Remote Enable) message from the controller when the instrument is in the local mode causes the instrument to switch to the remote mode.
• REMOTE indication appears at the upper right corner of the screen (see page 1-1).
• All keys other than the LOCAL (SHIFT+AUTO SCALE) key are locked.
• The settings that existed in the local mode are maintained even when the instrument switches to the remote mode.
• When switching from remote to local mode
Pressing the LOCAL (SHIFT+AUTO SCALE) key when the instrument is in the remote mode causes the instrument to switch to the local mode. However, this act is invalid if the instrument has been set to Local Lockout mode (see page 1-6) by the controller.
• REMOTE indication at the upper right corner of the screen disappears.
• Key operations are enabled.
• The settings that existed in the remote mode are maintained even when the instrument switches to the local mode.
1
GP-IB Communication Interface
IM 704510-17E
1-3
1.3 GP-IB Communication Capabilities and Specifications
GP-IB Interface Specifications
Electrical and mechanical specifications: Conforms to IEEE St’d 488-1978 (JIS C1901-
Functional specifications: See table below. Protocol: Conforms to IEEE St’d 488.2-1992 Code: ISO (ASCII) code Mode: Addressable mode Address setting: The address can be set in the range from 0 to
Clear remote mode: Clear remote mode by pressing the LOCAL
Function Subset Name Description
Source handshaking SH1 Full source handshaking capability Acceptor handshaking AH1 Full acceptor handshaking capability Talker T6 Basic talker capability, serial polling, untalk on
Listener L4 Basic listener capability, unlisten on MTA (My
Service request SR1 Full service request capability Remote local RL1 Full remote/local capability Parallel polling PP0 No parallel polling capability Device clear DC1 Full device clear capability Device trigger DT1 Full device trigger capability Controller C0 No controller capability Electrical characteristics E1 Open collector
1987)
30 on the GP-IB setup menu that is played using the UTILITY key.
(SHIFT+AUTO SCALE) key. However, key operations are void when Local Lockout is enabled by the controller.
MLA (My Listen Address), and no talk-only capability
Talk Address), and no listen-only capability.
1-4 IM 704510-17E

1.4 Settings on the TA720

1.4 Settings on the TA720
Procedure
1. Press the UTILITY key to display the Utility menu.
2. Press the Device soft key to display the Device selection menu.
3. Select GP-IB using the soft key.
4. Set the address using the rotary knob or numeric keys.
Explanation
Setting the Address
Each device that can be connected via GP-IB has a unique address within the GP-IB system. This address is used to distinguish the device from others. Therefore, when you connect the TA720 to a PC, for example, make sure to assign a unique address to the TA720. Select the address from the following: The initial value is 1. Selectable range: 0 to 30
1
GP-IB Communication Interface
Set the address using the rotary knob or numeric keys.
IM 704510-17E
1-5

1.5 Responses to Interface Messages

1.5 Responses to Interface Messages
What Is an Interface Message
Interface messages are also referred to as interface commands or bus commands. They are commands that are issued by the controller. They are classified as follows:
• Uni-line messages
A single control line is used to transmit uni-line messages. The following three types are available. IFC (Interface Clear), REN (Remote Enable), and IDY (Identify)
• Multi-line messages
Eight data lines are used to transmit multi-line messages. The messages are classified as follows:
• Address commands These commands are valid when the instrument is designated as a listener or as a talker. The following five types are available.
• Commands that are valid on an instrument that is designated as a listener
GTL (Go To Local), SDC (Selected Device Clear), PPC (Parallel Poll Configure), and GET (Group Execute Trigger)
• Commands that are valid on an instrument that is designated as a talker
TCT (Take Control)
• Universal commands These commands are valid on all instruments regardless of the listener and talker designations. The following five types are available. LLO (Local Lockout), DCL (Device Clear), PPU (Parallel Poll Unconfigure), SPE (Serial Poll Enable), and SPD (Serial Poll Disable)
• In addition, listener address, talker address, and secondary commands are also considered interface messages.
• The differences between SDC and DCL In multi-line messages, SDC messages are those that require talker or listener designation and DCL messages are those that do not require the designation. Therefore, SDC messages are directed at a particular instrument while DCL messages are directed at all instruments on the bus.
Responses to Interface Messages
• Responses to a uni-line message
• IFC: Clears the talker and listener functions. Stops output if data are being
output.
• REN: Switches between the remote and local modes.
• IDY: Not supported.
• Responses to a multi-line message (address command)
• GTL: Switches to the local mode.
• SDC: Clears the program message (command) being received and the
output queue (see page 5-5).
• GET: Same operation as the *TRG command.
• The COMMunicate:WAIT command is immediately terminated.
• PPC or TCT: Not supported.
• Responses to a multi-line message (universal command)
• LLO: Disables the LOCAL key on the front panel to prohibit switching to the
local mode.
• DCL: Same operation as the SDC message.
• SPE: Sets the talker function on all devices on the bus to serial polling mode.
The controller polls the devices in order.
• SPD: Clears the serial polling mode of the talker function on all devices on the bus.
• PPU: Not supported.
1-6 IM 704510-17E

2.1 Names and Functions of the Parts Related to Ethernet Communications

Chapter 2 Ethernet Communication Interface
(Option)
2.1 Names and Functions of the Parts Related to Ethernet Communications
Front Panel
Remote indication appears at the upper right corner of the screen when in remote mode using communications.
LOCAL key (SHIFT+AUTO SCALE) key
Press this key to clear the remote mode (controlled via communications) and enter the local mode in which key operations are enabled.
UTILITY key
Press this key to set the user name and password for user verification and TCP/IP parameters.
S
E
T
L
E
S
S
C
E
T
R
SINGLE START/STOP
EXT ARM/EXT GATE INHIBIT
1M
40Vpk5V
POWER
SAMPLE
MODE
Remote
ESC
FUNCTION
DISPLAY SCALE
LOCAL
AUTO
SCALE
789
456
123
0
CH
A
50
INPUT
INITIALIZE
FILE
MARKERUTILITY
COPY MENU
SHIFT
COPY
MHz
m
sec/V/
ENTER
CH
B
1M
rms
n
40Vpk
2
Ethernet Communication Interface (Option)
Rear Panel
10MHz REF IN
(1Vp-p)
10MHz OUT
(1Vp-p)
GATE OUT
(TTL)
Ethernet interface connector
Connector used to connect the TA720 to the controller (PC) using an Ethernet cable. For details on how to connect the cable, see page 2-3.
GP-IB(IEEE488)
MONITOR
PROBE POWER
OUT
( 12V)(50 )
CH
A
1Vp-p
CH
B
WARN ING
Do not operate without reading safety precautions in user s manual
REFERENCE
ADJUST
LINK
TX
ETHERNET 10BASE - T
100-240V AC 250VA MAX 50/60Hz FUSE 250V T 3.15A
IM 704510-17E
2-1

2.2 Ethernet Communications Functions and Specifications

2.2 Ethernet Communications Functions and Specifications
Reception Function
You can specify the same settings as those specified by front panel key operations. Receives output requests for measured and computed data, setting parameters of the panel, and error codes.
Transmission Function
Outputs measured and computed data. Outputs setting parameters of the panel and the status byte. Outputs error codes that are generated.
Ethernet Communication Interface Specifications
Number of communication ports: 1 Electrical and mechanical specifications: Conforms to IEEE802.3 Transmission system: 10BASE-T Maximum transmission rate: 10 Mbps Connector type: RJ-45
Switching between Remote and Local Modes
• When switching from local to remote mode
If the TA720 receives a “:COMMunicate:REMote ON” command from the PC when it is in the local mode, it switches to the remote mode.
• REMOTE is displayed at the upper left corner of the screen.
• All keys except the LOCAL (SHIFT+AUTO SCALE) key are disabled.
• The settings that existed in the local mode are maintained even when the instrument switches to the remote mode.
• When switching from remote to local mode
Pressing the LOCAL (SHIFT+AUTO SCALE) key when the instrument is in the remote mode causes the instrument to switch to the local mode. However, this is void when the TA720 has received a “:COMMunicate:LOCKout ON” command from the PC (local lockout condition). When the TA720 receives a “:COMMunicate:REMote OFF” command from the PC, the TA720 switches to the local mode regardless of the local lock condition.
• REMOTE indication at the upper right corner disappears.
• Key operations are enabled.
• The settings that existed in the remote mode are maintained even when the instrument switches to the local mode.
Note
The Ethernet communication interface cannot be used concurrently with the GP-IB interface.
User Verification Function
When using the Ethernet communication interface, a user name and password are required when connecting to the network. The user name and password are set on the User Account pop-up window under the Utility menu of the TA720. For details, see section 2.4, “Setting the TA720.”
2-2 IM 704510-17E

2.3 Connection Using the Ethernet Communication Interface

2.3 Connection Using the Ethernet Communication Interface
Connection Procedure
Connect a UTP (Unshielded Twisted-Pair) cable or an STP (Shielded Twisted-Pair) cable that is connected to a hub, for example, to the 10BASE-T port on the rear panel of the TA720.
Hub or router that supports 10BASE-T
S
E
T
L
E
S
S
C
E
T
R
SAMPLE
MODE
INPUT
FUNCTION
INITIALIZE
FILE
DISPLAY SCALE
MARKER UT I LI TY
LOCAL
COPY MENU
SHIFT
AUTO
COPY
SCALE
n
789
456
m
123
sec/V/
ENTER
SINGLE START/STOP
ESC
POWER
0
CHACH
EXT ARM/EXT GATE INHIBIT
B
501M40Vpk1M40Vpk5V
rms
2
Ethernet Communication Interface (Option)
PC or workstation
UTP cable or STP cable
(Straight cable)
Ethernet port (10BASE-T)
RJ-45 modular jack
Precautions to Be Taken When Connecting Cables
To connect the TA720 and a PC, be sure to use a straight cable via a hub. Operation is not guaranteed when the TA720 and the PC are connected one-to-one using a cross cable.
Ethernet NIC
IM 704510-17E
2-3

2.4 Setting the TA720

2.4 Setting the TA720
Procedure
• Selecting the Communication Interface
Note
• Setting the User Name, Password, and Timeout
1. Press the UTILITY key to display the Utility menu.
2. Press the Device soft key to display the Device selection menu.
3. Press the Ethernet soft key.
Only the communication interface selected by Device is enabled. The TA720 does not accept commands that are transmitted using an unselected GP-IB communication interface.
4. Press the Account soft key.
The user verification dialog box opens.
5. Turn the rotary knob to move the cursor onto the User Name.
6. Press the SELECT key to display the keyboard.
7. Enter the user name. Specify anonymous if you wish to allow access to all
users. To restrict access, enter the user name using up to 15 characters.
8. Turn the rotary knob to move the cursor to Password.
9. Press the SELECT key to display the keyboard.
10. Enter the password using up to 15 characters.
11. Turn the rotary knob to move the cursor onto the Time Out.
12. Press the SELECT key.
13. Set the timeout time using the rotary knob or numeric keys.
14. Press the SELECT key to confirm the new settings.
2-4 IM 704510-17E
Explanation
2.4 Setting the TA720
Note
• For details on the keyboard operation, see section 4.4, “Entering Values and Character Strings” in the
• User name and password are case-sensitive.
• Setting the TCP/IP
To use the network interface function, the following TCP/IP settings must be entered.
• IP address
• Subnet mask
• Default gateway For details on how to enter these parameters, see section 12.2, “Setting the TCP/IP” in the
TA720 User’s Manual IM704510-01E
Enter the following settings when using a controller to set information that can be specified through key operation on the TA720 or when outputting setting parameters or output waveform data to the controller.
• Setting the User Name and Password
The network interface has a user verification function. A user name and password for the TA720 are set in advance.
• Setting the User Name Enter the password using up to 15 characters. The default setting is “anonymous.”
TA720 User’s Manual IM704510-01E
.
.
2
Ethernet Communication Interface (Option)
• Setting the password Enter the password using up to 15 characters.
• Setting the Timeout Time
The connection to the TA720 is automatically dropped if there is no access to the TA720 for the specified time. The default setting is Infinite (no timeout).
• Setting the TCP/IP
For details, see section 12.2, “Setting the TCP/IP” in the
IM704510-01E
.
TA720 User’s Manual
Note
• If the user verification fails, connection to the TA720 is dropped.
• Password is not required if the user name is “anonymous.”
• If you change the user name, password, timeout time, or TCP/IP settings, power-cycle the
TA720 to activate the new settings.
IM 704510-17E
2-5

Chapter 3 Program Syntax and Programming

,
<Program header>
<Program data>Space

3.1 Messages

3.1 Messages
Message
Messages are used to exchange information between the controller and the instrument. Messages that are sent from the controller to the instrument are called program messages and messages that are sent back from the instrument to the controller are called response messages. If a program message contains a message unit that requests a response (a query), the instrument returns a response message upon receiving the program message. A single response message is always returned in response to a single program message.
Program Message
Data that is sent from the controller to the instrument are called program messages. The program message format is shown below.
;
<Program message unit>
<Program Message Unit>
A program message consists of one or more program message units; each unit corresponds to one command. The instrument executes the received commands in order. Each program message unit is separated by a semicolon (;). For details regarding the format of the program message unit, see the next section.
<PMT>
<PMT>
PMT is a program message terminator. The following three types are available. NL (New Line): Same as LF (Line Feed). ASCII
code “0AH”
^END: END message that is defined in
IEEE488.1 (EOI signal)
(The data byte that is sent simultaneously with the END message is the last data of the program message.)
NL^END: NL with an END message added
(NL is not included in the program message.)
• Program Message Unit Format
The program message unit format is shown below.
<Program header>
The program header indicates the command type. For details, see page 3-3.
<Program Data>
If certain conditions are required in executing a command, program data is added. A space (ASCII code “20H”) separates the program data from the header. If there are multiple sets of program data, they are separated by commas (,). For details, see page 3-5.
3
Program Syntax and Programming
Example
:MEASURE:MODE HHISTOGRAM;FUNCTION PERIOD,A<PMT>
Unit Unit
Example
:SAMPLE:GATE:MODE EVENT<PMT>
Header
Data
3-1IM 704510-17E
3.1 Messages
Response Message
Data that is sent from the instrument to the controller are called response messages. The response message format is shown below.
;
<Response message unit>
<RMT>
<Response Message Unit>
A response message consists of one or more response message units; each response message unit corresponds to one response. Response message units are separated by a semicolon (;). For details regarding the format of the response message unit, see page 3-4.
Example
:SAMPLE:GATE:MODE EXTERNAL;POLARITY POSITIVE<RMT>
Unit Unit
<RMT>
A response message terminator. It is NL^END.
• Response Message Unit Format
The response message unit format is shown below.
,
<Response header> <Response data>Space
<Response Header>
A response header sometimes precedes the response data. A space separates the data from the header. For details, see page 3-4.
<Response Data>
Response data contains the content of the response. If there are multiple sets of response data, they are separated by commas (,). For details, see page 3-5.
Example
500.0E-03<RMT> :SAMPLE:INTERVAL MINIMUM<RMT>
Data Header Data
If there are multiple queries in a program message, responses are made in the same order as the queries. In most cases, a single query returns a single response message unit, but there are a few queries that return multiple units. The first response message unit always corresponds to the first query, but the nth response unit may not necessarily correspond to the nth query. Therefore, if you want to make sure that every response is retrieved, divide the program messages into individual messages.
Precautions to Be Taken when Transferring Messages
• If a program message that does not contain a query is sent, the next program message can be sent at any time.
• If a program message that contains a query is sent, a response message must be received before the next program message can be sent. If the next program message is sent before the response message is received in its entirety, an error occurs. The response message that was not received is discarded.
• If the controller tries to receive a response message when there is none, an error occurs. If the controller tries to receive a response message before the transmission of the program message is complete, an error occurs.
• If a program message containing multiple message units is sent, and the message contains incomplete units, the instrument will attempt to execute the ones that are believed to be complete. However, these attempts may not always be successful. In addition, if the message contains queries, the responses may not be returned.
Deadlock
The instrument can store in its buffer program and response messages of length 1024 bytes or more (The number of available bytes varies depending on the operating conditions). When both the transmit and receive buffers become full at the same time, the instrument can no longer continue to operate. This state is called a deadlock. In this case, operation can be resumed by discarding the program message. Deadlock will not occur if the program message (including the <PMT>) is kept below 1024 bytes. Furthermore, deadlock never occurs if a program message does not contain a query.
3-2 IM 704510-17E

3.2 Commands

3.2 Commands
Command
There are three types of commands (program headers) that are sent from the controller to the instrument. They differ in their program header formats.
Common Command Header
Commands that are defined in the IEEE 488.2-1992 are called common commands. The header format of a common command is shown below. An asterisk (*) is always placed in the beginning of a command.
<Mnemonic>
*
An example of a common command: *CLS
Compound Header
Dedicated commands used by the instrument are classified and arranged in a hierarchy according to their functions. The format of a compound header is shown below. A colon (:) must be used to specify a lower hierarchy.
:
<Mnemonic>
An example of a compound header:
MEASURE:FUNCTION
?
:
?
When Concatenating Commands
• Command Group
A command group is a group of commands that
have common compound headers arranged in a hierarchy. A command group may contain sub­groups.
Example Group of commands related to sampling
:SAMPLE? :SAMPLE:GATE? :SAMPLE:GATE:MODE :SAMPLE:GATE:EVENTSIZE :SAMPLE:GATE:POLARITY :SAMPLE:GATE:TIME :SAMPLE:INTERVAL :SAMPLE:ARMING:SOURCE :SAMPLE:ARMING:DELAY:MODE :SAMPLE:ARMING:DELAY:TIME
• When Concatenating Commands of the Same Group
The instrument stores the hierarchical level of the
command that is currently being executed, and performs analysis on the assumption that the next command sent will also belong to the same level. Therefore, common header sections can be omitted for commands belonging to the same group.
Example :INPUT:ACHANNEL:COUPLING AC;
IMPEDANCE I50<PMT>
3
Program Syntax and Programming
Simple Header
These commands are functionally independent and do not have a hierarchy. 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.
• When Concatenating Commands of Different Groups
If the following command does not belong to the
same group, a colon (:) is placed in front of the header.
Example :MEASURE:MODE TSTAMP;:DISPLAY:
ITEM LIST<PMT>
• When Concatenating Simple Headers
If a simple header follows another command, a
colon (:) is placed in front of the simple header.
Example :MEASURE:MODE TSTAMP;:
START<PMT>
• When Concatenating Common Commands
Common commands that are defined in the IEEE
488.2-1992 are independent of hierarchy. Colons (:) are not needed before a common command.
Example :MEASURE:MODE TSTAMP;*CLS;
FUNCTION PERIOD,A<PMT>
3-3IM 704510-17E
3.2 Commands/3.3 Responses
• 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 specified for each command even when commands belonging to the same command group are being concatenated. Example :MEASURE:MODE TSTAMP<PMT>:
MEASURE:FUNCTION PERIOD,A<PMT>
Upper-level Query
An upper-level query is a query in which a question mark (?) is appended to the highest level command of a group. Execution of an upper-level query allows all settings that can be specified in the group to be received at once. Some query groups which are comprised of more than three hierarchical levels can output all the lower level settings. Example :MEASURE?<PMT> -> :MEASURE:
MODE HHISTOGRAM; FUNCTION PERIOD,A;SLOPE RISE
The response to an upper-level query can be transmitted as a program message back to the instrument. In this way, the settings that existed when the upper-level query was made can be restored. However, some upper-level queries will not return setup information that is not currently in use. It is important to remember that not all the group’s information is necessarily returned as part of a response.
Header Interpretation Rules
The instrument interprets the header that is received according to the rules below.
• Mnemonics are not case sensitive. Example MEASure can be also written as
measure or Measure.
• The lower-case section of the header can be omitted. Example MEASure can also be written as MEASU
or MEAS
• The question mark (?) at the end of a header indicates that it is a query. The question mark (?) cannot be omitted. Example The shortest abbreviation for
MEASure?” is “MEAS?.”
• If the <x> (value) at the end of a mnemonic is omitted, it is interpreted as a 1. Example If WINDow<x> is written as WIND, this
represents WINDow1.
• The section enclosed by braces ([]) can be omitted. Example :CALCulation[:WINDow1]:
AVERage? can be written as :CALCulation:AVERage?.
However, the last section enclosed by braces ([]) cannot be omitted in an upper-level query.

3.3 Responses

When the controller sends a message unit that has a question mark (?) in its program header (query), the instrument returns a response message to the query. A response message is returned in one of the following two forms.
• Response consisting of a header and data If the response can be used as a program message without any change, it is returned with a command header attached. Example :SAMPLE:GATE:MODE?<PMT> ->
:SAMPLE:GATE:MODE EVENT<RMT>
• Response consisting of data only If the response cannot be used as a program message unless changes are made to it (query-only command), only the data section is returned. However, there are query-only commands that return responses with the header attached. Example :STATUS:ERROR?<PMT> ->
0,”NO ERROR”<RMT>
• When You Wish to Return a Response without a Header
Responses that return both header and data can be set so that only the data section is returned. The “:COMMunicate:HEADer” command is used to do this.
• Abbreviated Form
Normally, the lower-case section 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.
3-4 IM 704510-17E

3.4 Data

3.4 Data
Data
A data section comes after the header. A space must be included between the header and the data. The data contains conditions and values. Data is classified as below.
Data Description
<Decimal> Value expressed as a decimal number
(Example: The number of measurement samples
-> :SAMPle:GATE:EVENtsize 100)
<Voltage><Time> Physical value <Frequency> (Example: Gate time <Percentage> -> :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> Predefined character string (mnemonic).
Can be selected from { } (Example: Gate mode selection ->
:SAMPle:GATE:MODE {EVENt|TIME| EXTernal})
<Boolean> Indicates ON and OFF. Set to ON, OFF or
value (Example: Turn ON panorama display
-> :DISPlay:PANorama:STATe ON)
<Character string data> Arbitrary character string
(Example: Name of the file to be deleted
-> :FILE:DELete:SETup “SETUP_1”)
<Block data> Arbitrary 8-bit data
(Example: Response to acquired measured 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 as specified in the ANSI X3.42-1975.
Symbol Description Example
<NR1> Integer 125 -1 +1000 <NR2> Fixed-point number 125.0 -.90 +001. <NR3> Floating-point number 125.0E+0 -9E-1 +.1E4 <NRf> Any of the forms <NR1> to <NR3> is allowed.
• The instrument can receive decimal values that are sent from the controller in any of the forms, <NR1> to <NR3>. This is represented by <NRf>.
• For response messages that the instrument returns to the controller, the form (<NR1> to <NR3> to be used) is determined by the query. The same form is used regardless of the size of the value.
• 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 a value has more significant digits than the available resolution, the value is rounded.
<Voltage>, <Time>, <Frequency>, <Percent>
<Voltage>, <Time>, <Frequency>, and <Percent> indicate decimal values that have physical significance. Except for <Percent>, a <Multiplier> or <Unit> can be attached to <NRf>. They can be entered in any of the following forms.
Form Example
<NRf><Multiplier><Unit> 5MV <NRf><Unit> 5E-3V <NRf><Multiplier> 5M <NRf> 5E-3
•<Multiplier>
Multipliers which can be used are shown below.
Symbol Word Multiplier
EX Exa 10 PE Peta 10 T Tera 10 G Giga 10 MA Mega 10 K Kilo 10 MMilli 10 U Micro 10 N Nano 10 PPico 10 F Femto 10 A Ato 10
18
15
12
9
6
3
–3
–6
–9
–12
–15
–18
• <Unit>
Units which can be used are shown below.
Symbol Word Description
V Volt Voltage S Second Time HZ Hertz Frequency MHZ Megahertz Frequency PCT Percentage Percentage
• <Multiplier> and <Unit> are not case sensitive.
• “U” should be used in place of “µ” in the data.
• “MA” is used for Mega to distinguish it from Milli.
• If both <Multiplier> and <Unit> are omitted, the default unit is used.
• Response messages are always expressed in the <NR3> form. Response messages are returned using the default unit without the <Multiplier> or <Unit>.
3
Program Syntax and Programming
3-5IM 704510-17E
3.4 Data
<Register>
<Register> indicates an integer, and can be expressed in hexadecimal, octal, or binary as well as a decimal number. <Register> is used when each bit of the value has a particular meaning. <Register> is expressed in one of the following forms.
Form Example
<NRf> 1 #H #H0F <Hexadecimal value made up of the digits 0 to 9 and A to F> #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 Rules” on page 3-4.
<Character String Data>
<Character string data> is not a specified character string like <Character data>. It is an arbitrary character string. The character string must be enclosed in single quotation marks () or double quotation marks (“).
Form Example
<Character string data> ‘ABC’ “IEEE488.2-1987”
• 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.
•A response message is always enclosed in double quotation marks (“).
• <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.
Form Example
{EVENt|TIME|EXTernal} EVENt
• As with the header, the “COMMunicate:VERBose” command can be used to select whether to return the response in the full form or in the abbreviated form.
• The “COMMunicate:HEADer” setting does not affect the <character data>.
<Boolean>
<Boolean> is data which indicates ON or OFF, and is expressed in one of the following forms.
Form Example
{ON|OFF|<NRf>} ON OFF 1 0
• When <Boolean> is expressed in the <NRf> form, “OFF” is selected if the rounded integer value is “0,” and ON for all other cases.
•A response message is always returned with a “1” if the value is ON and “0” if the value is OFF.
<Block Data>
<Block data> is arbitrary 8-bit data. It is only used in response messages on the TA720 and is expressed in the following form.
Form Example
#8<8-digit decimal number> #800000010ABCDEFGHIJ <data byte sequence>
•#8 Indicates that the data is <Block data>.
• <8-digit decimal number> Indicates the number of bytes of data (example: 00000010 = 10 bytes).
• <data byte sequence> Expresses the actual data (example: 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.
3-6 IM 704510-17E

3.5 Synchronization with the Controller

3.5 Synchronization with the Controller
The TA720 does not support overlap commands, which allows the execution of the next command to start before the execution of the previous command is completed. If multiple sequential commands are sent consecutively, the execution of the next command is held until the execution of the previous command is completed.
Achieving Synchronization
Synchronization is sometimes required for reasons other than communications-related reasons, such as the activation of a trigger, even if a sequential command is used. For example, if a “next program” message is transmitted to make an inquiry about the waveform data which has been acquired using single mode as the trigger mode, the “MEMory:SEND?” command is sometimes executed whether acquisition has been completed or not, causing a command execution error. :SSTart;:MEMory:SEND?<PMT> In this case, the following method must be used to synchronize with the end of the acquisition.
• Using the STATus:CONDition? query
The “STATus:CONDition?” query is used to query the contents of the condition register (page 5-4). It is possible to judge whether acquisition is in progress or not by reading bit 0 of the condition register. Bit 0 is “1” if acquisition is in progress, and “0” if acquisition is stopped.
Example :SSTart<PMT>
:STATus:CONDition?<PMT>
(Read the response. If bit 0 is 0, repeat this command until it becomes 1.)
:MEMory:SEND?<PMT>
The :MEMory:SEND? command will not be executed until bit 0 of the condition register is set to “1.”
• Using the extended event register
The changes in the condition register can be
reflected in the extended event register (page 5-4).
Example :STATus:FILTer1 RISE;:STATus:
EESE 1;EESR?;*SRE8;SSTart<PMT>
(Wait for a service request occurrence)
:MEMory:SEND?<PMT>
The “STATus:FILTer1 RISE” command sets the
transition filter so that bit 0 (FILTer1) of the extended event register is set to “1” when bit 0 of the condition register changes from “0” to “1.”
The “:STATus:EESE 1” command is used to
reflect only bit 0 of the extended event register to the status byte.
The “STATus:EESR?” command is used to clear
the extended event register.
The “*SRE” command is used to generate a service
request solely on the cause of the extended event register.
The “:MEMory:SEND?” command 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> (Read the response to STATus:EESR?) :COMMunicate:WAIT 1;:MEMory: SEND?<PMT>
For a description of “STATus:FILTer1 RISE” and
STATus:EESR?” see the previous section regarding the extended event register.
The “COMMunicate:WAIT 1” command indicates
that the program will wait for bit 0 of the extended event register to be set to “1.”
The :MEMory:SEND? command will not be
executed until bit 0 of the extended event register is set to “1.”
3
Program Syntax and Programming
3-7IM 704510-17E

4.1 List of Commands

Chapter 4 Commands

4.1 List of Commands
Command Function Page ASCale Group
:ASCale Executes auto scaling. 4-8
CALCulation Group
:CALCulation? Queries all settings related to the statistical value. 4-10 :CALCulation:AREA Queries the computation range or queries the current setting. 4-10 :CALCulation[:MEAS<x>]:AUTot? Queries auto window T. 4-11 :CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TAVerage?
Queries the average value when using time variation. 4-11
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TFLutter?
Queries the σ/AVE value (flutter) when using time variation. 4-11
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TJITter?
Queries the P-P/AVE value (jitter) when using time variation. 4-12
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TMAXimum?
Queries the maximum value when using time variation. 4-12
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TMINimum?
Queries the minimum value when using time variation. 4-13
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TPTopeak?
Queries the P-P value when using time variation. 4-13
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TRF?
Queries the RF value when using time variation. 4-14
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TSDeviation?
Queries the standard deviation (σ) when using time variation. 4-14
:CALCulation[:MEAS<x>][:{BLOCk<x>|BALL}]:TSNumber?
Queries the number of samples for the statistical computation when using time variation. 4-15
:CALCulation[:MEAS<x>]:CONStt Sets constant T or queries the current setting. 4-15 :CALCulation[:MEAS<x>][:WINDow<x>]:AVERage?
Queries the average value when using histogram. 4-16
:CALCulation[:MEAS<x>][:WINDow<x>]:DEViation?
Queries the deviation when using histogram. 4-16
:CALCulation[:MEAS<x>][:WINDow<x>]:DEVT?
Queries the deviation/T value when using histogram. 4-17
:CALCulation[:MEAS<x>][:WINDow<x>]:FLUTter?
Queries the σ/AVE value (flutter) when using histogram. 4-17
:CALCulation[:MEAS<x>][:{WINDow<x>|SUMMation}]]:JITTer?
Queries the σ/T value (jitter) when using histogram. 4-18
:CALCulation[:MEAS<x>][:WINDow<x>]:MAXimum?
Queries the maximum value when using histogram. 4-18
:CALCulation[:MEAS<x>][:WINDow<x>]:MEDian?
Queries the median value when using histogram. 4-19
:CALCulation[:MEAS<x>][:WINDow<x>]:MINimum?
Queries the minimum value when using histogram. 4-19
:CALCulation[:MEAS<x>][:WINDow<x>]:MODE?
Queries the most frequent value when using histogram. 4-20
:CALCulation[:MEAS<x>][:{WINDow<x>|SUMMation}]:PTOPeak?
Queries the P-P value when using histogram. 4-20
:CALCulation[:MEAS<x>][:{WINDow<x>|SUMMation}]:SDEViation?
Queries the standard deviation (σ) when using histogram. 4-21
:CALCulation[:MEAS<x>][:{WINDow<x>|SUMMation}]:SNUMber?
Queries the number of samples for the statistical computation when using histogram. 4-21
:CALCulation:PARameter? Queries whether all the statistical computations are turn ON or OFF. 4-22 :CALCulation:PARameter:CLEar Turns OFF all the statistical computation values. 4-22 :CALCulation:PARameter:AVERage Turns ON/OFF the average computation when using histogram or
queries the current setting. 4-22
:CALCulation:PARameter:DEViation Turns ON/OFF the deviation computation when using histogram or queries
the current setting. 4-22
:CALCulation:PARameter:DEVT Turns ON/OFF the deviation/T computation when using histogram or
queries the current setting. 4-22
4
Command
4-1IM 704510-17E
4.1 List of Commands
Command Function Page
:CALCulation:PARameter:FLUTter Turns ON/OFF the σ/AVE (flutter) computation when using histogram or
:CALCulation:PARameter:JITTer Turns ON/OFF the σ/T (jitter) computation when using histogram or
:CALCulation:PARameter:MAXimum Turns ON/OFF the maximum value computation when using histogram or
:CALCulation:PARameter:MEDian Turns ON/OFF the median value computation when using histogram or
:CALCulation:PARameter:MINimum Turns ON/OFF the minimum value computation when using histogram or
:CALCulation:PARameter:MODE Turns ON/OFF the most frequent value computation when using histogram
:CALCulation:PARameter:PTOPeak Turns ON/OFF the P-P value computation when using histogram or queries
:CALCulation:PARameter:SDEViation
:CALCulation:PARameter:TAVerage Turns ON/OFF the average computation when using time variation or
:CALCulation:PARameter:TFLutter Turns ON/OFF the σ/AVE (flutter) computation when using time variation
:CALCulation:PARameter:TJITter Turns ON/OFF the P-P/AVE (jitter) computation when using time variation or
:CALCulation:PARameter:TMAXimum Turns ON/OFF the maximum value computation when using time variation or
:CALCulation:PARameter:TMINimum Turns ON/OFF the minimum value computation when using time variation or
:CALCulation:PARameter:TPTopeak Turns ON/OFF the P-P value computation when using time variation or
:CALCulation:PARameter:TRF Turns ON/OFF the RF value computation when using time variation or
:CALCulation:PARameter:TSDeviation
:CALCulation:POLarity Sets the polarity to be analyzed when measuring both pulse widths or both
COMMunicate Group
:COMMunicate? Queries all settings related to communications. 4-25 :COMMunicate:HEADer Sets whether to attach a header to the response data or queries the current
:COMMunicate:LOCKout Sets or clears local lockout. 4-25 :COMMunicate:REMote Switches between remote and local. 4-25 :COMMunicate:VERBose Sets whether to use abbreviated or unabbreviated form for response data. 4-25 :COMMunicate:WAIT Waits for an extended event to occur. 4-26 :COMMunicate:WAIT? Creates a response for the specified extended event. 4-26
DISPlay Group
:DISPlay? Queries all settings related to the display. 4-28 :DISPlay:BGRaph Turns ON/OFF the BOTH Graph display when measuring both pulse widths
:DISPlay:BLOCk Sets the displayed block or queries the current setting. 4-28 :DISPlay:DOTConnect Turns ON/OFF dot connect on the time variation display or queries the
:DISPlay:DOTType Sets the display method of the measured point on the time variation display
:DISPlay:GRAPhsize Sets the size of the graph display or queries the current setting. 4-29 :DISPlay:GRID Turns ON/OFF the grid display on the time variation display or queries the
:DISPlay:ITEM Sets the display format or queries the current setting. 4-29 :DISPlay:OVERlap Sets whether to display waveforms overlapped (ON/OFF) or queries the
:DISPlay:PANorama[:STATe] Turns ON/OFF the panorama display or queries the current setting. 4-29 :DISPlay:SGRaph Sets the display at the bottom section of the screen when using ALL display
:DISPlay:SITem Sets the type of statistical values to be displayed on the statistical display or
queries the current setting. 4-22
queries the current setting. 4-22
queries the current setting. 4-22
queries the current setting. 4-22
queries the current setting. 4-22
or queries the current setting. 4-23
the current setting. 4-23
Turns ON/OFF the standard deviation (σ) computation when using histogram or queries the current setting. 4-23
queries the current setting. 4-23
or queries the current setting. 4-23
queries the current setting. 4-23
queries the current setting. 4-23
queries the current setting. 4-23
queries the current setting. 4-24
queries the current setting. 4-24
Turns ON/OFF the standard deviation (σ) computation when using time variation or queries the current setting. 4-24
edges or queries the current setting. 4-24
setting. 4-25
or both edges or queries the current setting. 4-28
current setting. 4-28
or queries the current setting. 4-28
current setting. 4-29
current setting. 4-29
on the multi window or auto window or queries the current setting. 4-29
queries the current setting. 4-30
4-2 IM 704510-17E
4.1 List of Commands
Command Function Page
:DISPlay:SSTYle Sets the display format on the statistical display or queries the current
setting. 4-30
:DISPlay:STATistic Turns ON/OFF the statistical display when using histogram or time variation
display or queries the current setting. 4-30
:DISPlay:WINDow Sets the window to be displayed or queries the current setting. 4-30
FILE Group
:FILE? Queries all settings related to files. 4-31 :FILE:CDIRectroy Changes the current directory. 4-31 :FILE:DELete:{BINary|BMP|POSTscript|SETup|STATistic|TIFF|TEXT}
Deletes various types of files. 4-32
:FILE:DRIVe Sets the target drive. 4-32 :FILE:FORMat Executes the floppy disk format. 4-32 :FILE:FREE? Queries the free disk space in bytes. 4-32 :FILE:LOAD:{BINary|SETup} Recalls various types of files. 4-32 :FILE:MDIRectory Creates a directory. 4-32 :FILE:PATH? Queries the current directory. 4-32 :FILE:SAVE? Queries all settings related to file saving. 4-32 :FILE:SAVE:ANAMing Turns ON/OFF the auto naming function of saved file names or queries the
current setting. 4-32
:FILE:SAVE:{BINary|SETup|STATistic|TEXT}
Saves various types of files. 4-33
:FILE:SAVE:COMMent Sets the comment at the top left section of the screen or queries the current
setting. 4-33
:FILE:SAVE:SITem Sets the type of statistical data file to be saved or queries the current setting. 4-33
HCOPy Group
:HCOPy? Queries all settings related to the output of screen image data. 4-34 :HCOPy:ABORt Aborts the printout of the screen image. 4-34 :HCOPy:ANAMing Turns ON/OFF the auto naming function of file names when saving screen
images to files or queries the current setting. 4-35
:HCOPy:CDIRectory Changes the current directory. 4-35 :HCOPy:COMMent Sets the comment at the top left section of the screen or queries the current
setting. 4-35
:HCOPy:COMPression Turns ON/OFF the compression when saving the screen image in BMP
format or queries the current setting. 4-35
:HCOPy:DEVice Sets the output destination of the screen image or queries the current setting. 4-35 :HCOPy:DRIVe Sets the target drive. 4-35 :HCOPy[:EXECute] Executes the printout of the screen image. 4-35 :HCOPy:FILename Sets the name of the file for saving the screen image or queries the current
setting. 4-35
:HCOPy:FORMat Sets the format for saving the screen image or queries the current setting. 4-35 :HCOPy:TONE Sets the color/gradation for saving the screen image or queries the current
setting. 4-35
HHIStogram and THIStogram Group
:{HHIStogram<x>|THIStogram<x>}? Queries all settings related to the histogram display. 4-38 :{HHIStogram<x>|THIStogram<x>}:AUTO?
Queries all settings related to the auto window. 4-38
:{HHIStogram<x>|THIStogram<x>}:AUTO:MODulation
Sets the modulation type on the auto window or queries the current setting. 4-38
:{HHIStogram<x>|THIStogram<x>}:AUTO:TTYPe
Sets how to determine constant T on the auto window or queries the current setting. 4-38
:{HHIStogram<x>|THIStogram<x>}:AUTO:WINDow1:STATe
Turns ON/OFF window 1 on the auto window or queries the current setting. 4-38
:{HHIStogram<x>|THIStogram<x>}:MARKer?
Queries all settings related to the marker. 4-38
:{HHIStogram<x>|THIStogram<x>}:MARKer:LOW
Sets the low marker value or queries the current setting. 4-38
:{HHIStogram<x>|THIStogram<x>}:MARKer[:STATe]
Turns ON/OFF the marker or queries the current setting. 4-39
:{HHIStogram<x>|THIStogram<x>}[:MODE]
Sets the window mode or queries the current setting. 4-39
:{HHIStogram<x>|THIStogram<x>}:MULTi?
Queries all settings related to the multi window. 4-39
:{HHIStogram<x>|THIStogram<x>}:MULTi:FREQuency
Sets constant T using the frequency format or queries the current setting. 4-39
4
Command
4-3IM 704510-17E
4.1 List of Commands
Command Function Page
:{HHIStogram<x>|THIStogram<x>}:MULTi:OFFSet
:{HHIStogram<x>|THIStogram<x>}:MULTi:SIZE
:{HHIStogram<x>|THIStogram<x>}:MULTi:TVALue
:{HHIStogram<x>|THIStogram<x>}:MULTi:UPDate
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>?
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:HORizontal?
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:HORizontal:CENTer
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:HORizontal:SPAN
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:LABel
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:MARKer?
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:MARKer:{LEFT|RIGHt}
:{HHIStogram<x>|THIStogram<x>}:MULTi:WINDow<x>:MARKer:{LVALue?|RVALue?}
:{HHIStogram<x>|THIStogram<x>}:SINGle?
:{HHIStogram<x>|THIStogram<x>}:SINGle:FREQuency
:{HHIStogram<x>|THIStogram<x>}:SINGle:HORizontal?
:{HHIStogram<x>|THIStogram<x>}:SINGle:HORizontal:CENTer
:{HHIStogram<x>|THIStogram<x>}:SINGle:HORizontal:SPAN
:{HHIStogram<x>|THIStogram<x>}:SINGle:MARKer?
:{HHIStogram<x>|THIStogram<x>}:SINGle:MARKer:{LEFT|RIGHt}
:{HHIStogram<x>|THIStogram<x>}:SINGle:MARKer:{LVALue?|RVALue?}
:{HHIStogram<x>|THIStogram<x>}:SINGle:TVALue
:{HHIStogram<x>|THIStogram<x>}:VERTical?
:{HHIStogram<x>|THIStogram<x>}:VERTical:AXIS
:{HHIStogram<x>|THIStogram<x>}:VERTical:HIGH
IHIStogram Group
:IHIStogram? Queries all settings related to the histogram display for ISI mode. 4-47 :IHIStogram:AUTO? Queries all settings related to the auto window. 4-47 :IHIStogram:AUTO:MODulation Sets the modulation type on the auto window or queries the current setting. 4-47 :IHIStogram:AUTO:TTYPe Sets how to determine constant T on the auto window or queries the current
:IHIStogram:AUTO:WINDow1:STATe Turns ON/OFF window 1 on the auto window or queries the current setting. 4-47 :IHIStogram:{MARK<x>|SPACe<x>} Sets mark/space or queries the current setting. 4-48 :IHIStogram[:MODE] Sets the window mode or queries the current setting. 4-48 :IHIStogram:MULTi? Queries all settings related to the multi window. 4-48
Sets the offset value on constant T or queries the current setting. 4-39
Sets the number of windows or queries the current setting. 4-39
Sets the constant T value or queries the current setting. 4-40
Changes the window setting based on the constant T and offset values. 4-40
Queries all settings related to the specified window. 4-40
Queries all settings related to the horizontal axis (X-axis) of the specified window. 4-40
Sets the center position of the horizontal axis (X-axis) of the specified window. 4-40
Sets the span of the horizontal axis (X-axis) of the specified window. 4-41
Sets the label of the specified window or queries the current setting. 4-41
Queries all settings related to the horizontal axis (X-axis) marker of the specified window. 4-41
Sets the marker position of the specified window or queries the current setting. 4-41
Sets the frequency of the marker position of the specified window or queries the current setting. 4-42
Queries all settings related to the single window. 4-42
Sets constant T using the frequency format or queries the current setting. 4-42
Queries all settings related to the horizontal axis (X-axis) of the single window. 4-42
Sets the center position of the horizontal axis (X-axis) of the single window. 4-42
Sets the span of the horizontal axis (X-axis) of the single window. 4-43
Queries all settings related to the marker of the single window. 4-43
Sets the marker position of the single window or queries the current setting. 4-43
Sets the frequency of the marker position of the single window or queries the current setting. 4-43
Sets the constant T value of the single window or queries the current setting. 4-43
Queries all settings related to the vertical axis (Y-axis). 4-43
Queries the scale type setting of the vertical axis (Y-axis). 4-44
Queries the upper limit of the vertical axis (Y-axis) scale. 4-44
setting. 4-47
4-4 IM 704510-17E
4.1 List of Commands
Command Function Page
:IHIStogram:MULTi:FREQuency Sets constant T using the frequency format or queries the current setting. 4-48 :IHIStogram:MULTi:OFFSet Sets the offset value on constant T or queries the current setting. 4-49 :IHIStogram:MULTi:SIZE Sets the number of windows or queries the current setting. 4-49 :IHIStogram:MULTi:TVALue Sets the constant T value or queries the current setting. 4-49 :IHIStogram:MULTi:UPDate Changes the window setting based on the constant T and offset values. 4-49 :IHIStogram:MULTi:WINDow<x>? Queries all settings related to the specified window. 4-49 :IHIStogram:MULTi:WINDow<x>:HORizontal?
Queries all settings related to the horizontal axis (X-axis) of the specified window. 4-49
:IHIStogram:MULTi:WINDow<x>:HORizontal:CENTer
Sets the center position of the horizontal axis (X-axis) of the specified window. 4-49
:IHIStogram:MULTi:WINDow<x>:HORizontal:SPAN
Sets the span of the horizontal axis (X-axis) of the specified window. 4-49
:IHIStogram:MULTi:WINDow<x>:LABel
Sets the window label or queries the current setting. 4-50
:IHIStogram:MULTi:WINDow<x>:MARKer?
Queries all settings related to the horizontal axis (X-axis) marker of the specified window. 4-50
:IHIStogram:MULTi:WINDow<x>:MARKer:{LEFT|RIGHt}
Sets the marker position of the specified window or queries the current setting. 4-50
:IHIStogram:POLarity Sets the polarity or queries the current setting. 4-50 :IHIStogram:SYNC Turns ON/OFF the Sync function or queries the current setting. 4-50 :IHIStogram:TARGet Sets the analysis target or queries the current setting. 4-50 :IHIStogram:TMODe Sets the trigger mode or queries the current setting. 4-50 :IHIStogram:TRIGger Sets the trigger condition or queries the current setting. 4-51
INPut Group
:INPut? Queries all settings related to the input. 4-52 :INPut:{ACHannel|BCHannel}? Queries all settings related to the specified channel. 4-52 :INPut:{ACHannel|BCHannel}:COUPling
Sets the coupling of the specified channel or queries the current setting. 4-53
:INPut:{ACHannel|BCHannel}:IMPedance
Sets the input impedance of the specified channel or queries the current setting. 4-53
:INPut:{ACHannel|BCHannel}:TRIGger?
Queries all settings related to the trigger of the specified channel. 4-53
:INPut:{ACHannel|BCHannel}:TRIGger:LEVel
Sets the trigger level of the specified channel or queries the current setting. 4-53
:INPut:{ACHannel|BCHannel}:TRIGger:MODE
Sets the trigger mode of the specified channel or queries the current setting. 4-53
:INPut:AGATe? Queries all settings related to arming and external gate. 4-53 :INPut:AGATe:LEVel Sets the arming/gate level or queries the current setting. 4-53 :INPut:BCHannel:PHASe? Queries all settings related to the CH B phase adjustment. 4-53 :INPut:BCHannel:PHASe:ADJust Sets the phase adjustment time of CH B or queries the current setting. 4-53 :INPut:INHibit? Queries all settings related to inhibit. 4-54 :INPut:INHibit:LEVel Sets the inhibit level or queries the current setting. 4-54
MEASure Group
:MEASure? Queries all settings related to the measurement conditions. 4-55 :MEASure:FUNCtion Sets the measurement function or queries the current setting. 4-55 :MEASure:MODE Sets the sampling mode or queries the current setting. 4-56 :MEASure:POLarity Sets the pulse width polarity or queries the current setting. 4-56 :MEASure:SLOPe Sets the slope of the period/A-to-B time interval or queries the current setting.4-56
MEMory Group
:MEMory? Queries all settings related the external transmission of the measured data. 4-57 :MEMory:BLOCk Sets the target block for block sampling or queries the current setting. 4-57 :MEMory:BSIZe? Queries the number of blocks in which the measurements are valid. 4-57 :MEMory:BYTeorder Sets the transmission order of binary data or queries the current setting. 4-57 :MEMory:CLEar Clears the measured data. 4-57 :MEMory:DATaselect Sets the data to be transmitted or queries the current setting. 4-58 :MEMory:END Sets the data position of transmission end or queries the current setting. 4-58 :MEMory:FORMat Sets the format of the data to be transmitted or queries the current setting. 4-58 :MEMory:SEND<x>? Executes the transmission of the measured data specified by
MEMory:DATaselect.” 4-58
:MEMory:SIZE<x>? Queries the number of data points that have been measured. 4-59
4
Command
4-5IM 704510-17E
4.1 List of Commands
Command Function Page
:MEMory:STARt Sets the data position of transmission start or queries the current setting. 4-59
RECall Group
:RECall Recalls the setup data. 4-59
SAMPle Group
:SAMPle? Queries all settings related to sampling. 4-61 :SAMPle:ARMing? Queries all settings related to arming. 4-61 :SAMPle:ARMing:DELay? Queries all settings related to arming delay. 4-61 :SAMPle:ARMing:DELay:{AEVentsize|BEVentsize|EVENtsize}
:SAMPle:ARMing:DELay:{ATIMe|BTIMe|TIME}
:SAMPle:ARMing:DELay[:MODE] Sets the arming delay mode or queries the current setting. 4-62 :SAMPle:ARMing:SLOPe Sets the arming slope or queries the current setting. 4-62 :SAMPle:ARMing:SOURCe Sets the arming source or queries the current setting. 4-62 :SAMPle:BLOCk? Queries all settings related to block sampling. 4-62 :SAMPle:BLOCk:REST? Queries all settings related to block sampling rest. 4-62 :SAMPle:BLOCk:REST:EVENt Sets the rest time of block sampling in terms of the number of events or
:SAMPle:BLOCk:REST[:MODE] Sets the block sampling rest mode or queries the current setting. 4-63 :SAMPle:BLOCk:REST:TIME Sets the block sampling rest time or queries the current setting. 4-63 :SAMPle:BLOCk:SIZE Sets the number of blocks of block sampling or queries the current setting. 4-63 :SAMPle:BLOCk[:STATe] Turns ON/OFF block sampling or queries the current setting. 4-63 :SAMPle:GATE? Queries all settings related to the gate. 4-63 :SAMPle:GATE:EVENtsize Sets the gate in terms of the number of events or queries the current setting. 4-63 :SAMPle:GATE[:MODE] Sets the gate type or queries the current setting. 4-64 :SAMPle:GATE:POLarity Sets the polarity of the external gate or queries the current setting. 4-64 :SAMPle:GATE:TIME Sets the gate time in terms of time or queries the current setting. 4-64 :SAMPle:INHibit Sets the polarity of inhibit input or queries the current setting. 4-64 :SAMPle:INTerval Sets the sampling interval or queries the current setting. 4-64 :SAMPle:RCLock Sets reference sampling clock or queries the current setting. 4-64
SSTart Group
:SSTart Executes single measurement. 4-64
STARt Group
:STARt Starts the measurement. 4-64
STATus Group
:STATus? Queries all settings related to the communication status. 4-65 :STATus:CONDition? Queries the contents of the condition register. 4-65 :STATus:EESE Sets the extended event enable register or queries the current setting. 4-65 :STATus:EESR? Queries the content of the extended event register and clears the register. 4-65 :STATus:ERRor? Queries the error code and message information. 4-65 :STATus:FILTer<x> Sets the transition filter or queries the current setting. 4-65 :STATus:QMESsage Sets whether or not to attach message information to the response to the
STOP Group
:STOP Stops the measurement. 4-66
STORe Group
:STORe Stores the setup data. 4-66
SYSTem Group
:SYSTem? Queries all settings related to the SYSTem group. 4-67 :SYSTem:BEEP Turns ON/OFF the beep sound or queries the current setting. 4-67 :SYSTem:CLICksound Turns ON/OFF the click sound or queries the current setting. 4-68 :SYSTem:DATE Sets the date or queries the current setting. 4-68 :SYSTem:LCD? Queries all settings related to the LCD. 4-68 :SYSTem:LCD:AOFF Turns ON/OFF the auto off function of the LCD or queries the current setting. 4-68 :SYSTem:LCD:ATIMe Sets the auto off time of the LCD or queries the current setting. 4-68 :SYSTem:LCD:BRIGhtness Sets the brightness of the LCD or queries the current setting. 4-68 :SYSTem:LCD[:STATe] Turns ON/OFF the LCD backlight or queries the current setting. 4-68 :SYSTem:TIME Sets the time or queries the current setting. 4-68 :SYSTem:WARNing Turns ON/OFF the warning display or queries the current setting. 4-68
Sets the arming delay event of the specified channel or queries the current setting. 4-62
Sets the arming delay time of the specified channel or queries the current setting. 4-62
queries the current setting. 4-63
:STATus:ERRor?” query or queries the current setting. 4-65
4-6 IM 704510-17E
4.1 List of Commands
Command Function Page TVARiation Group
:TVARiation<x>? Queries all settings related to time variation. 4-69 :TVARiation<x>:HORizonatal? Queries all settings related to the horizontal axis (X-axis) of the time
variation display. 4-69
:TVARiation<x>:HORizonatal:MINimum
Sets the left end of the horizontal axis (X-axis) scale or queries the current setting. 4-70
:TVARiation<x>:HORizonatal:SPAN Sets the span of the horizontal axis (X-axis) scale or queries the current
setting. 4-70
:TVARiation<x>:MARKer? Queries all settings related to the marker. 4-70 :TVARiation<x>:MARKer:{HIGH|LOW} Sets the position of the high/low marker or queries the current setting. 4-70 :TVARiation<x>:MARKer:{LEFT|RIGHt}
Sets the position of the left/right marker or queries the current setting. 4-70
:TVARiation<x>:MARKer:{LVALue?|RVALue?}
Queries the measured value at the left/right marker position. 4-70
:TVARiation<x>:MARKer[:STATe] Turns ON/OFF the marker cursor or queries the current setting. 4-70 :TVARiation<x>:VERTical? Queries all settings related to the vertical axis (Y-axis). 4-70 :TVARiation<x>:VERTical:CENTer Queries the center value of the vertical axis (Y-axis). 4-70 :TVARiation<x>:VERTical:SPAN Queries the span of the vertical axis (Y-axis). 4-71
UNIT Group
:UNIT? Queries the default unit of voltage, time and frequency. 4-71 :UNIT:VOLTage Sets the default unit of voltage or queries the current setting. 4-71 :UNIT:TIME Sets the default unit of time or queries the current setting. 4-71 :UNIT:FREQuency Sets the default unit of frequency or queries the current setting. 4-71
Common Command Group
*CAL? Performs calibration and queries the result. 4-72 *CLS Clears the standard event register, extended event register, and error queue. 4-72 *ESE Sets the standard event enable register or queries the current setting. 4-72 *ESR? Queries the standard event register and clears the register. 4-72 *IDN? Queries the instrument model. 4-72 *OPC Sets the bit 0 (OPC bit) of the standard event register to 1 upon the
completion of the specified overlap command. 4-72
*OPC? Creates a response upon the completion of the specified overlap command. 4-72 *RST Resets the settings. 4-73 *SRE Sets the service request enable register or queries the current setting. 4-73 *STB? Queries the status byte register. 4-73 *TRG? Executes single measurement. 4-73 *TST? Performs a self-test and queries the result. 4-73 *WAI Holds the subsequent command until the completion of the specified
overlap operation. 4-73
4
Command
4-7IM 704510-17E
Loading...
+ 100 hidden pages