YOKOGAWA AQ6370C, AQ6375, AQ6373, AQ6370D User Manual

User’s Manual
AQ6370C/AQ6373/AQ6375 Optical Spectrum Analyzer Remote Control
IM AQ6370C-17EN
3rd Edition
Foreword
Thank you for purchasing the AQ6370C/AQ6373/AQ6375 Optical Spectrum Analyzer. This remote control user’s manual covers the AQ6370C, AQ6373 and AQ6375. It describes the following.
GP-IB Interface RS-232 Interface
• Ethernet Interface and Communication Commands
• Program Functions To ensure correct use, please read this manual thoroughly before beginning operation. After reading this manual, keep it in a convenient location for quick reference in the event a question arises during operation. In addition to this manual, there is one individual manual each for the AQ6370C, AQ6373 and AQ6375. Read them along with this manual.
AQ6370C
Manual Title Manual No. Description
AQ6370C Optical Spectrum Analyzer User’s Manual
AQ6370C Optical Spectrum Analyzer Getting Started Guide
IM AQ6370C-01EN The manual is located on the CD included in
your package (pdf format). Explains all functions and operating procedures of the AQ6370C except remote control and program functions.
IM AQ6370C-02EN Explains the handling precautions, installation
procedure, component names, and specifications of the AQ6370C.
AQ6373
Manual Title Manual No. Description
AQ6373 Optical Spectrum Analyzer User’s Manual
AQ6373 Optical Spectrum Analyzer Getting Started Guide
IM AQ6373--01EN The manual is located on the CD included in
your package (pdf format). Explains all functions and operating procedures of the AQ6373 except remote control and program functions.
IM AQ6373-02EN Explains the handling precautions, installation
procedure, component names, and specifications of the AQ6373.
AQ6375
Manual Title Manual No. Description
AQ6375 Optical Spectrum Analyzer User’s Manual
AQ6375 Optical Spectrum Analyzer Getting Started Guide
Notes
• The contents of this manual are subject to change without prior notice as a result of improvements in the instrument’s performance and functions. Display contents illustrated in this manual may differ slightly from what actually appears on your screen.
Every ef
of its contents. However, should you have any questions or find any errors, please contact your nearest YOKOGAWA dealer.
• Copying or reproducing all or any part of the contents of this m permission of Yokogawa Meters&Instruments Corporation is strictly prohibited.
3rd Edition: October 2011 (YMI) All Rights Reserved, Copyright © 2010 Yokogawa Meters & Instruments Corporation
fort has been made in the preparation of this manual to ensure the accuracy
IM AQ6375-01EN The manual is located on the CD included in
your package (pdf format). Explains all functions and operating procedures of the AQ6375 except remote control and program functions.
IM AQ6375-02EN Explains the handling precautions, installation
procedure, component names, and specifications of the AQ6375.
anual without the
i
Foreword
Trademarks
Revisions
• Microsoft and Windows are registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
• Adobe and incorporated.
• The company and product names used in this manual are not registered trademark or trademark symbols (® and TM).
• Other company and product names are registered trademarks respective companies.
• 1st Edition September, 2010
• 2nd Edition January, 2011
• 3rd Edition October, 2011
Acrobat are registered trademarks or trademarks of Adobe Systems
accompanied by the
or trademarks of their
ii

Safety Precautions

This instrument is an IEC protection class I instrument (provided with terminal for protective earth grounding). The general safety precautions described herein must be observed during all phases of operation. If the instrument is used in a manner not specified in this manual, the protection provided by the instrument may be impaired. Yokogawa Electric Corporation assumes no liability for the customer’s failure to comply with these requirements.
The following safety symbols and wording is used in this manual.
Warning: Handle with care. Refer to the user’s manual or service manual.
This symbol appears on dangerous locations on the instrument which require
special instructions for proper handling or use. The same symbol appears in the corresponding place in the manual to identify those instructions.
Alternating current
ON (power)
OFF (power)
iii

Conventions Used in This Manual

Safety Markings
The following safety markings are used in this manual.
Improper handling or use can lead to injury to the user or damage
to the instrument. This symbol appears on the instrument to indicate that the user must refer to the users manual for special instructions. The same symbol appears in the corresponding place in the user’ s manual to identify those instructions. In the manual, the symbol is used in conjunction with the word “WARNING” or “CAUTION.”
WARNING
CAUTION
Calls attention to information that is important for proper operation of
Note
Calls attention to actions or conditions that could cause serious or
fatal injury to the user, and precautions that can be taken to prevent such occurrences.
Calls attention to actions or conditions that could cause light injury to
the user or damage to the instrument or user’s data, and precautions that can be taken to prevent such occurrences.
the instrument.
Notations Used in the Procedural Explanations
On pages that describe the operating procedures in each chapter, the following notations are used to distinguish the procedure from their explanations.
Procedure
Explanation
This subsection contains the operating procedure used to carry out
the function described in the current section. The procedures are written with inexperienced users in mind; experienced users may not need to carry out all the steps.
This subsection describes the setup parameters and the limitations
on the procedures.
Units
iv
Terms Used in Explanations of Procedures
Panel Keys and Soft Keys
Bold characters used in the procedural explanations indicate characters that are marked on the panel keys or the characters of the soft keys displayed on the screen menu.
SHIFT+Panel Key
SHIFT+key means you will press the SHIFT key to turn it ON and then press the panel key. The setup menu marked in purple below the panel key that you pressed appears on screen.
k Denotes 1000. Example: 12 kg, 100 kHz
K Denotes 1024. Example: 459 KB (file size)

How To Use This Manual

Structure of This Manual
This user’s manual consists of the following eight chapters, an appendix, and an index.
Chapter 1 Remote Control Functions
This section describes the various types of communication interfaces and program
functions.
Chapter 2 GP-IB Interface (GP-IB1 Port)
Describes the functions and lists the specifications of the GP-IB1 port.
Chapter 3 Ethernet Interface
Describes the functions and lists the specifications of the Ethernet interface.
Chapter 4 Serial (RS-232) Interface
Describes the functions and lists the specifications of the RS-232 interface.
Chapter 5 GP-IB Interface (GP-IB2 Port)
Describes the functions and lists the specifications of the GP-IB2 port.
Chapter 6 Status Registers
Explains the status byte and describes the various kinds of registers, cues, and other
items.
Chapter 7 Remote Commands
Describes each individual command that can be used.
Chapter 8 Program Function
Explains the program function for controlling another instrument using the
AQ6373/AQ6375 as the controller.
Appendix
Lists commands that are compatible with the AQ6317.
Index
An alphabetical index.
AQ6370C/
v

Contents

Safety Precautions ........................................................................................................................... iii
Conventions Used in This Manual ...................................................................................................iv
How To Use This Manual ..................................................................................................................v
Chapter 1 Remote Control Functions
1.1 Remote Interfaces ............................................................................................................ 1-1
1.2 Switching between Local and Remote ............................................................................. 1-2
1.3 Sending/Receiving Remote Commands .......................................................................... 1-3
Chapter 2 GP-IB Interface (GP-IB1 Port)
2.1 Connecting via GP-IB ....................................................................................................... 2-1
2.2 GP-IB Interface Function .................................................................................................. 2-3
2.3 GP-IB
2.4 Setting the GP-IB
2.5 Responses to Interface Messages ................................................................................... 2-7
2.6 Sample Program ......................................................................................................
Chapter 3 Ethernet Interface
3.1 Connecting via Ethernet ................................................................................................... 3-1
3.2 Setting Up Ethernet .......................................................................................................... 3-2
3.3 Sample Program ......................................................................................................
InterfaceSpecications ......................................................................................... 2-4
Address ............................................................................................... 2-5
........ 2-9
........ 3-6
Chapter 4 Serial (RS-232) Interface
4.1 Connecting via the Serial (RS-232) Interface .................................................................. 4-1
4.2 Remote Control Using Commands ................................................................................... 4-4
4.3 Setting Up RS-232 ......................................................................................................
Chapter 5 GP-IB Interface (GP-IB2 Port )
5.1 Connecting via GP-IB2 ..................................................................................................... 5-1
5.2 GP-IBInterfaceSpecications ......................................................................................... 5-2
5.3 Setting the GP-IB
Address ............................................................................................... 5-3
Chapter 6 Status Registers
6.1 Status Registers ............................................................................................................... 6-1
6.2 Status Byte Registers ....................................................................................................... 6-3
6.3 Standard Event Status Registers ..................................................................................... 6-5
6.4 Operation Status Registers .............................................................................................. 6-7
6.5 Questionable Status Registers ....................................................................................... 6-10
Chapter 7 Remote Commands
7.1 Rules of Syntax and Command Types ............................................................................. 7-1
7.2 Table of Correspondence between Soft Keys and Remote Commands .......................... 7-4
7.3 ANAL
7.4 Remote Command
7.5 Common Commands .....................................................................................................
7.6 Instrument-Specic
vi
YSIS Setting Parameters ...................................................................................... 7-17
Tree ................................................................................................. 7-26
Commands ..................................................................................... 7-36
ABORt Sub System Command .............................................................................. 7-36
CALCulate Sub System Command ........................................................................ 7-36
CALibration Sub System Command ....................................................................... 7-55
..... 4-5
7-33
1
2
3
4
5
6
7
8
App
Index
DISPlay Sub System Command............................................................................. 7-56
FORMat Sub System Command ............................................................................ 7-62
HCOPY Sub System Command ............................................................................. 7-62
INITiate Sub System Command ............................................................................. 7-63
MEMory Sub System Command ............................................................................ 7-63
MMEMory Sub System Command ......................................................................... 7-64
PROGram Sub System Command ......................................................................... 7-67
SENSe Sub System Command .............................................................................. 7-68
STATus Sub System Command ............................................................................. 7-71
SYStem Sub System Command ............................................................................ 7-72
TRACe Sub System Command .............................................................................. 7-76
TRIGger Sub System Command ............................................................................ 7-80
UNIT Sub System Command ................................................................................. 7-81
7.7
Output Format for
Chapter 8 Program Function
8.1 Editing a Program ............................................................................................................. 8-1
8.2 Executing a Program ........................................................................................................ 8-9
8.3 Program Function Commands ....................................................................................... 8-15
8.4 Controlling an External Instrument with the Program Func
8.5 Sample Program ......................................................................................................
Contents
Analysis Results ................................................................................ 7-82
tion ...................................... 8-55
...... 8-57
Appendix AQ6317-Compatible GP-IB Commands
Switching Command Modes .....................................................................................................App-1
Index
AQ6317 Status Byte .................................................................................................................App-3
List of the AQ6317-Compatible Commands..............................................................................App-4
HIGH1, HIGH2, HIGH3 of Measurement Sensitivity ..............................................................App-17
vii
1

Chapter 1 Remote Control Functions

1.1 Remote Interfaces

This instrument is equipped with the following remote interfaces.
GP-IB1 (IEEE 488.2, See Chapter 2)
This port is used to connect a controller such as a PC to remote control this instrument. Connect a controller or another device controlled by the controller to this port. This instrument is controlled using remote commands. Two types of remote commands are provided: the instrument’s native commands complying with SCPI (Standard Commands for Programmable Instruments), and commands compatible with the conventional model AQ6317 (see the appendix).
GP-IB2 (IEEE 488.1, See Chapter 5)
The instrument acts as a controller for remote control of external instruments. Connect to the external device to be controlled using the instrument’s program function.
RS-232 (See Chapter 3)
This port is used to connect a controller such as a PC to control the instrument remotely.
Remote Control Functions
Ethernet (See Chapter 4)
This port is used to connect a controller such as a PC to control the instrument remotely via network.
GP-IB1 and GP-IB2 Ports
The GP-IB1 and GP-IB2 ports must be used differently for different purposes. The GP-IB1 port is used when controlling the instrument from a PC. The GP-IB2 port is used when controlling an external instrument from the AQ6370C/ AQ6373/AQ6375. Therefore, please note the following.
controller such as a PC that is connected to the GP-IB2 port cannot remotely control
A
the AQ6370C/AQ6373/AQ6375.
• Even if a turnable laser source or an external device to be con
AQ6373/AQ6375 using program functions is connected to the GP-IB1 port, it cannot remote control the AQ6370C/AQ6373/AQ6375.
• The GP-IB1 and GP-IB2 ports are independent of each other
connected to the GP-IB1 port cannot directly send a message to an external device connected to the GP-IB2 port.
• When a PC or other controller is connected to the GP-IB1 port
port with the GP-IB2 port results in improper operation. Do not connect these ports together, or turn OFF the system c The default is ON.
trolled by the AQ6370C/
. Thus, a controller
, connecting the GP-IB1
ontroller function.
1-1
1-2

1.2 Switching between Local and Remote

Switching from Local to Remote
When in Local mode, if a listen address is sent from the controller that sets REN (remote enable) and ATN to “True,” the instrument enters Remote mode.
• When in Remote mode, the REMOTE indicator lights.
Keys other than the LOCAL key are disabled.
• Settings entered in Local mode are held even if switching to Remote mode.
• When an LLO (Local Lock Out) message is received from the controller, the instrument enters local lockout status. In LLO status, the LOCAL key is disabled and does not return the instrument to Local mode even when pressed. After cancelling the local lockout status, press the LOCAL key. To cancel the local lockout status, set REN to “False” from the controller.
Switching from Remote to Local
If you press the LOCAL key when in Remote mode the instrument enters Local mode. However, it does not return to Local mode if in the local lockout state.
• The REMOTE indicator turns of
• All keys are enabled.
• Settings entered in Remote mode are held even if switching to Local mode.
• When a GTL (Go to Local) message is received from the controller, the instrument enters Local mode even if REN is set to False.
f.
1

1.3 Sending/Receiving Remote Commands

Buffers
Input Buffer
The instrument’s input buffer is a single stage 1 MB buffer. When receiving data that exceeds the buffer size, the data after the first megabyte is discarded. The remote command after the last command separator of the 1 MB of data is deleted.
Output Buffer
The instrument’s output buffer is a single stage 1 MB buffer. Only the most recent data is held. (When a talker command is received while there is data in the buffer, the old data in the buffer is replaced with the incoming data.) When talker commands are combined and executed resulting in generation of talker data that exceeds the buffer size, the following process is carried out.
The query error bit (QYE) of the standard event status register
• The talker output buffer is cleared.
• Commands received even after the buffer overflow are processed. Note, however, that talker data by talker commands is not stored at the output buffer.
Error Buffer
This instrument’s error buffer is of a single stage and stores only the latest error information.
is set to 1.
Remote Control Functions
Message Terminators
This instrument allows the following message terminators to be used.
Program Message Terminators
• Assertion of EOI (End-Of-Identify) signal
• LF (line feed) character
• LF+EOI
Here, LF is a line feed (0Ah) in ASCII. For CR + LF, because CR (0Dh) is recognized as “wsp,” CR + LF can consequently also be used as a message terminator. Also, for waveform binary transfer, only EOI is used as a message terminator.
Response Message Terminator
LF+EOI is used as the response message terminator.
Receiving Remote Commands
• When completing receipt of a remote command, the instrument releases the GP-IB bus.
• When receiving the next command while a command action is instrument captures that command to store it in the receive buffer, and then releases the GP-IB bus.
• When there is a remote command in the receive buf capture a successive command even if there are commands on the GP-IB bus.
• When the action of the preceding command is complete, the in command stored in the receive buffer and clears the buffer. Then it captures the next command into the receive buffer if there is one on the bus.
• When an output statement contains multiple remote command captures them all and services them in the order they were written. In this case, unless the last command in the statement has started to be executed, this instrument cannot capture the next command.
being executed, the
fer, the instrument does not
strument executes the
s, this instrument
1-3
1.3 Sending/Receiving Remote Commands
Data Inquiry
• Inquiry of data by the external controller is made using a query command or a data output request from the controller.
• Query commands end with a question mark (?).
For query commands with an argument, the argument is specified in the form of
<wsp> + <argument> at the end of the “?”.
• When a query command is received, the instrument prepares command in the output buffer.
• Data in the output buf statement or a new query command from the controller.
• If multiple query commands are specified and written in succe “;”, the instrument prepares replies to all of them in the output buffer. In this case, the instrument will collectively output all of the prepared data when receiving the next data output request.
Setting the timeout time
A timeout time setting of 30 seconds or more is recommended. At approximately 10 minute intervals, the instrument performs an auto offset for approximately 30 seconds. The communication timeout of the external controller should be set to 30 seconds or more so that a timeout does not occur during the execution of the offset. See the user’s manual of your remote interface card for instructions on how to set the communication timeout time.
a reply to the query
fer will be retained until the instrument receives an input
ssion using a semicolon
The instrument's auto offset function is set to ON by default, and it performs offset of the analog circuits at approximately 10 minute intervals. The offset process takes about 30 seconds. On the AQ6373 and AQ6375, during this offset process, the receiving of remote commands, execution of remote commands, and talker data transmission processes are suspended. If an external controller sends a remote command or requests output of talker data while the suspension is in effect, the external controller may experience a communication timeout error because the instrument cannot perform the requested action until the offset process is complete.
If you do not want to set the communication timeout to 30 seconds or less
To avoid remote malfunctions due to communication timeouts, offset processing can be performed manually. Turn the auto offset function OFF in advance, and perform the offset manually during a gap in measurement sequences. Wait approximately 30 seconds until the offset process is finished. After the offset is complete, restart the measurement sequence. The remote commands are as follows. T
urn OFF the auto of
Perform a manual offset
fset function
:CALibration:ZERO off :CALibration:ZERO once
Note
• An offset interval of 10 minutes is recommended.
• If the AUTO OFFSET key is OFF, the offset can fluctuate over time, and the level axis performance can degrade. Always have it turned ON.
• When the AUTO OFFSET key is set to ON, is displayed at the bottom of the screen.
Device Trigger Function
When GET (Group Execute Trigger) is received, the instrument will perform a single sweep.
1-4
1
2
GP-IB1
GP-IB2

Chapter 2 GP-IB Interface (GP-IB1 Port)

2.1 Connecting via GP-IB

GP-IB Cable
This instrument is equipped with an IEEE standard 488-1978 24-pin GP-IB connector. Use a GP-IB cable that conforms to the IEEE standard 488-1978.
Connections
The instrument has two ports, GP-IB1 and GP-IB2. GP-IB1 port: Can be connected to a PC for remote control of the instrument from the
PC.
GP-IB2 port: Can be connected to another instrument for remote control of that
instrument using the
For now, you will connect a PC to the GP-IB1 port. Turn OFF all the power switches of the AQ6370C/AQ6373/AQ6375 and any devices to be connected to it. Connect a cable to the GP-IB1 port on the rear panel of the instrument.
GP-IB Interface (GP-IB1 Port)
AQ6370C/AQ6373/AQ6375’s program function.
CAUTION
Always turn OFF the power to the instrument and the PC when connecting or disconnecting communication cables. Failure to turn OFF the power can result in malfunction or damage to internal circuitry.
Precautions When Making Connections
• Securely fasten the screw that is attached to the GP-IB cable connector.
• You can connect several cables to connect to several devices. However, fifteen or more devices including the controller cannot be connected to a single bus.
hen connecting several devices, you cannot specify the same address for more than
• W one.
• Use a cable of two meters or longer to connect between devic
• Ensure that the total length in cables does not exceed twenty meters.
• When carrying out communications, make sure that at least two-thirds of all connected devices are turned ON.
es.
2-1
2-2
2.1 Connecting via GP-IB
• When connecting multiple devices, use a star or linear configuration as shown in the figure below. A loop or parallel configuration cannot be used.
1
2

2.2 GP-IB Interface Function

GP-IB Interface Function
Listener Function
• All of the same settings can be performed using the interface (except for power ON/ OFF and communication settings) as when using the instrument’s panel keys.
• Settings, waveforms, and other data can be received through the controller.
• Additionally
Talker Function
• Settings, waveforms, and other data can be output.
Note
Listen only, talk only, and controller functions are not available.
Switching between Remote and Local
Switching from Local to Remote
When in Local mode, if the instrument received a listen address from the controller that sets REN (remote enable) and ATN to “True,” the instrument enters Remote mode.
• When in Remote mode, the REMOTE indicator lights.
Keys other than the LOCAL key are disabled.
• Settings entered in Local mode are held even if switching to Remote mode.
• When an LLO (Local Lock Out) message is received from the controller, the instrument enters local lockout status. In LLO status, the LOCAL key is disabled and does not return this instrument to Local mode even when pressed. After cancelling the local lockout status, press the LOCAL key. To cancel the local lockout status, set REN to "False" from the controller.
, you can also receive commands regarding status reports and other data.
GP-IB Interface (GP-IB1 Port)
output commands from
Switching from Remote to Local
If you press the LOCAL key when in Remote mode the instrument enters Local mode. However, it does not return to Local mode if in the local lockout state.
• The REMOTE indicator turns of
• All keys are enabled.
• Settings entered in Remote mode are held even if switching to Local mode.
• When a GTL (Go to Local) message is received from the controller, the instrument enters Local mode even if REN is set to False.
f.
Note
The GP-IB interface cannot be used simultaneously with other communication interfaces (RS-232, USB, or Ethernet).
2-3
2-4

2.3 GP-IB Interface Specifications

GP-IB Interface Specifications
Electromechanical specifications: Conforms to IEEE std. 488-1978 Functional specifications: See table below Protocols: Conforms to IEEE std. 488.2-1992 Encoding: ISO (ASCII) Mode: Addressable mode Address setting: Addresses
screen in the SYSTEM menu.
Remote mode cancel:
Press LOCAL
this is disabled when under Local Lockout by the controller.
Functional Specifications
Function Subset Description
Source handshake SH1 All capabilities of send handshake
Acceptor handshake AH1 All capabilities of receive handshake
Talker T6 Basic talker function, serial polling, and talker
Listener L4
Service request SR1
Remote local RL1 All Remote/Local functions
Parallel port PP0 Parallel polling function not provided
Device clear DC1 All device clear functions Output buffer clear Input buffer clear (clearing of an unexecuted
Error buffer clear STB, ESR clear
Device trigger
Controller C0 Controller function not provided
Electrical characteristics E1 Open collector
DT0 Device trigger function
Basic listener function, serial polling, and listener
All service request functions
0-30 can be set in the GP-IB setting
cancel function through MLA (my listen address). Talker only not provided.
cancel function through MLA (my listen address). Listener only not provided.
commands)
to cancel Remote mode. Note that
1
2

2.4 Setting the GP-IB Address

GP-IB address setting
See chapter 5
Command format
See chapter 5
See chapter 5
Procedure
Selecting the Communication Interface
Press SYSTEM. The system setting menu is displayed.
1.
Press the MORE1/4 soft key. The communication interface setting menu is
2.
displayed.
Press the REMOTE INTERFACE soft key. The setting menu for the interface to
3.
be used is displayed.
Press the GP-IB soft key to specify GP-IB as the communication interface.
4.
GP-IB Interface (GP-IB1 Port)
Setting the Address
Press the GP-IB SETTING soft key. The GP-IB setting menu is displayed.
5.
Press the MY ADDRESS soft key. The GP-IB address setting screen is displayed.
6.
Set the GP-IB address using the rotary knob or the arrow keys, and press
7.
ENTER.
2-5
2-6
2.4 Setting the GP-IB Address
Setting the Command Format
Explanation
The settings below are used when entering the settings that can be entered using the instrument’s panel keys from a controller, or when outputting settings or waveform data to the controller.
GP-IB Address Settings
When in Addressable mode, set the instrument’s address within the following range. 0–30 Each device that can be connected via GP-IB has its own unique GP-IB address. This address allows each device to be distinguished from other devices. Therefore, when connecting the instrument to a PC or other device, make sure not to set the same address on the instrument as any of the other devices.
Perform these steps if you will use AQ6370C/AQ6373/AQ6375 commands.
8.
Press the COMMAND FORMAT soft key. The command format setting menu is displayed.
Normally, you will enter AQ6370C, AQ6373 or AQ6375. If you wish to use AQ6317
9.
commands, enter AQ6317.
Note
• Do not change an address while the controller or other devices are using GP-IB.
• Set addresses other than those used by the GP-IB2 port.
Command Format Settings
Normally, you will enter AQ6370C, AQ6373 or AQ6375 mode. If you wish to use the commands of the AQ6317 (another product in the series), enter AQ6317. See the appendix for AQ6317 commands that are compatible with the AQ6370C/AQ6373/AQ6375.
Note
Controller functions and TLS address settings are entered when controlling an external device using the GP-IB2 port. These settings are invalid for the GP-IB1 port.
1
2

2.5 Responses to Interface Messages

Responses to Interface Messages
Responses to Uniline Messages
IFC (Interface Clear)
Clears talker and listener. Output is cancelled if outputting data.
REN (Remote Enable)
Switches between Local and Remote.
IDY (Identify) is not supported.
Responses to Multiline Messages (Address Commands)
GTL (Go To Local)
Switches to Local mode.
SDC (Selected Device Clear)
• Clears program messages (commands) being received, and the output queue.
• The *OPC and *OPC? commands are invalid during execution.
• The *WAI command closes immediately.
PPC (parallel poll configure), GET (group execute trigger), and TCT (take control) are not supported.
GP-IB Interface (GP-IB1 Port)
Responses to Multiline Messages (Universal Commands)
LLO (Local Lockout)
Disables the front panel SHIFT+CLEAR operation, and prohibits switching to Local
mode.
DCL (Device Clear)
Same operation as SDC.
SPE (Serial Poll Enable)
Places the talker function of all devices on the bus in Serial poll mode. The controller
polls each device in order.
SPD (Serial Poll Disable)
Cancels Serial poll mode for the talker function of all devices on the bus.
PPU (Parallel Poll Unconfigure) is not supported.
Definition of Interface Messages
Interface messages are also called interface commands or bus commands, and are commands that are issued from the controller. Interface messages come in the following categories.
Uniline Messages
A message is sent through a single command line. The following are the three types of uniline messages. IFC (Interface Clear) REN (Remote Enable) IDY (Identify)
2-7
2-8
Interface Messages
Uniline
messages
Address
commands
Universal
commands
IFC REN IDY
GTL SDC PPC GET TCT
LLO DCL PPU SPE SPD
Listener
address
Talker
address
Secondary
command
Multiline messages
2.5 Responses to Interface Messages
Multiline Messages
A message is sent through eight data lines. Multiline messages come in the following categories.
Address Commands
These commands are valid when the device is specified as the listener or the talker.
The following are the five types of address commands.
Commands valid for devices specified as listeners
GTL (Go SDC (Selected Device Clear) PPC (Parallel Poll Configure) GET (Group Execute Trigger)
Commands valid for devices specified as talkers
TCT (Take Control)
Universal Commands
These commands are valid for all devices regardless of whether they are specified as
listeners, talkers, or neither. The following are the three types of universal commands. LLO (Local Lockout) DCL (Device Clear) PPU (Parallel)
To Local)
Additionally secondary command.
A star indicates an interface message supported by this instrument.
Note
Differences between SDC and DCL
Of the multiline messages, SDC is an address command requires specification of the talker
, an interface message can consist of a listener address, talker address, or
or listener, and DCL is a universal command that does not require specification of the talker or listener. Therefore, SDC is applicable only to certain devices, but DCL is applicable to all devices on the bus.
1
2

2.6 Sample Program

The following shows an example of controlling the AQ6370C/AQ6373/AQ6375 remotely using the GP-IB port. The sample program uses Visual Basic 6.0 as the programming language. Also, a GP-IB board by National Instruments (hereinafter, “NI”) is used as the GP-IB controller and the NI-supplied driver is used as a library.
Sample Program 1
The program sets the measurement conditions (center wavelength, span, sensitivity, and the sampling number) and then performs a sweep. After completing this sweep, the program executes a thresh-based spectrum width analysis and then outputs the results to the screen.
Const BOARD_ID = 0 ' GP-IB Interface card
Const osa = 1 ' OSA GP-IB Address
Private Sub AQ637XTEST() Dim intData As Integer Dim dblMeanWL As Double Dim dblSpecWd As Double Dim strData As String
' === GP-IB Interface setting === ' send IFC Call SendIFC(BOARD_ID)
GP-IB Interface (GP-IB1 Port)
Address
' assert th REN GPIB line intAddrList(0) = NOADDR Call EnableRemote(BOARD_ID, intAddrList())
' GPIB time out setting Call ibtmo(BOARD_ID, T30s) ' Time out = 30sec
' === Set the measurement parameter === Call SendGPIB(osa, "*RST") ' Setting initialize Call SendGPIB(osa, "CFORM1") ' Command mode
set(AQ637X mode) Call SendGPIB(osa, ":sens:wav:cent 1550nm") ' sweep center wl Call SendGPIB(osa, ":sens:wav:span 10nm") ' sweep span Call SendGPIB(osa, ":sens:sens mid") ' sens mode = MID Call SendGPIB(osa, ":sens:sweep:points:auto on")
' Sampling Point = AUTO
' === Sweep execute === Call SendGPIB(osa, ":init:smode 1") ' single sweep mode Call SendGPIB(osa, "*CLS") ' status clear Call SendGPIB(osa, ":init") ' sweep start
' === Wait for sweep complete === Do Call SendGPIB(osa, ":stat:oper:even?") ' get Operation Event
Register strData = RecieveGPIB(osa) intData = Val(strData) Loop While ((intData And 1) <> 1) ' Bit0: Sweep status
' === Analysis === Call SendGPIB(osa, ":calc:category swth") ' Spectrum width
analysis(THRESH type) Call SendGPIB(osa, ":calc") ' Analysis Execute Call SendGPIB(osa, ":calc:data?") ' get data strData = RecieveGPIB(osa)
2-9
2-10
2.6 Sample Program
' === Capture analytical results === dblMeanWL = Val(Left(strData, 16)) ' get mean wavelegnth dblSpecWd = Val(Mid(strData, 18, 16)) ' get spectrum width
' === Output the result to the screen === MsgBox ("MEAN WL: " & dblMeanWL * 1000000000# & " nm" & vbCrLf & _ "SPEC WD: " & dblSpecWd * 1000000000# & " nm")
' === Disconnect === Call EnableLocal(BOARD_ID, intAddrList()) End Sub
'================================================== ' Sub routine ' Send Remote Command '================================================== Sub SendGPIB(intAddr As Integer, strData As String) Call Send(BOARD_ID, intAddr, strData, NLend) If (ibsta And EERR) Then MsgBox " GP-IB device can't write" End If End Sub
'================================================== ' Sub routine ' Recieve query data '================================================== Function RecieveGPIB(intAddr As Integer) As String Const READSIZE = 10000 Dim strBuffer As String
strBuffer = Space(READSIZE) RecieveGPIB = "" Do DoEvents
Call Receive(BOARD_ID, intAddr, strBuffer, STOPend) If (ibsta And EERR) Then MsgBox " GP-IB device can't read." RecieveGPIB = "" Exit Function Else RecieveGPIB = RecieveGPIB & Left(strBuffer, ibcntl) End If Loop Until ((ibsta And EEND) = EEND) End Function
1
2
2.6 Sample Program
Sample Program 2
Save an image of the instrument's screen to a BMP file, then use a file transfer command to load the file onto the PC. Save the image on the PC under the file name, "C:\test. bmp".
Const BOARD_ID = 0 'GP-IB Interface card Address Const osa = 1 'OSA GP-IB Address
Private Sub Command1_Click() Dim intAddrList(31) As Integer Dim intData As Integer Dim lngDataSize As Long Dim strData As String Dim intI As Integer Dim byteData() As Byte Dim byteSaveData() As Byte Dim lngL As Long
'----- GP-IB Interface setting ' send IFC Call SendIFC(BOARD_ID)
' assert th REN GPIB line intAddrList(0) = NOADDR Call EnableRemote(BOARD_ID, intAddrList())
' GPIB time out setting Call ibtmo(BOARD_ID, T30s) 'Time out = 30sec
'----- send command to OSA Call SendGPIB(osa, "CFORM1") ' Command mode set(AQ637X mode)
Call SendGPIB(osa, ":mmem:stor:grap color,bmp,""test"",int") ' Save bmp file to internal memory Call SendGPIB(osa, ":mmem:data? ""test.bmp"",int") ' get file data from OSA lngDataSize = RecieveBinaryGPIB(osa, byteData()) ' Recieve binary block data
GP-IB Interface (GP-IB1 Port)
If byteData(0) <> Asc("#") Then ' check first data MsgBox "Data format error" Exit Sub End If
'----- calculate data size intData = byteData(1) - Asc("0") strData = "" For intI = 1 To intData strData = strData + Chr(byteData(intI + 1)) Next intI lngDataSize = Val(strData) ' data size
'----- make save data ReDim byteSaveData(lngDataSize) For lngL = 0 To lngDataSize - 1 byteSaveData(lngL) = byteData(lngL + intData + 2) Next lngL
'----- save data to file Open "c:\test.bmp" For Binary As #1 Put #1, , byteSaveData Close #1
'----- Disconnect Call EnableLocal(BOARD_ID, intAddrList()) MsgBox "Complete" End Sub
2-11
2.6 Sample Program
'================================================== ' Sub routine ' Send Remote Command '================================================== Sub SendGPIB(intAddr As Integer, strData As String) Call Send(BOARD_ID, intAddr, strData, NLend) If (ibsta And EERR) Then MsgBox " GP-IB device can't write" End If End Sub
'================================================== ' Sub routine ' Recieve Binary query data '==================================================
Function RecieveBinaryGPIB(intAdr As Integer, byteArray() As Byte) As
Long Const READSIZE = 1200000 ' MAX 1.2MB Dim lngSize As Long Dim lngL As Long Dim lngPos As Long Dim ud As Integer Dim byteLow As Byte Dim byteHigh As Byte Dim strA As String
Dim intDummy(READSIZE) As Integer lngSize = 0
'----- open device ud = ildev(0, intAdr, 0, T30s, 1, 0) lngPos = 0
'----- read data Do DoEvents Call ibrdi(ud, intDummy, READSIZE) If (ibsta And EERR) Then MsgBox "GP-IB device can't Read(GPIB:" & intAdr & ")" RecieveBinaryGPIB = 0 Exit Function Else ReDim Preserve byteArray(lngPos + ibcntl + 2) For lngL = 0 To ibcntl / 2 - 1 strA = Right("0000" & Hex(intDummy(lngL)), 4) byteHigh = Val("&H" + Left(strA, 2)) byteLow = Val("&H" + Right(strA, 2)) byteArray(lngPos) = byteLow byteArray(lngPos + 1) = byteHigh lngPos = lngPos + 2 Next lngL End If Loop While (ibcntl = READSIZE)
RecieveBinaryGPIB = lngPos End Function
2-12
1
2
3

Chapter 3 Ethernet Interface

3.1 Connecting via Ethernet

You can connect to a LAN using the Ethernet interface for control of the instrument from a PC.
Ethernet Interface Specifications
Communication ports: 1 Electromechanical specifications: Conforms to IEEE802.3 Transmission method: Ethernet (10BASE-T/100BASE-TX) Transmission speed: 10 Mbps/100 Mbps Communication protocol: TCP/IP Connector type: RJ45 Port number used: 10001/tcp (default)
Connections
Connect a UTP (unshielded twisted-pair) cable or an STP (shielded twisted-pair) cable that is connected to another device to the 100BASE-TX port on the rear panel of the instrument.
Ethernet Interface
Precautions When Making Connections
• Be sure to use a straight cable through a hub when connecting a PC to the instrument. Performance cannot be guaranteed if a 1-to-1 connection is made with a cross cable.
• When using a UTP
(straight) cable, make sure that it is a category 5 cable.
3-1
3-2

3.2 Setting Up Ethernet

Procedure
Selecting the Communication Interface
Press SYSTEM. The system setting menu is displayed.
1.
Press the MORE1/4 soft key. The communication interface setting menu is
2.
displayed.
Press the REMOTE INTERFACE soft key. The setting menu for the interface to
3.
be used is displayed.
Press the ETHERNET soft key to specify Ethernet as the communication
4.
interface.
Setting Up TCP/IP
Press the NETWORK SETTING soft key. The ethernet setting menu is displayed.
5.
Press the TCP/IP SETTING soft key. The TCP/IP setting menu is displayed.
6.
Using the <, > soft keys, select AUTO (DHCP) or MANUAL.
7.
Press the SELECT soft key. The item is selected.
8.
1
2
3
<
>
,
Command format setting
Remote port number setting
3.2 Setting Up Ethernet
If you select MANUAL, enter the IP address, subnet mask, and default gateway.
9.
Using the arrow soft keys, select an input position, and press ENTER. If you selected AUTO, skip to step 10.
Setting the Remote Port Number
Setting the Command Format
Enter a number using the rotary knob or the <, >,
10.
When all settings are entered, press the DONE soft key.
11.
Press the REMOTE PORT NO. soft key. The port number setting screen is
12.
displayed.
Enter a port number using the rotary knob or the arrow keys, and press ENTER.
13.
Perform these steps if you will use AQ6370C, AQ6373 or AQ6375 commands.
14.
Press the COMMAND FORMAT soft key. The command format setting menu is
displayed.
Normally, you will enter AQ6370C, AQ6373 or AQ6375. If you wish to use AQ6317
15.
commands, enter AQ6317.
keys, and press ENTER.
Ethernet Interface
Setting the User Name and Password
Press the REMOTE USER ACCOUNT soft key. The user name and password
16.
setting menu is displayed.
Press the USER NAME soft key. The user name setting screen appears. The
17.
default is anonymous.
Specify a user name using 11 alphanumeric characters or fewer.
18.
If the user name is set to anonymous, the password setting is not required.
Press the PASSWORD soft key. The password setting screen is displayed.
19.
Specify a password using 11 alphanumeric characters or fewer.
20.
3-3
3-4
3.2 Setting Up Ethernet
Explanation
TCP/IP Settings
REMOTE PORT NO.
User Authentication
Remote Control Using Commands
It is necessary to set up the IP address for correct use of the instrument. If a DHCP server is provided on the network to which this instrument is connected, the IP address given to the instrument is automatically set. Thus, set the item IP ADDRESS SETTING under SYSTEM <NETWORK SETTING><TCP/IP SETTING> to “AUTO.” Please ask your network administrator for details about network connections.
Sets the port number for remote control via ETHERNET. (Default: 10001.)
User authentication is required to connect to the instrument from a PC over an Ethernet network. If the user name is anonymous, a password is not required. This instrument supports plain text authentication and the MD5 Message Digest Algorithm by RSA Data Security, Inc.
The AQ6370C/AQ6373/AQ6375 can be remote controlled using the LAN port. For remote commands, use the same commands as those for control via the GP-IB interface.
Switching Interfaces
Select GP-IB, RS-232C, or ETHERNET as an interface to use for remote control. When set to ETHERNET, the LAN mode connection status is reset. Otherwise, the connection is kept open unless closed by the controller.
Remote Commands
As with GP-IB-based remote control, you can select the command format from the AQ6370C, AQ6373 or AQ6375 mode or from the AQ6317-compatible mode.
Interrupt by SRQ
An SRQ interrupt does not occur during LAN-based remote control.
Status Register
The status registers operate in the same manner as in remote control via the GP-IB interface. Using the “*SPOOL?” command dedicated for remote control using the LAN port allows you to read the status registers, as in the case with serial polling via the GP­IB interface. *STB?: FORMAT key SPOLL?: When
Delimiter
The delimiter for LAN-based remote control is fixed to CR + LF.
Transmission of Talker Data
When the instrument receives talker data from an external PC, it sends the data to the external PC's buffer. It receives the external PC's buffer data and stores the query data.
When AQ6370C/AQ6373/AQ6375 is the setting of the COMMAND
AQ6317 is the setting of the COMMAND FORMAT key
Connection
The instrument can only be connected to one controller (an external PC or other device). If the instrument receives a connection request from a controller while already connected to another controller, the new connection is not opened and the existing connection is kept open.
1
2
3
3.2 Setting Up Ethernet
Computer Name
The instrument’s computer name is as follows. For the AQ6370C “6370C@@@@@@@@@” (where “@@@@@@@@@” is the serial number) For the AQ6373 “6373@@@@@@@@@” (where “@@@@@@@@@” is the serial number) For the AQ6375, “AQ6375@@@@@@@@@” (where “@@@@@@@@@” is the serial number) The machine number is a 9-digit alphanumeric number on the back of the unit. You can not change the computer name.
Commands that are Necessary for Remote Control over the LAN
The authentication Both the OPEN and CLOSE commands are also valid in AQ6317 mode.
OPEN
Function Sends the user name and starts user authentication.
OPEN<wsp>"username"
Syntax
username = the user name
Example
-> AUTHENTICATE CRAM-MD5.
Explanation Authentication is carried out with the OPEN command as follows. For Plain Text Authentication
1. Send OPEN "username" to the AQ6370C/AQ6373/AQ6375. The response
2. Confirm that the received message is "AUTHENTICATE CRAM-MD5."
3. Send the password to the AQ6370C/AQ6373/AQ6375 (anything can be input if the
4. If the message, "READY" is received from the AQ6370C/AQ6373/AQ6375,
OPEN "yokogawa"
by OPEN command
message is received from the AQ6370C/AQ6373/AQ6375.
user name is anonymous).
authentication was successful. The AQ6370C/AQ6373/AQ6375's REMOTE indicator lights, and sending of remote commands is enabled. If the user name and password are incorrect, authentication fails and the connections is closed.
is required to remote control over
Ethernet Interface
the LAN.
For Encrypted Authentication
1. Send OPEN "username" to the AQ6370C/AQ6373/AQ6375. The response
message is received from the AQ6370C/AQ6373/AQ6375.
2. Confirm that the received message is "AUTHENTICATE CRAM-MD5."
3. Send "AUTHENTICATE CRAM-MD5 OK" to the AQ6370C/AQ6373/AQ6375. The
response message (challenge string) is received from the AQ6370C/AQ6373/ AQ6375.
4. The received challenge string and password are processed with an MD5 hash
algorithm (anything can be input if the user name is anonymous).
5. Send the returned hash data (as a 32-character hexadecimal string in lower case)
to the AQ6370C/AQ6373/AQ6375, and receive the response message.
6. If the message, "READY" is received from the AQ6370C/AQ6373/AQ6375,
authentication was successful. The AQ6370C/AQ6373/AQ6375's REMOTE indicator lights, and sending of remote commands is enabled. If the user name and password are incorrect, authentication fails and the connection is closed.
CLOSE
Function Closes the connection (turns it OFF), and switches to local mode.
CLOSE
Syntax Example
CLOSE
3-5
3-6

3.3 Sample Program

Sample Program 1
Sending an invalid talker command to the AQ6370C/AQ6373/AQ6375 and then receiving data with the instrument specified as a talker causes the GP-IB bus to stop because the instrument has no data to send. In this case, a GPIB timeout occurs, followed by recovery of the GP-IB bus. The following shows an example of controlling the AQ6370C/AQ6373/AQ6375 remotely using the Ethernet port. The sample program uses Visual Basic 6.0 as the programming language. The program sets the measurement conditions (center wavelength, span, sensitivity, and the sampling number) and then performs a sweep. After completing this sweep, the program executes a thresh-based spectrum width analysis and then outputs the results to the screen. The conditions are the same as those of the GP-IB sample program in section 2.6, “Sample Program.”
Private Sub AQ637XTEST() Dim intData As Integer Dim dblMeanWL As Double Dim dblSpecWd As Double Dim strData As String
' === Connect === Winsock1.RemoteHost = "192.168.1.100" ' OSA IP address Winsock1.RemotePort = 10001 ' OSA remote port num Winsock1.Connect
' === Wait to connect complete === While (Winsock1.State <> sckConnected) DoEvents Wend
' === Authentication by OPEN Command === SendLan "open ""anonymous""" ReceiveLan strData SendLan " " ReceiveLan strData If (Left(strData, 5) <> "ready") Then MsgBox "User authentication error." Exit Sub End If
' === Set the measurement parameter === SendLan "*RST" ' Setting initialize SendLan "CFORM1" ' Command mode set
(AQ637X mode) SendLan ":sens:wav:cent 1550nm" ' sweep center wl SendLan ":sens:wav:span 10nm" ' sweep span SendLan ":sens:sens mid" ' sens mode = MID SendLan ":sens:sweep:points:auto on" ' Sampling Point = AUTO
' === Sweep execute === SendLan ":init:smode 1" ' single sweep mode SendLan "*CLS" ' status clear SendLan ":init" ' sweep start
1
2
3
3.3 Sample Program
' === Wait for sweep complete === Do SendLan ":stat:oper:even?" ' get Operation Event
Register ReceiveLan strData intData = Val(strData) Loop While ((intData And 1) <> 1) ' Bit0: Sweep status
' === Analysis === SendLan ":calc:category swth" ' Spectrum width
analysis(THRESH type) SendLan ":calc" ' Analysis Execute SendLan ":calc:data?" ' get data ReceiveLan strData
' === Capture analytical results === dblMeanWL = Val(Left(strData, 16)) ' get mean wavelegnth dblSpecWd = Val(Mid(strData, 18, 16)) ' get spectrum width
' === Output the result to the screen === MsgBox ("MEAN WL: " & dblMeanWL * 1000000000# & " nm" & vbCrLf & _ "SPEC WD: " & dblSpecWd * 1000000000# & " nm")
' === Disconnect === Winsock1.Close
'Wait to disconnect complete While (Winsock1.State <> sckClosed) DoEvents Wend
End Sub
Ethernet Interface
'================================================== ' Sub routine ' Send Remote Command '================================================== Sub SendLan(strData As String) Winsock1.SendData strData & vbCrLf DoEvents End Sub
'================================================== ' Sub routine ' Receive query data '================================================== Sub ReceiveLan(strData As String) Dim strData2 As String
strData = "" Do Winsock1.GetData strData2, vbString strData = strData + strData2 DoEvents Loop While (Right(strData, 1) <> vbLf) End Sub
3-7
3-8
3.3 Sample Program
Sample Program 2
Save an image of the instrument's screen to a BMP file, then use a file transfer command to load the file onto the PC. Save the image on the PC under the file name, "C:\test. bmp". The conditions are the same as the GP-IB sample program in section 2.6, "Sample Programs."
Const TIMEOUT = 1 ' time out(sec)
Private Sub cmdConnect_Click() Dim strData As String Dim byteData() As Byte Dim lngDataSize As Long
'=== Connect === If (ConnectLan("192.168.1.100", 10001) = False) Then MsgBox "Connection error" Winsock1.Close Exit Sub End If
' === Authentication by OPEN Command === SendLan "open ""anonymous""" ' Send user name lngDataSize = ReceiveLan(strData) If (lngDataSize = -1) Then MsgBox "Data Receive Error" Winsock1.Close Exit Sub End If
SendLan " " ' Send password lngDataSize = ReceiveLan(strData) If (lngDataSize = -1) Then MsgBox "Data Receive Error" Winsock1.Close Exit Sub End If If (Left(strData, 5) <> "ready") Then MsgBox "User authentication error." Winsock1.Close Exit Sub End If
'----- send command to OSA Call SendLan("CFORM1") ' Command mode
set(AQ637X mode) Call SendLan(":mmem:stor:grap color,bmp,""test"",int") ' Save bmp file to internal memory Call SendLan(":mmem:data? ""test.bmp"",int") ' get file data from
lngDataSize = ReceiveBinaryLan(byteData()) ' Recieve binary block data
'----- save data to binary file Open "c:\test.bmp" For Binary As #1 Put #1, , byteData Close #1
'----- Disconnect Winsock1.Close
'Wait to disconnect complete While (Winsock1.State <> sckClosed) DoEvents Wend MsgBox "Complete" End Sub
OSA
1
2
3
3.3 Sample Program
'================================================== ' Sub routine ' Connect OSA via ETHERNET ' in: strIP IP Address(Ex. "192.168.1.100") or Computer Name ' intPort port number (Ex. 10001) ' out: none ' ret: OK/NG true: OK, false: NG '================================================== Function ConnectLan(strIP As String, intPort As Integer) As Boolean Dim sglStart As Single Dim sglEnd As Single Dim sglNow As Single Dim bConnect As Boolean
sglStart = Timer() sglEnd = sglStart + TIMEOUT bConnect = True
' === Connect === Winsock1.RemoteHost = strIP ' OSA IP address Winsock1.RemotePort = intPort ' OSA remote port num Winsock1.Connect
' === Wait to connect complete === While ((Winsock1.State <> sckConnected) And (bConnect = True)) DoEvents ' Timeout check sglNow = Timer() If (sglNow < sglStart) Then sglNow = sglNow + 86400 If sglNow >= sglEnd Then bConnect = False Wend
Ethernet Interface
'----- return value set ConnectLan = bConnect End Function
'================================================== ' Sub routine ' Send Remote Command '================================================== Sub SendLan(strData As String) Winsock1.SendData strData & vbCrLf DoEvents End Sub
'================================================== ' Sub routine ' Receive query data ' in: none ' out: strData Receive data ' ret: Receive data size (Error: -1) '================================================== Function ReceiveLan(strData As String) As Long Dim strData2 As String Dim sglStart As Single Dim sglEnd As Single Dim sglNow As Single Dim bTimeout As Boolean
sglStart = Timer() sglEnd = sglStart + TIMEOUT bTimeout = False
3-9
3-10
3.3 Sample Program
strData = "" Do ' data receive DoEvents Winsock1.GetData strData2, vbString strData = strData + strData2
' Timeout check sglNow = Timer() If (sglNow < sglStart) Then sglNow = sglNow + 86400 If sglNow >= sglEnd Then bTimeout = True Loop While ((Right(strData, 1) <> vbLf) And (bTimeout = False))
' return value set If bTimeout = True Then ReceiveLan = -1 Else ReceiveLan = Len(strData) End If
End Function
'==================================================================== ' Sub routine ' Recieve Binary query data ' in: none ' out: byteArray Receive data (byte array) ' ret: Receive data size (Error: -1) '==================================================================== Function ReceiveBinaryLan(byteArray() As Byte) As Long Dim lngPos As Long Dim lngTempPos As Long Dim bData As Byte Dim intI As Integer Dim intJ As Integer Dim strA As String Dim lngDataLength As Long Dim byteDummy() As Byte Dim sglStart As Single Dim sglEnd As Single Dim sglNow As Single Dim bTimeout As Boolean
sglStart = Timer() sglEnd = sglStart + TIMEOUT bTimeout = False '------------------------------------------­ ' Header block '------------------------------------------­ Call ReadIPBin(bData) ' Receive 1byte
If bData = Asc("#") Then Call ReadIPBin(bData) ' Receive 1byte
intI = bData - Asc("0") strA = "" For intJ = 0 To intI - 1 Call ReadIPBin(bData) ' Receive 1byte strA = strA + Chr(bData) Next intJ lngDataLength = Val(strA) ' block data size
ReDim byteArray(lngDataLength)
1
2
3
3.3 Sample Program
'-----------------------------­ ' Recieve binary data block '-----------------------------­ lngPos = 0 lngTempPos = 0 ReDim byteDummy(lngDataLength) Winsock1.GetData byteDummy, vbArray + vbByte, lngDataLength
' Receive binary data
Do DoEvents If (lngTempPos > UBound(byteDummy)) Then Winsock1.GetData byteDummy, vbArray + vbByte, lngDataLength
' Continue to receive lngTempPos = 0 Else byteArray(lngPos) = byteDummy(lngTempPos) lngPos = lngPos + 1 lngTempPos = lngTempPos + 1 End If
'Timeout check sglNow = Timer() If (sglNow < sglStart) Then sglNow = sglNow + 86400 If sglNow >= sglEnd Then bTimeout = True Loop Until ((lngPos = lngDataLength) Or (bTimeout = True)) End If
Ethernet Interface
' return value set If bTimeout = True Then ReceiveBinaryLan = -1 Else ReceiveBinaryLan = lngDataLength End If End Function
'==================================================================== ' Read binary data(1byte) '==================================================================== Sub ReadIPBin(byteData As Byte) Dim sglStart As Single Dim sglEnd As Single Dim sglNow As Single Dim bTimeout As Boolean
sglStart = Timer() sglEnd = sglStart + TIMEOUT bTimeout = False
'----- wait until data received or timeout Do DoEvents
'Timeout check sglNow = Timer() If (sglNow < sglStart) Then sglNow = sglNow + 86400 If sglNow >= sglEnd Then bTimeout = True Loop Until ((Winsock1.BytesReceived > 1) Or (bTimeout = True))
Winsock1.GetData byteData, vbByte, 1 ' 1byte read End Sub
3-11
1
2
3
4

Chapter 4 Serial (RS-232) Interface

4.1 Connecting via the Serial (RS-232) Interface

Serial Interface Functions and Specifications
Receive Function
You can enter the same settings as can be entered with front panel keys. A settings output request is received.
Send Function
You can output settings and measured results.
Serial (RS-232) Interface Specifications
Electrical characteristics: Conforms to the EIA-574 standard (EIA-232 (RS-232), 9-pin) Connection type: Point-to-point Communication method: Full duplex Synchronization method: Start-stop synchronization Baud rate: 1200, 2400, 4800 Start bit: 1 bit, fixed Data length: Parity: Odd, Even, or None Stop bit: Connector: DELC-J9P Flow control: Hardware handshaking using RS/CS or Non (selectable).
8 bit, fixed
1 bit, fixed
, 9600, 19200, 38400, 57600, 115200
AF-13L6 (JAE or equivalent)
Serial (RS-232) Interface
Connection
Make the connection as shown in the figure below.
4-1
4-2
DELC-J9PAF-13L6 or equivalent
4
5
3
2
1
9
8
7
6
58723
(2) (3) (4) (5) (7)
PC AQ6370
RS [Request to send ... Receive OK]
SD [Send data]
RD [Receive data]
2
3
8
7
CS [Clear to send ... Preparation OK]
4.1 Connecting via the Serial (RS-232C) Interface
Connector and Signal Names
2 RD (received data): Data received from the PC.
Signal direction....input
3 SD (send data): Data sent to the PC.
Signal direction....output
5 SG (signal ground): Ground for the signal. 7 RS (request to send): Handshaking method when receiving data from the PC.
Signal direction....output
8 CS (clear to send): Handshaking method when sending data to the PC.
Signal direction....input
* Pins 1, 4, 6, and 9 are not used.
9-Pin to 25-pin Adapter and Signal Names
Numbers in parentheses are the pin numbers of the 25-pin connector.
Signal Direction
The directions of signals used by the instrument's serial interface are shown in the figure below.
1
2
3
4
Signal Chart
Pin Number
(9-Pin Connector)
Code
RS-232
Name
CCITT
JIS
5
3
2
8
7
AB (GND)
BA (TXD)
BB (RXD)
CB (CTS)
CA (RTS)
102 SG
103
104
106
105
SD
RD
CS
RS
Signal ground
Send data
Request to send
Receive data
Clear to send
SD RD RS CS SG
SD RD RS
SG
• OFF-OFF/XON-XON
PC AQ6370
SD RD RS CS SG
SD RD RS
SG
• Hard(CS-RS)
PC AQ6370
CS
CS
2
3
8
7
5
2
3
8
7
5
2
3
8
7
5
2
3
8
7
5
4.1 Connecting via the Serial (RS-232C) Interface
List of RS-232 Standard Signals and JIS and CCITT Cable Addresses
Signal Wire Connection Example
Pin numbers are for 9-pin connectors. In most cases, use a cross cable.
Serial (RS-232) Interface
4-3
4-4

4.2 Remote Control Using Commands

The AQ6370C/AQ6373/AQ6375 can be controlled remotely using the RS-232 port. When controlling the instrument remotely, use a cross cable to connect the instrument to the PC. Also, remote commands are the same as for remote control via GP-IB.
Interrupt by SRQ
An SRQ interrupt does not occur during RS-232-based remote control.
Status Registers
The status registers operate in the same manner as in remote control via the GP-IB interface. Using the “*STB?” or “SPOLL?” command dedicated for remote control using the LAN port allows you to read the status registers, as in the case with serial polling via the GP-IB interface. *STB?:
SPOLL?: When AQ6317 is the setting of the COMMAND FORMAT key
Delimiter
The delimiter for RS-232-based remote control is fixed to CR + LF.
When AQ6370C/AQ6373/AQ6375 is the setting of the COMMAND
FORMAT key
Transmission of Talker Data
When the instrument receives talker data from an external PC, the data is sent to the external PC’s buffer. It receives the external PC's buffer data and stores the query data.
1
2
3
4

4.3 Setting Up RS-232

Procedure
Selecting the Communication Interface
Press SYSTEM. The system setting menu is displayed.
1.
Press the MORE1/4 soft key. The communication interface setting menu is
2.
displayed.
Press the REMOTE INTERFACE soft key. The setting menu for the interface to
3.
be used is displayed.
Press the RS-232 soft key to specify RS-232 as the communication interface.
4.
Serial (RS-232) Interface
Setting the Baud Rate
Press the RS-232 SETTING soft key. The RS-232 setting menu is displayed.
5.
Press the BAUD RATE soft key. The baud rate setting menu is displayed.
6.
Press the soft key corresponding to the desired baud rate setting. The baud rate
7.
is set.
4-5
4-6
4.3 Setting Up RS-232C
Setting the Parity
Press the PARITY soft key. The parity setting menu is displayed.
8.
Press the soft key corresponding to the desired parity setting. The parity is set.
9.
Setting the Flow Control
Press the FLOW soft key. The flow control setting menu is displayed.
10.
Press the soft key corresponding to the desired flow control setting. The flow
11.
control is set.
Setting the Command Format
Perform these steps if you will use AQ6317 commands.
12.
Press the COMMAND FORMAT soft key. The command format setting menu is
displayed.
Normally, you will enter AQ6370C, AQ6373 or AQ6375. If you wish to use AQ6317
13.
commands, enter AQ6317.
1
2
3
4
Explanation
4.3 Setting Up RS-232C
The settings below are used when entering the settings that can be entered using the instrument’s panel keys from a controller, or when outputting settings or waveform data to the controller.
Baud Rate Setting
Select a baud rate from the following. 1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bps, 57600 bps, or 115200 bps
Parity Rate Setting
Select a parity from the following. NONE, ODD, or EVEN
Flow Control Setting
Select a Transmission data control-Receive data control from the following. Xon/Xoff, HARDWARE, NONE
Setting the Command Format
Normally, you will enter AQ6370C, AQ6373 or AQ6375 mode. If you wish to use the commands of the AQ6317 (another product in the series), enter AQ6317. See the appendix for AQ6317 commands that are compatible with the AQ6370C, AQ6373 or AQ6375.
Serial (RS-232) Interface
4-7
1
2
3
4
5
GP-IB1
GP-IB2

Chapter 5 GP-IB Interface (GP-IB2 Port )

5.1 Connecting via GP-IB2

GP-IB Cable
This instrument is equipped with an IEEE standard 488-1978 24-pin GP-IB connector. Use a GP-IB cable that conforms to the IEEE standard 488-1978.
Connections
The instrument has two ports, GP-IB1 and GP-IB2. GP-IB1 port: Can be connected to a PC for remote control of the instrument from the
PC.
GP-IB2 port: Can be connected to another instrument for remote control of that
instrument using the
For now, you will connect a PC to the GP-IB2 port. Turn OFF all the power switches of the AQ6370C/AQ6373/AQ6375 and any devices to be connected to it. Connect a cable to the GP-IB2 port on the rear panel of the instrument.
AQ6370C/AQ6373/AQ6375’s program function.
GP-IB Interface (GP-IB2 port)
CAUTION
Always turn OFF the power to the instrument and the device to be connected to it when connecting or disconnecting communication cables. Failure to turn OFF the power can result in malfunction or damage to internal circuitry.
For precautions when making connections, see chapter 2, section 2.1, “Connecting via GP-IB.”
5-1
5-2

5.2 GP-IB Interface Specifications

GP-IB Interface Specifications
Electromechanical specifications: Conforms to IEEE std. 488-1978 Functional specifications: See table below Protocols: Conforms to IEEE std. 488.2-1992 Encoding: ISO (ASCII) Mode: Addressable mode Address setting: Addresses
setting screen in the SYSTEM menu.
Remote mode cancel:
Functional Specifications
Function Subset Description
Source handshake SH1 All capabilities of send handshake
Acceptor handshake AH1 All capabilities of receive handshake
Talker T4 Basic talker function
Listener L2 Basic listener function
Service request SR0 Service request function not provided
Remote local RL0
Parallel port PP0
Device clear DC0
Device trigger DT0
Controller C1 System controller IFC transmission
C28 Interface message transmission
Electrical characteristics E1 Open collector
Press LOCAL
that this is disabled when under Local Lockout by the controller.
Local lockout function not provided
Parallel polling function not provided
Device clear function not provided
Device trigger function
C2 Controller in charge C3 REN transmission
0-30 can be set in the GP-IB
to cancel Remote mode. Note
1
2
3
4
5

5.3 Setting the GP-IB Address

GP-IB address setting
System controller function setting
See chapter 2
Turnable laser source address setting (set for TLS synchronous sweeping)
See chapter 2
Procedure
Selecting the Communication Interface
Press SYSTEM. The system setting menu is displayed.
1.
Press the MORE1/4 soft key. The communication interface setting menu is
2.
displayed.
Press the REMOTE INTERFACE soft key. The setting menu for the interface to
3.
be used is displayed.
Press the GP-IB soft key to specify GP-IB as the communication interface.
4.
GP-IB Interface (GP-IB2 port)
Setting the Address
Press the GP-IB SETTING soft key. The GP-IB setting menu is displayed.
5.
Press the GP-IB2 PORT ADDRESS soft key. The GP-IB2 port address setting
6.
screen is displayed.
Set the GP-IB2 port address using the rotary knob or the arrow keys, and press
7.
ENTER.
5-3
5.3 Setting the GP-IB Address
Turning the System Controller Function ON and OFF
Setting the GP-IB Address of the Turnable Laser Source (for Synchronous Sweeping)
Explanation
Enter the following settings to control an external device with the instrument’s program function.
Setting the GP-IB2 Port Address
When in Addressable mode, set the instrument's address within the following range. 0–30 Each device that can be connected via GP-IB has its own unique GP-IB address. This address allows each device to be distinguished from other devices. Therefore, make sure not to set the same address on the instrument as any of the other devices. Also, set addresses other than the instrument’s GP-IB address (MY ADDRESS).
Press the SYSTEM CONTROLLER soft key to turn the function ON or OFF.
8.
Turn it ON to control an external device.
Press the TLS ADDRESS soft key. The TLS address setting screen is displayed.
9.
Set the TLS address using the rotary knob or the arrow keys, and press
10.
ENTER.
Turning ON the System Controller Function
Turn ON this function to control an external device with the instrument's program function.
Setting the TLS Address
Specify the GP-IB address of the turnable laser source to be controlled by the instrument.
Note
• A controller such as a PC that is connected to the GP-IB2 port cannot remotely control the AQ6370C/AQ6373/AQ6375.
• Even if a turnable laser source or an external device to be controlled by the AQ6370C/ AQ6373/AQ6375 using program functions is connected to the GP-IB1 port, it cannot remote control the AQ6370C/AQ6373/AQ6375.
• The GP-IB1 and GP-IB2 ports are independent of each other. Thus, a controller connected to the GP-IB1 port cannot directly send a message to an external device connected to the GP-IB2 port.
• When a PC or other controller is connected to the GP-IB1 port, connecting the GP-IB1 port with the GP-IB2 port results in improper operation. Do not connect these ports together, or turn OFF the system controller function. The default is ON.
5-4
1
2
3
4
5
6
Chapter 6
Status Registers

6.1 Status Registers

This instrument is equipped with the status registers shown in the table below. See the next page for a diagram of all status registers. This instrument has the following status registers defined by IEEE 488-2 and SCPI:
Status byte registers Standard event registers
• Operation status registers
• Questionable status registers Also, this instrument has an operation status bit (OPS) and a questionable status bit (QUS), each of which contains the summary information of each piece of register information, as the extension bits of the status byte register.
List of Status Registers
Register Name Description
Status byte registers Register defined by IEEE 488.2 STB: Status Byte Register Same as the above SRE: Service Request Enable Register Same as the above
Standard event registers Register defined by IEEE 488.2 ESR: Standard Event Status Register Same as the above ESE: Standard Event Status Register
Operation status registers Provides information on operation execution (such as being swept, copied, or under calibration).
Operation Event Register A register indicating the presence/absence of an
Operation Event Enable Register A
Questionable status registers Not assigned yet.
Questionable Event Register
Questionable Event Enable Register A
Same as the above
Status Registers
event. Event will be latched.
condition mask register used when the summary
bit (OPS) is created.
A register indicating the presence/absence of an
event. An event will be latched.
condition mask register used when the summary
bit (QUS) is created.
6-1
6-2
Standard Event Status
Operation Status
Questionable Status
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Power on
Unused
Command error
Execution error
Device dependency error
Query error
Unused
Operation complete
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
Unused Unused Unused Unused Unused Unused Unused Unused Unused Unused Unused
Auto Sweep
Cal/Alignment
Copy/File
Program
Sweep
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
Unused Unused Unused Unused Unused Unused Unused Unused Unused
Unused
Unused
Unused Unused Unused Unused Unused
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Output buffer
Status Byte
OPS
RQS/MSS
ESB
MAV
QUS
Unused
Unused
Unused
6.1 Status Registers
Status Register Overview Diagram
1
2
3
4
5
6

6.2 Status Byte Registers

Operation Event
Status
bit 7
OPS
bit 6
bit 5 ESB
bit 4 MAV
bit 3 QUS
bit 2 bit 1 bit 0
Output buffer
RQS
MSS
Standard Event
Status
Questionable Event Status
bit 7 bit 6 bit 5 bit 4
bit 3
bit 2 bit 1 bit 0
*SRE
Service Request Enable Register
*STB
Status Bytes Register
Generates
service request
During serial poll
When *STB? sent
OR
&
&
&
&
&
&
&
Structure
The structure of the status byte registers is shown below. The contents and actions of these registers comply with the IEEE 488.2 standards. Also, the AQ6370C/AQ6373/AQ6375 also provides the extended OPS and QUS bits to the status byte register.
Status Registers
Status Byte Register Contents
Bit Event Name Description Decimal Value
Bit 7 OPS Summary bit of operation status 128
Bit 6 RQS, MSS “1” if there is more than one service request 64
Bit 5 ESB Summary bit of standard event status register 32
Bit 4 MAV “1” if the output buffer contains data 16
Bit 3 QUS Summary bit of questionable status 8
Bit 2 None Not used (always 0) 0
Bit 1 None Not used (always 0) 0
Bit 0 None Not used (always 0) 0
6-3
6-4
6.2 Status Byte Registers
Status Byte Register
Read
This register can be read by a serial poll or the common *STB? query. Note that the information of bit 6 changes with a different reading method.
• When read by serial polling An RQS message is read as bit 6 information. After reading, the RQS message will be cleared.
When read by an *STB? common query An MSS summary message is read as bit 6 information. Even after reading, the MSS message will be held.
Bits other than bit 6 do not change. The read action complies with the IEEE 488.2 standard.
Write
The contents of the register will be rewritten only when the status of an assigned status data structure has been changed. The write action complies with the IEEE 488.2 standard.
Clear
All event registers and queues, not including the output queues and MAV bit, will be cleared by the common *CLS command. The clear action complies with the IEEE 488.2 standard.
Service Request Enable Register
Read
This register can be read by the common *SRE? query. The value of bit 6, an unassigned bit, is always “0.” The contents of the register are not cleared even when read. The read action complies with the IEEE 488.2 standard.
Write
This register can be written by the common *SRE command. The set value of bit 6, an unassigned bit, is always ignored. The write action complies with the IEEE 488.2 standard.
Clear
This register will be cleared under any of the following conditions.
• Data “0” is set using the common *SRE command.
• Power ON
The contents of the register are not cleared in the following cases.
• Receipt of the *RST
• Receipt of the *CLS command
• Device clear (DCL, SDC)
The clear action complies with the IEEE 488.2 standard.
command
1
2
3
4
5
6

6.3 Standard Event Status Registers

PON bit 7
bit 6
CME bit 5
EXE bit 4
DDE bit 3
QYE bit 2
bit 1
OPC bit 0
OR
&
Power on
not used
Command error
Execution error
Device dependency error
Query error
not used
Operation complete
*ESE
Standard Event Status Enable Register
*ESR
Standard Event Status Register
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
&
&
&
&
&
&
&
ESB Bit of the Status Byte Register
Structure
The structure of the standard event status registers is shown below. The contents and
actions of the registers comply with the IEEE 488.2 standards.
Status Registers
Contents of the Standard Event Status Registers
Bit Event Name Description Decimal Value
Bit 7 PON (Power ON) Power is turned ON. 128
Set to “1” at startup.
Bit 6 None Not used (always 0) 0
Bit 5 CME A syntax error or unrecognizable command is (command error) detected. GET is encountered between the 1st byte
of a program message and the program message
terminator
Bit 4 EXE (Execution error) Program data following the program header is 16 out of the effective range. Receipt of a program message contradictory to device state.
Bit 3 DDE Error caused by an event other than CME, EXE, 8 (Device-specific error) or QYE.
Bit 2 QYE (Query error)
Bit 1 None
Bit 0 OPC Completion of command action: (operation complete) Enabled only when *OPC is received Disabled if *OPC? is received
Not used (always 0) 0
Access to an output queue was made with no 4
output existing. Output queue data was lost.
.
32
1
6-5
6-6
6.3 Standard Event Status Registers
Standard Event Status Register
Read
This register can be read by the common *ESR? query. Its contents will be cleared when read. The read action complies with the IEEE 488.2 standard.
Write
Contents of the register can be cleared. The register can be cleared but not written to.
Clear
This register will be cleared under any of the following conditions.
• Common *CLS command
• Common *ESR? query
The clear action complies with the IEEE 488.2 standard.
Standard Event Status Enable Register
Read
This register can be read by the common *ESE? query. The read action complies with the IEEE 488.2 standard.
Write
This register can be written by the common *ESE command. The write action complies with the IEEE 488.2 standard.
Clear
This register will be cleared under any of the following conditions.
• Data “0” is set using the common *ESE command.
• Power ON
The register cannot be cleared in the following cases.
• Receipt of the *RST
• Receipt of the *CLS command
• Device clear (DCL, SDC)
The clear action complies with the IEEE 488.2 standard.
command
1
2
3
4
5
6

6.4 Operation Status Registers

OR
&
&
&
&
&
&
&
&
OPS Bit of the Status Byte Register
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
Auto Sweep
Cal/Alignment
Copy/File
Program
Sweep
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
&
&
&
&
&
&
&
&
45"501&3$0/%
Operation Condition Register
45"501&3&7&/
Operation Event Register
45"501&3&/"#
Operation Event Enable Register
Operation status registers report the operation status of the instrument. The operation
condition registers indicate the instrument’s condition. A change in an operation condition
register is latched into the operation event register. The user can refer to the operation
event register to view changes in the operation status. The summary information of the
instrument event register is set to the OPS bit of the status byte register. In this case,
only statuses corresponding to bits specified as “1” in the operation enable register are
included in the summary information.
Structure
The structure of the operation status register is shown below.
Structure of the Operation Status Register
Status Registers
6-7
6-8
6.4 Operation Status Register
Contents of the Operation Status Register
Bit Event Name Description Decimal Value
Bit 15 Not used Spare (always 0) 0
Bit 14 Not used Spare (always 0) 0
Bit 13 Not used
Bit 12 Not used
Not used Spare (always 0) 0
Bit 11
Bit 10 Not used
Bit 9 Not used
Bit 8 Not used
Bit 7 Not used
Bit 6 Not used
Bit 5 Not used
Bit 4 Auto Sweep
Bit 3 Cal/Alignment Completion of wavelength calibration or alignment 8
Bit 2 Copy/File Completion of printout or file operation 4
Bit 1 Program Completion of execution of the program functions 2
Bit 0 Sweep Completion of a sweep 1
Operation Condition Register
Read
This register can be read by the :STATus:OPERation:CONDition? query command. Its contents will not be cleared even when read.
Spare (always 0) 0
Spare (always 0) 0
Spare (always 0) 0
Spare (always 0) 0
Spare (always 0) 0
Spare (always 0) 0
Spare (always 0) 0
Spare (always 0) 0
Completion of auto sweep running action 16
Write
The register sets or resets a bit corresponding to a change in the status of the instrument only when that change occurs. It cannot be written to.
Clear
The register cannot be cleared.
Operation Event Register
Read
This register can be read by the :STATus:OPERation[:EVENt?] query command. Its contents will be cleared when read.
Write
Contents of the register can be cleared. The register can be cleared but not written to. <Clear> This register will be cleared under any of the following conditions.
read using the :STATus:OPERation[:EVENt?] query command
A
• An initialization by the :STATus:PRESet command
• The *CLS common command
• Power ON
• Operation event enable register
Read
This register can be read by the :STATus:OPERation:ENABle? query command.
1
2
3
4
5
6
6.4 Operation Status Register
Write
The register can be written by the :STATus:OPERation:ENABle command.
Clear
This register will be cleared under any of the following conditions.
• Data “0” is set by the :STATus:OPERation:ENABle command.
• Power ON
The register cannot be cleared in the following cases.
• Receipt of the *RST
• Receipt of the *CLS command
• Device clear (DCL, SDC)
command
Status Registers
6-9
6-10

6.5 Questionable Status Registers

OR
&
&
&
&
&
&
&
&
OPS Bit of the Status Byte Register
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
&
&
&
&
&
&
&
&
45"526&4$0/%
Questionable Condition Register
45"526&4&7&/
Questionable Event Register
45"526&4&/"#
Questionable Event Enable Register
The questionable status registers report the questionable status of the instrument. All bits of these registers are unassigned. However, the register read/write operations are performed normally. The summary information of an event register will be set to the QUS bit of the status byte register.
Structure
The structure of the questionable status registers is shown below.
Structure of the Questionable Status Registers
Contents of the Questionable Status Registers
Bit Event Name Description Decimal Value
Bit 0–15 Not used Spare (always 0) 0
1
2
3
4
5
6
Questionable Condition Register
Read
This register can be read by the :STATus:QUEStionable:CONDition? query command. Its
contents will not be cleared even when read.
Write
The register sets or resets a bit corresponding to a change in the status of the instrument
only when that change occurs. It cannot be written to.
Clear
The register cannot be cleared.
Questionable Event Register
Read
This register can be read by the :STATus:QUEStionable[:EVENt?] query command.
Its contents will be cleared when read.
Write
Contents of the register can be cleared. The register can be cleared but not written to.
6.5 Questionable Status Register
Status Registers
Clear
This register will be cleared under any of the following conditions.
• A read using the :STATus:QUEStionable[:EVENt?] query command
• Initialization by the :STATus:PRESet command
• Common *CLS command
• Power ON
Questionable Event Enable Register
Read
This register can be read by the :STATus:QUEStionable:ENABle? query command.
Write
The register can be written to by the :STATus:QUEStionable:ENABle command.
Clear
This register will be cleared under any of the following conditions.
• Data “0” is set using the :STATus:QUEStionable:ENABle command.
• Power ON
The register cannot be cleared in the following cases.
• Receipt of the *RST
• Receipt of the *CLS command
• Device clear (DCL, SDC)
command
6-11
1
2
3
4
5
6
7

Chapter 7 Remote Commands

7.1 Rules of Syntax and Command Types

The following information is intended for the common commands and instrument-specific
commands contained in this manual. Measured values and parameters are all sent and
received using ASCII characters, not including special commands.
Description of Rules of Syntax
Rule Description
| Indicates that one of the elements in a list should be selected. E.g.:
An item in square brackets is specified as desired.
[ ]
{ } An item in curly brackets can be specified multiple times within a command.
<wsp>¹ Space
<integer> Integer
<NRf> Exponent indicating value
<"file name"> A file name can be a maximum of 56 characters, including extensions, excluding
<trace name> T
<marker> Marker number (0: moving marker, 1 to 1024: fixed markers)
<"string"> Character string Enclose a character string using double quotations (" ").
1. Regarding white space (<wsp>):
White space
the ASCII character sets. Aside from inserting it between a command and parameters (when specifying parameters) or using it as space in a character string such as a file name in a parameter, white space can be inserted as desired to make a program legible.
A|B|C
the directory part. Enclose a character string using double quotations (" ").
race name (TRA|TRB|TRC|TRD|TRE|TRF|TRG)
is defined as a character corresponding to 00h to 20h (not including 0Ah (LF)) of
= A, B, or C is used
Remote Commands
Types of Commands
This unit’s commands can be classified into the following three types:
Sequential Commands
• These commands are the most general commands.
• The action of another command is not performed until the running of a sequential command is complete.
• Another action is not started until the running of the other com
mand is complete.
Overlappable Commands
• An overlappable command allows execution of an overlapping command while it is being run. Ex. of command:
:INITialte
Makes a sweep.
Overlapping Commands
• An overlapping command can be executed while an overlappable command is being run.
• These commands cannot be executed while a sequential com or if it has not yet been processed. Ex. of command:
:ABORt *STB?
Stops measurement or calibration action.
Reads status byte.
mand is being executed
7-1
7.1 Rules of Syntax and Command Types
Collective Transmission of Multiple Commands
You can create a command string using the commands described in section 7.5, “Common Commands,” and section 7.6, “Instrument-Specific Commands” and send it to the instrument. If multiple commands are written in a single output statement by using a semicolon “;” to delimit each command, the commands will be executed in the order in which they have been written.
Format of a Remote Command
Short and Long Forms
The instrument’s GP-IB commands support both short and long forms. For the commands contained in this manual, the part written in capital letters is the short form of the command concerned. The short form of the
Upper- and Lower-Case Letters
The instrument does not distinguish between upper- and lower-case letters. Return values are all in upper-case letters.
Grouping of SCPI Commands Using a Subsystem
The instrument supports the subsystem-based grouping of the SCPI commands. Commands belonging to the same sub-system and existing at the same tree of the hierarchical structure of the subsystem can be sent in combination. In this case, each command should be delimited by a semicolon.
List of GP-IB commands used in examples
:SENSe
:ATTenuator :WAVelength :STOP :STARt
:SET
• SENSe:WAVelength:STARt 1500NM;STOP 1600NM (Y)
• SENSe:WAVelength:STARt 1500NM;ATTenuator ON (X)
(Reason: They are not in the same hierarchy.)
• SENSe:WAVelength:STARt 1500NM;:STOP 1600NM
(Reason: A
Ting
colon “:” is unnecessary after a semicolon “;”.)
INITiate
command is
(X)
INIT
.
7-2
Numerics
• This instrument supports multiple notation methods when receiving a numeric(s).
• This instrument uses only the basic units when transmitting a numeric(s). The number of digits for the real part is fixed to a one digit integer (with a sign) and eight
digits for decimal places. The number of digits for the exponential part is fixed to 3.
Ex.: Receivable numerics (in case of 1550 nm)
1550 nm, 1.55 um, 1550E-9, 1.55E-6, and others Ex.: Transmittable numerics (in case of 1550 nm) +1.55000000E-006 only
• If a received numeric has a precision higher than the range of numerics handled
inside this unit, lower decimal places will be rounded off rather than being discarded.
• This instrument can handle the following multiplier suf
Multiplier Mnemonic Multiplier Mnemonic
1E18 EX (exa) 1E-3 M (milli)
1E15 PE (peta) 1E-6 U (micro)
1E12 T (tera) 1E-9 N (nano)
1E9 G (giga) 1E-12 P (pico)
1E6 MA (mega) 1E-15 F (femto)
1E3 K (kilo) 1E-18 A (atto)
fixes:
1
2
3
4
5
6
7
Specification of Parameters in a Command
To use parameters in a command, a space must be placed between the command and parameters. Each parameter is delimited by a comma “,”. A space may also be placed before and after a comma to make the command legible.
AQ6317-Compatible Commands
The instrument supports AQ6317-compatible GP-IB commands. When using AQ6317­compatible GP-IB commands, call up the SYSTEM menu using the SYSTEM key and place the instrument in AQ6317-compatible mode.
Differences from the AQ6370
This instrument’s remote commands differ from those of the AQ6370 in the following respects.
1. *IDN query talker data
AQ6370: "YOKOGA AQ6370C: "YOKOGAWA, AQ6370C,----" AQ6373: "YOKOGAWA, AQ6373,----" AQ6375: "YOKOGAWA, AQ6375,----"
2. “CHOP” was eliminated from the <CHOP MODE> settings.
If the AQ6370C/AQ6373 receives a command that specifies “C
“SWITCH.”
7.1 Rules of Syntax and Command Types
WA, AQ6370,----"
HOP,” it is treated as
Remote Commands
7-3

7.2 Table of Correspondence between Soft Keys and Remote Commands

The tables below list the remote commands that correspond to the soft keys used when manipulating the various settings of the instrument. If a command is valid for either the AQ6370C or AQ6375 only, the relevant model name is indicated in the notes. For the AQ6370C, AQ6373, and AQ6375, if commands are valid for only some of the instruments, the models are indicated in the remarks column. Models are not noted for commands that are valid for all instruments.
SWEEP
Function Control Command
AUTO
REPEAT
SINGLE
STOP
SEGMENT MEASURE
SEGMENT POINT*****
SWEEP MKR L1-L2 ON/OFF
SWEEP INTVL *****sec
:INITiate:SMODe<wsp>AUTO|3;INITiate
:INITiate:SMODe<wsp>REPeat|2;INITiate
:INITiate:SMODe<wsp>SINGle|1;INITiate
:ABORt
:INITiate:SMODe<wsp>SEGment|4;INITiate
:SENSe:SWEep:SEGMent:POINts<wsp><integer>
:SENSe:WAVelength:SRANge<wsp>OFF|ON|0|1
:SENSe:SWEep:TIME:INTerval<wsp><integer>[SEC]
CENTER
Function Control Command Remarks
CENTER WL ****.***nm
CENTER FREQ ***.****THz
CENTER WNUM ****.***cm-1
STAR
T WL ****.***nm
START FREQ ***.****THz
STOP WNUM ****.***cm-1
STOP
WL ****.***nm
STOP FREQ ***.****THz
START WNUM ****.***cm-1
PEAK
→CENTER
AUTO CENTER ON/OFF
VIEW→MEAS
:SENSe:WAVelength:CENTer<wsp><NRf>[M]
:SENSe:WAVelength:CENTer<wsp><NRf>[HZ]
:SENSe:WAVelength:CENTer<wsp><NRf>
:SENSe:WAVelength:STARt<wsp><NRf>[M]
:SENSe:WAVelength:STARt<wsp><NRf>[HZ]
:SENSe:WAVelength:STARt<wsp><NRf>
:SENSe:WAVelength:STOP<wsp><NRf>[M]
:SENSe:WAVelength:STOP<wsp><NRf>[HZ]
:SENSe:WAVelength:STOP<wsp><NRf>
:CALCulate:MARKer:SCENter
:CALCulate:MARKer:MAXimum:SCENter:AUTO<wsp> OFF|ON|0|1
:DISPlay[:WINDow]:TRACe:X[:SCALe]:SMSCale
AQ6375
AQ6375
AQ6375
SPAN
Function Control Command Remarks
SPAN****.*nm
SPAN WNUM****.*cm-1
ST
ART WL****.***nm
START FREQ***.****THz
START WNUM****.***cm-1
STOP
WL****.***nm
STOP FREQ***.****THz
STOP WNUM****.***cm-1
0nm SWEEP
VIEW→MEAS
TIME**sec
:SENSe:WAVelength:SPAN<wsp><NRf>[M]
:SENSe:WAVelength:SPAN<wsp><NRf>
:SENSe:WAVelength:STARt<wsp><NRf>[M]
:SENSe:WAVelength:STARt<wsp><NRf>[HZ]
:SENSe:WAVelength:STARt<wsp><NRf>
:SENSe:WAVelength:STOP<wsp><NRf>[M]
:SENSe:WAVelength:STOP<wsp><NRf>[HZ]
:SENSe:WAVelength:STOP<wsp><NRf>
:SENSe:SWEep:TIME:0NM<wsp><integer>[SEC
:DISPlay[:WINDow]:TRACe:X[:SCALe]:SMSCale
AQ6375
AQ6375
AQ6375
]
7-4
1
2
3
4
5
6
7
7.2 Table of Correspondence between Soft Keys and Remote Commands
LEVEL
Function Control Command
REF LEVEL
LOG
LINEAR
LOG SCALE**.*dB/D
LIN SCALE
LIN BASE LEVEL**.*mW
PEAK→REFLEVEL
Function Control Command
AUTO REF LEVEL ON/OFF
LEVEL UNIT dBm / dBm/nm
Y SCALE SETTING
Y SCALE DIVISION 8/10/12
REF LEVEL POSITION
SUB LOG**.*dB/D
SUB LIN*.***/D
SUB SCALE**.*dB/km
SUB SCALE**.*%/D
OFST LVL or SCALE MIN **.*dB
LENGTH**.***km
AUTO SUB SCALE ON/OFF
SUB REF LVL POSITION **DIV
**DIV
<NRf>[DB]
:DISPlay:[:WINDow]:Y1[:SCAle]:RLEVel<wsp><NRf>[DBM]
:DISPlay[:WINDow]:Y1[:SCALe]:RLEVel<wsp><NRf>[NW|UM| MW]
:DISPlay[:WINDow]:TRACe:Y1[:SCALe]:PDIVision<wsp><NRf> [DB]
:DISPlay[:WINDow]:TRACe:Y1[:SCALe]:SPACing<wsp> LINear|1
:DISPlay[:WINDow]:Y1[:SCALe]:BLEVel<wsp><NRf>[MW]
:CALCulate:MARKer:MAXimum:SRLevel
:CALCulate:MARKer:MAXimum:SRLevel:AUTO
:DISPlay[:WINDow]:TRACe:Y1[:SCALe]:UNIT<wsp>DBM|DBM/ NM
:DISPlay[:WINDow]:TRACe:Y[:SCALe]:DNUMber<wsp>8| 10|12
:DISPlay[:WINDow]:TRACe:Y1[:SCALe]:RPOSition<wsp> <integer>[DIV]
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:PDIVision<wsp> <NRf>[DB]
DISPlay[:WINDow]:TRACe:Y2[:SCALe]:PDIVision<wsp><NRf>
:
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:PDIVision<wsp> <NRf>[DB/KM]
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:PDIVision<wsp> <NRf>[%]
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:OLEVel<wsp>
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:LENGth<wsp> <NRf>[KM]
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:AUTO<wsp>OFF| ON|0|1
:DISPlay[:WINDow]:TRACe:Y2[:SCALe]:RPOSition<wsp> <integer>[DIV]
Remote Commands
Note
For the AQ6375, dBm/nm and W/nm cannot be selected for LEVEL UNIT when the horizontal axis is wavenumber. (DBM/NM parameters cannot be set. )
7-5
7.2 Table of Correspondence between Soft Keys and Remote Commands
SETUP
Function Control Command Remarks
RESOLUTION *.***nm
SENS/MODE @@@@@@
NORM/HOLD
NORM/AUTO
NORM
MID
HIGH1
HIGH1/CHOP
HIGH2
HIGH2/CHOP
HIGH3
HIGH3/CHOP
CHOP MODE @@@@@
OFF
SWITCH
AVG TIMES ***
SAMPLING POINT AUTO
SAMPLING POINT *****
SAMPLING INTVL *.****nm
MEAS WL AIR/VAC
SWEEP SPEED 1x/2x
HORZN SCALE nm/THz
HORZN SCALE @@@@
nm
THz
cm-1
PLS LIGHT MEASURE
TRIGGER SETTING
EDGE RISE/FALL
 DELAY****.*μs
TLS SYNC SWEEP ON/OFF
RESOLN CORRECT
SMOOTHING ON/OFF
OFF|ON|0|1
FIBER CORE SIZE
LARGe|0|1
FIBER CONNECTOR
:SENSe:BANDwidth:BWIDth[:RESolution]<wsp> <NRf>[M|Hz]
:SENSe:SENSe<wsp>NHLD|0
:SENSe:SENSe<wsp>NAUT|1
:SENSe:SENSe<wsp>NORMal|6
:SENSe:SENSe<wsp>MID|2
:SENSe:SENSe<wsp>HIGH1|3
:SENSe:SENSe<wsp>HIGH1|3
:SENSe:SENSe<wsp>HIGH2|4
:SENSe:SENSe<wsp>HIGH2|4
:SENSe:SENSe<wsp>HIGH3|5
:SENSe:SENSe<wsp>HIGH3|5
:SENSe:CHOPPer<wsp>OFF|0
:SENSe:CHOPPer<wsp>SWITch|2
:SENSe:AVERage:COUNt<wsp><integer>
:SENSe:SWEep:POINts:AUTO<wsp>OFF|ON|0|1
:SENSe:SWEep:POINts<wsp><integer>
:SENSe:SWEep:STEP<wsp><NRf> [M]
:SENSe:CORRection:RVELocity:MEDium<wsp> AIR|VACuum|0|1
:SENSe:SWEep:SPEed<wsp>1x|2x|0|1
:UNIT:X<wsp>WAVelength|FREQuency|0|1
:UNIT:X<wsp>WAVelength|0
:UNIT:X<wsp>FREQuency|1
:UNIT:X<wsp>WNUMber|2
:TRIGger[:SEQuence]:STATe<wsp>OFF|ON| PHOLd|0|1|2
:TRIGger[:SEQuence]:SLOPe<wsp>RISE| FALL|0|1
:TRIGger[:SEQuence]:DELay<wsp><NRf>[S]
:SENSe:SWEep:TLSSync<wsp>OFF|ON|0|1
:SENSe:SETting:CORRection<wsp> OFF|ON|0|1
:SENSe:SETTing:SMOothing<wsp>
:SENSe:SETTing:FIBer<wsp>SMALl|
:SENSe:SETting:FCONnector<wsp> NORMal|ANGLed|0|1
AQ6375
AQ6370C
AQ6375
AQ6375
AQ6370C
AQ6375
AQ6370C/AQ6373
AQ6370C/AQ6373
AQ6370C/AQ6373
AQ6370C/AQ6373
AQ6370C/AQ6373
AQ6370C/AQ6375
AQ6370C/AQ6373
AQ6373
AQ6373
/AQ6373
7-6
1
2
3
4
5
6
7
7.2 Table of Correspondence between Soft Keys and Remote Commands
ZOOM
Function Control Command Remarks
ZOOM CENTER WL ****.***nm
ZOOM CENTER FREQ ***.****THz
ZOOM CENTER WNUM ****.***cm-1
ZOOM SPAN ****.*nm
ZOOM SPAN ***.**THz
ZOOM SPAN WNUM ****.*cm-1
ZOOM STAR
ZOOM START FREQ ***.****THz
ZOOM START WNUM ****.***cm-1
ZOOM STOP
ZOOM STOP FREQ ***.****THz
ZOOM STOP WNUM : ****.***cm-1
PEAK→ZOOM
OVERVIEW DISPLAY OFF/L/R
OVERVIEW SIZE LARGE/SMALL
INITIAL
CENTer<wsp><NRf>
T WL ****.***nm
WL ****.***nm
CTR
:DISPlay[:WINDow]:TRACe:X[:SCALe]: CENTer<wsp><NRf>[M]
:DISPlay[:WINDow]:TRACe:X[:SCALe]: CENTer<wsp><NRf>[HZ]
:DISPlay[:WINDow]:TRACe:X[:SCALe]:
:DISPlay[:WINDow]:TRACe:X[:SCALe]: SPAN<wsp><NRf>[M]
:DISPlay[:WINDow]:TRACe:X[:SCALe]: SPAN<wsp><NRf>[HZ]
:DISPlay[:WINDow]:TRACe:X[:SCALe]:SPAN
<wsp><NRf>
:DISPlay[:WINDow]:TRACe:X[:SCALe]: STARt<wsp><NRf>[M]
:DISPlay[:WINDow]:TRACe:X[:SCALe]: STARt<wsp><NRf>[HZ]
:DISPlay[:WINDow]:TRACe:X[:SCALe]:STARt <wsp><NRf>
:DISPlay[:WINDow]:TRACe:X[:SCALe]: STOP<wsp><NRf>[M]
:DISPlay[:WINDow]:TRACe:X[:SCALe]: STOP<wsp><NRf>[HZ]
DISPlay[:WINDow]:TRACe:X[:SCALe]:STOP
<wsp><NRf>
:CALCulate:MARKer:MAXimum:SZCEnter
:DISPlay[:WINDow]:OVIew:POSition<wsp> OFF|LEFT|RIGHt|0|1|2
:DISPlay[:WINDow]:OVIew:SIZE<wsp> LARGe|SMALl|0|1
:DISPlay[:WINDow]:TRACe:X[:SCALe]: INITialize
AQ6375
AQ6375
AQ6375
AQ6375
Remote Commands
DISPLAY
Function Control Command Remarks
NORMAL DISPLAY
SPLIT DISPLAY
SPLIT DISPLAY
TRACE A UP/LOW
TRACE B UP/LOW
TRACE C UP/LOW
TRACE D UP/LOW
TRACE E UP/LOW
TRACE F UP/LOW
TRACE G UP/LOW
HOLD
UPPER HOLD ON/OFF
LOWER HOLD ON/OFF
LABEL
NOISE MASK ***dB
MASK LINE VERT/HRZN
TRACE CLEAR
ALL TRACE
DISPLAY OFF
:DISPlay[:WINDow]:SPLit<wsp>OFF|0
:DISPlay[:WINDow]:SPLit<wsp>ON|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRA,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRB,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRC,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRD,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRE,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRF,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:POSition<wsp>TRG,UP|LOW|0|1
:DISPlay[:WINDow]:SPLit:HOLD:UPPer<wsp>OFF|ON|0|1
:DISPlay[:WINDow]:SPLit:HOLD:LOWer<wsp>OFF|ON|0|1
:DISPlay[:WINDow]:TEXT:DATA<wsp><string>
:DISPlay[:WINDow]:TRACe:Y:NMASk<wsp><NRf>[DB]
:DISPlay[:WINDow]:TRACe:Y:NMASk:TYPE<wsp>VERTical| HORIzontal|0|1
:DISPlay[:WINDow]:TEXT:CLEar
:DISPlay[:WINDow]<wsp>OFF|ON|0|1
AQ6370C
7-7
7.2 Table of Correspondence between Soft Keys and Remote Commands
TRACE
Function Control Command
ACTIVE TRACE
A
B
C
D
E
F
G
VIEW @ DISP/BLANK
WRITE @
FIX @
HOLD @
MAX HOLD
MIN HOLD
ROLL AVG @ ***
CALCULATE C@@@@
LOG MATH@@@@
C = A-B(LOG)
C = B-A(LOG)
C = A+B(LOG)
LIN MATH@@@@
C = A+B(LIN)
C = A-B(LIN)
C = B-A(LIN)
C = 1-k(A/B) k: *.****
C = 1-k(B/A) k: *.****
CALCULATE F@@@@
LOG MATH@@@@
F = C-D(LOG)
F = D-C(LOG)
F = C+D(LOG)
F = D-E(LOG)
F = E-D(LOG)
F = D+E(LOG)
CALCulate F@@@@
LIN MATH@@@@
F = C+D(LIN)
F = C-D(LIN)
F = D-C(LIN)
F = D+E(LIN)
F = D-E(LIN)
F = E-D(LIN)
:TRACe:ACTive<wsp>TRA
:TRACe:ACTive<wsp>TRB
:TRACe:ACTive<wsp>TRC
:TRACe:ACTive<wsp>TRD
:TRACe:ACTive<wsp>TRE
:TRACe:ACTive<wsp>TRF
:TRACe:ACTive<wsp>TRG
:TRACe:STATe:<:TRACe name><wsp>ON|OFF|1|0
:TRACe:ATTRibute:<:TRACe name><wsp>WRITe|0
:TRACe:ATTRibute:<tarce name><wsp>FIX|1
:TRACe:ATTRibute:<:TRACe name><wsp>MAX|2
:TRACe:ATTRibute:<:TRACe name><wsp>MIN|3
:TRACe:ATTRibute:RAVG:<:TRACe name><wsp><integer>
:CALCulate:MATH:TRC<wsp>A-B(LOG)
:CALCulate:MATH:TRC<wsp>B-A(LOG)
:CALCulate:MATH:TRC<wsp>A+B(LOG)
:CALCulate:MATH:TRC<wsp>A+B(LIN)
:CALCulate:MATH:TRC<wsp>A-B(LIN)
:CALCulate:MATH:TRC<wsp>B-A(LIN)
:CALCulate:MATH:TRC:K<wsp><NRf>; :CALCulate:MATH:TRC<wsp>1-K(A/B)
:CALCulate:MATH:TRC:K<wsp><NRf>; :CALCulate:MATH:TRC<wsp>1-K(B/A)
:CALCulate:MATH:TRF<wsp>C-D(LOG)
:CALCulate:MATH:TRF<wsp>D-C(LOG)
:CALCulate:MATH:TRF<wsp>C+D(LOG)
:CALCulate:MATH:TRF<wsp>D-E(LOG)
:CALCulate:MATH:TRF<wsp>E-D(LOG)
:CALCulate:MATH:TRF<wsp>D+E(LOG)
:CALCulate:MATH:TRF<wsp>C+D(LIN)
:CALCulate:MATH:TRF<wsp>C-D(LIN)
:CALCulate:MATH:TRF<wsp>D-C(LIN)
:CALCulate:MATH:TRF<wsp>D+E(LIN)
:CALCulate:MATH:TRF<wsp>D-E(LIN)
:CALCulate:MATH:TRF<wsp>E-D(LIN)
7-8
1
2
3
4
5
6
7
7.2 Table of Correspondence between Soft Keys and Remote Commands
Function Control Command
CALCulate G@@@@
LOG MATH@@@@
G = C-F(LOG)
G = F-C(LOG)
G = C+F(LOG)
G = E-F(LOG)
G = F-E(LOG)
G = E+F(LOG)
LIN MATH@@@@
G = C+F(LIN)
G = C-F(LIN)
G = F-C(LIN)
G = E+F(LIN)
G = E-F(LIN)
G = F-E(LIN)
NORMALIZE@@@@
G = NORM A
G = NORM B
G = NORM C
CURVE FIT@@@@
G = CVFIT A
G = CVFIT B
G = CVFIT C
G = MKR FIT
THRESH **dB
OPERATION AREA
FITTING ALGO
CURVE FIT PK@@@@
G = PKCVFIT A
G = PKCVFIT B
G = PKCVFIT C
THRESH **dB
OPERATION AREA
FITTING ALGO
TRACE LIST -
TRACE COPY
TRACE CLEAR
:CALCulate:MATH:TRG<wsp>C-F(LOG)
:CALCulate:MATH:TRG<wsp>F-C(LOG)
:CALCulate:MATH:TRG<wsp>C+F(LOG)
:CALCulate:MATH:TRG<wsp>E-F(LOG)
:CALCulate:MATH:TRG<wsp>F-E(LOG)
:CALCulate:MATH:TRG<wsp>E+F(LOG)
:CALCulate:MATH:TRG<wsp>C+F(LIN)
:CALCulate:MATH:TRG<wsp>C-F(LIN)
:CALCulate:MATH:TRG<wsp>F-C(LIN)
:CALCulate:MATH:TRG<wsp>E+F(LIN)
:CALCulate:MATH:TRG<wsp>E-F(LIN)
:CALCulate:MATH:TRG<wsp>F-E(LIN)
:CALCulate:MATH:TRG<wsp>NORMA
:CALCulate:MATH:TRG<wsp>NORMB
:CALCulate:MATH:TRG<wsp>NORMC
:CALCulate:MATH:TRG<wsp>CVFTA
:CALCulate:MATH:TRG<wsp>CVFTB
:CALCulate:MATH:TRG<wsp>CVFTC
:CALCulate:MATH:TRG<wsp>MKRFT
:CALCulate:MATH:TRG:CVFT:THResh<wsp><NRf>[DB]
:CALCulate:MATH:TRG:CVFT:OPARea<wsp>ALL|INL1-L2| OUTL1-L2|0|1|2
:CALCulate:MATH:TRG:CVFT:FALGo<wsp>GAUSS|LORENz|3RD| 4TH|5TH|0|1|2|3|4
:CALCulate:MATH:TRG<wsp>PKCVFTA
:CALCulate:MATH:TRG<wsp>PKCVFTB
:CALCulate:MATH:TRG<wsp>PKCVFTC
:CALCulate:MATH:TRG:PCVFt:THResh<wsp><NRf>[DB]
:CALCulate:MATH:TRG:CVFT:OPARea<wsp>ALL|INL1-L2| OUTL1-L2|0|1|2
:CALCulate:MATH:TRG:CVFT:FALGo<wsp>GAUSS |LORENz|3RD |4TH|5TH|0|1|2|3|4
:TRACe:COPY<wsp><source:TRACe name>,<destination: TRACe name>
:TRACe:DELete<wsp><:TRACe name>
Remote Commands
7-9
7.2 Table of Correspondence between Soft Keys and Remote Commands
MARKER
Function Control Command Remarks
MKR ACTIVE ON/OFF, SET MARKER
CLEAR MARKER
MARKER→CENTER
MARKER→ZOOMCTR
MARKER→REFLEVEL
ALL MARKER CLEAR
LINE MKR 1 ON/OFF
LINE MKR 2 ON/OFF
LINE MKR 3 ON/OFF
LINE MKR 4 ON/OFF
MKRL1-L2→SPAN
MKRL1-L2→ZOOMSPAN
LINE MARKER ALL CLEAR
MAKER DISPLAY
OFFSET
SPACING
MARKER AUTO UPDATE ON/OFF
MARKER UNIT nm THz
MARKER UNIT @@@@
SEARCH/ANA L1-L2 ON/OFF
SEARCH/ANA ZOOM AREA ON/OFF
MARKER LIST PRINT
:CALCulate:MARKer:UNIT<wsp>WAVelength|0
nm
:CALCulate:MARKer:UNIT<wsp>FREQuency|1
THz
:CALCulate:MARKer:UNIT<wsp>WNUMber|2
cm-1
:CALCulate:MARKer[:STATe]<wsp><marker>,|ON|1 :CALCulate:MARKer:X<wsp><marker>,<NRf>[M|HZ]
:CALCulate:MARKer[:STATe]<wsp><marker>,OFF|0
:CALCulate:MARKer:SCENter
:CALCulate:MARKer:SZCenter
:CALCulate:MARKer:SRLevel
:CALCulate:MARKer:AOFF
:CALCulate:LMARker:X<wsp>1,<NRf>[M]
:CALCulate:LMARker:X<wsp>2,<NRf>[M]
:CALCulate:LMARker:Y<wsp>3,<NRf>[DBM]
:CALCulate:LMARker:Y<wsp>4,<NRf>[DBM]
:CALCulate:LMARker:SSPan
:CALCulate:LMARker:SZSPan
:CALCulate:LMARker:AOFF
:CALCulate:MARKer:FUNCtion:FORMat<wsp> OFFSet|0
:CALCulate:MARKer:FUNCtion:FORMat<wsp> SPACing|1
:CALCulate:MARKer:FUNCtion:UPDate<wsp> OFF|ON|0|1
:CALCulate:MARKer:UNIT<wsp>WAVelength| FREQuency|0|1
:CALCulate:LMARker:SRANge<wsp>OFF|ON|0|1
:DISPlay[:WINDow]:TRACe:X[:SCALe]:SRANge<wsp> OFF|ON|0|1
:HCOPY[:IMMediate]:FUNCtion:MARKer:LIST
AQ6370C
AQ6375
AQ6375
AQ6375
AQ6375
7-10
PEAK SEARCH
Function Control Command Remarks
PEAK SEARCH
BOTTOM SEARCH
NEXT LEVEL SEARCH
:CALCulate:MARKer:MINimum:NEXT
NEXT SEARCH RIGHT
:CALCulate:MARKer:MINimum:RIGHt
NEXT SEARCH LEFT
:CALCulate:MARKer:MINimum:LEFT
SET MARKER
CLEAR MARKER
ALL MARKER CLEAR
AUTO SEARCH ON/OFF
MODE DIFF **.**dB
SEARCH/ANA L1-L2 ON/OFF
SEARCH/ANA ZOOM AREA ON/OFF
SEARCH MODE SINGL/MULTI
THRESH **.**dB
SORT BY WL/LVL
:CALCulate:MARKer:MAXimum
:CALCulate:MARKer:MINimum
:CALCulate:MARKer:MAXimum:NEXT or
:CALCulate:MARKer:MAXimum:RIGHt or
:CALCulate:MARKer:MAXimum:LEFT or
:CALCulate:MARKer[:STATe]<wsp><marker>,|ON|1
:CALCulate:MARKer[:STATe]<wsp><marker>,OFF|0
:CALCulate:MARKer:AOFF
:CALCulate:MARKer:AUTO<wsp>OFF|ON|0|1
:CALCulate:PARameter:COMMon:MDIFf<wsp><NRf>[DB]
:CALCulate:LMARker:SRANge<wsp>OFF|ON|0|1
:DISPlay[:WINDow]:TRACe:X[:SCALe]:SRANge<wsp> OFF|ON|0|1
:CALCulate:MARKer:MSEarch<wsp>OFF|ON|0|1
:CALCulate:MARKer:MSEarch:THResh<wsp><NRf>[DB]
:CALCulate:MARKer:MSEarch:SORT<wsp> WAVelength|LEVel|0|1
AQ6370C
AQ6370C
AQ6370C
1
2
3
4
5
6
7
7.2 Table of Correspondence between Soft Keys and Remote Commands
ANALYSIS
Function Control Command Remarks
SPEC WIDTH@@@@
THRESH
ENVELOPE
RMS
PEAK RMS
NOTCH
ANALYSIS1@@@@
DFB-LD
FP-LD
LED
SMSR
POWER
PMD
ANALYSIS2@@@@@
OSNR (WDM)
WDM
EDFA-NF
FILTER-PK
FILTER-BTM
WDM FIL-PK
WDM FIL-BTM
COLOR
ANALYSIS EXECUTE (@@@@)
SPEC WIDTH THRESH **.*dB
SWITCH DISPLAY
TRACE&TABLE
TABLE
TRACE
GRAPH&TABLE
GRAPH
LINE MARKER Y1/Y2
AUTO ANALYSIS ON/OFF
RESULT PRINT
RESULT SAVE
SEARCH/ANA L1-L2
SEARCH/ANA ZOOM AREA
ON/OFF
:CALCulate:CATegory<wsp>SWTHresh|0
:CALCulate:CATegory<wsp>SWENvelope|1
:CALCulate:CATegory<wsp>SWRMs|2
:CALCulate:CATegory<wsp>SWPKrms|3
:CALCulate:CATegory<wsp>NOTCh|4
:CALCulate:CATegory<wsp>DFBLd|5
:CALCulate:CATegory<wsp>FPLD|6
:CALCulate:CATegory<wsp>LED|7
:CALCulate:CATegory<wsp>SMSR|8
:CALCulate:CATegory<wsp>POWer|9
:CALCulate:CATegory<wsp>PMD|10
:CALCulate:CATegory<wsp>OSNR|11
:CALCulate:CATegory<wsp>WDM|11
:CALCulate:CATegory<wsp>NF|12
:CALCulate:CATegory<wsp>FILPk|13
:CALCulate:CATegory<wsp>FILBtm|14
:CALCulate:CATegory<wsp>WFPeak|15
:CALCulate:CATegory<wsp>WFBtm|16
:CALCulate:CATegory<wsp>COLor|17
:CALCulate[:IMMediate]
:CALCulate:PARameter[:CATegory]:SWTHresh: TH<wsp><NRf>[DB]
:CALCulate:DISPlay<wsp>0
:CALCulate:DISPlay<wsp>1
:CALCulate:DISPlay<wsp>2
:CALCulate:DISPlay<wsp>3
:CALCulate:DISPlay<wsp>4
:CALCulate:DISPlay:GRAPh:LMARker:Y <wsp>1|2,<NRf>[DB]
:CALCulate[:IMMediate]:AUTO<wsp> OFF|ON|0|1
:HCOPY[:IMMediate]:FUNCtion:CALCulate :LIST
MMEMory:STORe:ARESult<wsp> <"file name">[,INTernal|EXTernal]
:CALCulate:LMARker:SRANge<wsp> OFF|ON|0|1ON/OFF
:DISPlay[:WINDow]:TRACe:X[:SCALe] :SRANge<wsp>OFF|ON|0|1
AQ6373
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6373
AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
Remote Commands
Note
For the AQ6375, all soft keys included in ANALYSIS2 are disabled when the horizontal axis is wavenumber. Analysis functions included in ANALYSIS2 cannot be executed. Also, these parameters cannot be set.
7-11
7.2 Table of Correspondence between Soft Keys and Remote Commands
MEMORY
Function Control Command
SAVE
 ATRACE
 BTRACE→MEMORY
 CTRACE→MEMORY
 DTRACE→MEMORY
 ETRACE→MEMORY
 FTRACE→MEMORY
 GTRACE→MEMORY
REC ALL
 MEMORY→ATRACE
 MEMORY→BTRACE
 MEMORY→CTRACE
 MEMORY→DTRACE
 MEMORY→ETRACE
 MEMORY→FTRACE
 MEMORY→GTRACE
MEMORY CLEAR
→MEMORY
:MEMory:STORe<wsp><integer>,TRA
:MEMory:STORe<wsp><integer>,TRB
:MEMory:STORe<wsp><integer>,TRC
:MEMory:STORe<wsp><integer>,TRD
:MEMory:STORe<wsp><integer>,TRE
:MEMory:STORe<wsp><integer>,TRF
:MEMory:STORe<wsp><integer>,TRG
:MEMory:LOAD<wsp><integer>,TRA
:MEMory:LOAD<wsp><integer>,TRB
:MEMory:LOAD<wsp><integer>,TRC
:MEMory:LOAD<wsp><integer>,TRD
:MEMory:LOAD<wsp><integer>,TRE
:MEMory:LOAD<wsp><integer>,TRF
:MEMory:LOAD<wsp><integer>,TRG
:MEMory:CLEar<wsp><integer>
FILE
Function Control Command Remarks
WRITE
DRIVE INT/EXT
FILE NAME
(TRACE)
(ALL TRACE)
(MEMORY)
(GRAPHICS)
(SETTING)
(DATA)
OUTPUT ITEM SETTING
DATE&TIME ON/OFF
LABEL ON/OFF
DATA AREA ON/OFF
CONDITION ON/OFF
TRACE DATA ON/OFF
FILE TYPE CSV/DT6
WRITE MODE
ADD/OVER
(PROGRAM)
ADD|OVER|0|1
:MMEMory:CDRive<wsp>INTernal|EXTernal
:MMEMory:CDIRectory<wsp><directory name>
:MMEMory:STORe:TRACe<wsp><trace name>,BIN| CSV,<"file name">[,INTernal|EXTernal]
:MMEMory:STORe:ATRace<wsp> <”
file name”>[,INTernal|EXTernal]
:MMEMory:STORe:MEMory<wsp><integer>,BIN|CSV, <"file name">[,INTernal|EXTernal]
:MMEMory:STORe:GRAPhics<wsp>B&W|COLor,BMP| TIFF,<"file name">[,INTernal|EXTernal]
:MMEMory:STORe:SETTing<wsp><"file name"> [,INTernal|EXTernal]
:MMEMory:STORe:DATA<wsp><"file name"> [,INTernal| EXTernal]
:MMEMory:STORe:DATA:TEM<wsp>DATE, OFF|ON|0|1
:MMEMory:STORe:DATA:ITEM<wsp>LABel, OFF|ON|0|1
:MMEMory:STORe:DATA:TEM<wsp>DATA, OFF|ON|0|1
:MMEMory:STORe:DATA:ITEM<wsp>CONDition, OFF|ON|0|1
:MMEMory:STORe:DATA:ITEM<wsp>TRACe,
OFF|ON|0|1
:MMEmory:STORe:DATA:TYPE<wsp>CSV|DT|0|
:MMEMory:STORe:DATA:MODE<wsp>
:MMEMory:STORe:PROGram<wsp><integer>, <"file name">[,INTernal|EXTernal]
AQ6370C
7-12
1
2
3
4
5
6
7
7.2 Table of Correspondence between Soft Keys and Remote Commands
Function Control Command Remarks
READ
DRIVE INT/EXT
(TRACE)
(ALL TRACE)
(MEMORY)
(SETTING)
(DATA)
(PROGRAM)
(TEMPLATE)
REMOVE USB STORAGE
FILE OPERATION
DRIVE INT/EXT
DELETE
COPY
RENAME
MAKE DIRECTORY
:MMEMory:CDRive<wsp>INTernal|EXTernal
:MMEMory:LOAD:TRACe<wsp><trace name>, <"file name">[,INTernal|EXTernal]
:MMEMory:LOAD:ATRace<wsp> <”
file name”>[,INTernal | EXTernal]
:MMEMory:LOAD:MEMory<wsp><integer>, <"file name">[,INTernal|EXTernal]
:MMEMory:LOAD:SETTing<wsp><"file name"> [,INTernal| EXTernal]
:MMEMory:LOAD:DATA<wsp><"file name"> [,INTernal|EXTernal]
:MMEMory:LOAD:PROGram<wsp><integer>, <"file name">[,INTernal|EXTernal]
:MMEMory:LOAD:PROGram<wsp><"file name"> [,INTernal|EXTernal]
:MMEMORY:REMove
:MMEMory:CDRive<wsp>INTernal|EXTernal
:MMEMory:DELete<wsp><"file name"> [,INTernal|EXTernal]
:MMEMory:COPY<wsp><"source file name">, [INTernal| EXTernal],<"destination file name>[,INTernal|EXTernal]
:MMEMory:REName<wsp><"new file name">, <"old file name">[,INTernal|EXTernal]
:MMEMory:MDIRectory<wsp><"directory name"> [,INTernal|EXTernal]
AQ6370C
Remote Commands
PROGRAM
Function Control Command
PROGRAM EXECUTE
:PROGram:EXECute<wsp><integer>
7-13
7.2 Table of Correspondence between Soft Keys and Remote Commands
SYSTEM
Function Control Command Remarks
OPTICAL ALIGNMENT
WL CALIBRATION
BUILT-IN SOURCE
EXTERNAL LASER ****.***nm
:CALibration:WAVelength:EXTernal:
EXTERNAL GAS CELL ****.***nm
WL SHIFT **.***nm
LVL SHIFT ***.***dB
WL OFFSET TABLE
LVL OFFSET TABLE
GRID EDITOR
200GHz SPACING
100GHz SPACING
50GHz SPACING
25GHz SPACING
12.5GHz SPACING
CUSTOM
START WL ****.****nm
STOP WL ****.****nm
SPACING ***.*GHz
VALUE EDIT -
INSERT
DELETE
REFERENCE WAVELENGTH ****.****nm
USER KEY DEFINE -
:CALibration:ALIGn[:IMMediate]
:CALibration:WAVelength:INTernal [:IMMediate]
:CALibration:WAVelength:EXTernal: SOURce<wsp>LASer|0;
WAVelength<wsp><NRf>[M] :CALibration:WAVelength:EXTernal:
SOURce<wsp>GASCell|1; :CALibration:WAVelength:EXTernal: WAVelength<wsp><NRf>[M]
:SENSe:CORRection:WAVelength:SHIFt <wsp><NRf>[M]
:SENSe:CORRection:LEVel:SHIFt<wsp> <NRf>[DB]
:CALibration:WAVelength:OFFSet: TABLe<wsp><integer>,<NRf>[DB]
:CALibration:POWer:OFFSet:TABLe<wsp> <integer>,<NRf>[DB]
:SYSTem:GRID<wsp>200GHZ|4
:SYSTem:GRID<wsp>100GHZ|3
:SYSTem:GRID<wsp>50GHZ|2
:SYSTem:GRID<wsp>25GHZ|1
:SYSTem:GRID<wsp>12.5GHZ|0
:SYSTem:GRID<wsp>CUSTom|5
:SYSTem:GRID:CUSTom:STARt<wsp> <NRf>[M|HZ]
:SYSTem:GRID:CUSTom:STOP<wsp> <NRf>[M|HZ]
:SYSTem:GRID:CUSTom:SPACing<wsp> <NRf>[GHZ]
:SYSTem:GRID:CUSTom:INSert<wsp> <NRf>[M|HZ]
:SYSTem:GRID:CUSTom:DELete<wsp> <integer>
:SYSTem:GRID:REFerence<wsp><NRf>[HZ]
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
AQ6370C/AQ6375
7-14
Note
On the AQ6375, the GRID EDITOR soft key is not available when in Frequency mode.
1
2
3
4
5
6
7
7.2 Table of Correspondence between Soft Keys and Remote Commands
Function Control Command Remarks
GP-IB2 PORT ADDRESS **
COMMAND FORMAT
TLS ADDRESS **
MONITOR PORT ON/OFF
HARD COPY DEVICE
INTERNAL
EXTERNAL
FILE
TRIG INPUT MODE
TRIG OUTPUT MODE
AUTO OFFSET ON/OFF
AUTO OFFSET SETTING
AUTO OFFSET ON/OFF
INTERVAL ***min
UNCAL WARN DISPLAY ON/OFF
BUZZER SETTING
CLICK ON/OFF
WARNING ON/OFF
LEVEL DISP
1DIG
2DIG
3DIG
WINDOW TRANSPARENT ON/OFF
SET CLOCK
:SYSTem:TIME<wsp><hour>,<minutes>,
SELECT COLOR
COLOR 1
COLOR 2
COLOR 3
COLOR 4
COLOR 5
B&W
REMOVE USB STRAGE
SYSTEM INFORMATION
SYSTEM INFO
PARAMETER INITIALIZE
CLEAR
ALL
VERSION -
:SYSTem:COMMunicate:CFORmat<wsp>
:SYSTem:COMMunicate:GP-IB2:ADDRess <wsp><integer>
AQ6317|AQ6370C|0|1 :SYSTem:COMMunicate:CFORmat<wsp> AQ6317|AQ6373|0|1 :SYSTem:COMMunicate:CFORmat<wsp> AQ6317|AQ6375|0|1
:SYSTem:COMMunicate:GP-IB2:TLS: ADDRess<wsp><integer>
:SYSTem:COMMunicate:RMONitor<wsp> OFF|ON|0|1
:HCOPY:DESTination<wsp>INTernal|0
:HCOPY:DESTination<wsp>EXTernall|1
:HCOPY:DESTination<wsp>FILE|2
:TRIGger[:SEQuence]:INPut<wsp> ETRigger|STRigger|SENable|0|1|2
AQ6370C.
:TRIGger[:SEQuence]:OUTPut<wsp> OFF|SSTatus|0|1
:CALibration:ZERO[:AUTO]<wsp> OFF|ON|0|1|ONCE
:CALibration:ZERO[:AUTO]<wsp>OFF|
ON|0|1
:CALibration:ZERO[:AUTO]:INTerval <wsp><integer>
:SYSTem:DISPlay:UNCal<wsp>OFF|ON|0|1
:SYSTem:BUZZer:CLICk<wsp>OFF|ON|0|1
:SYSTem:BUZZer:WARNing<wsp>OFF|ON|0|1
:UNIT:POWer:DIGit<wsp>1
:UNIT:POWer:DIGit<wsp>2
:UNIT:POWer:DIGit<wsp>3
:SYSTem:DISPlay:TRANsparent<wsp> OFF|ON|0|1
:SYSTem:DATE<wsp><year>,<month>,<day>
<seconds>
:DISPlay:COLor<wsp>1
:DISPlay:COLor<wsp>2
:DISPlay:COLor<wsp>3
:DISPlay:COLor<wsp>4
:DISPlay:COLor<wsp>5
:DISPlay:COLor<wsp>0
:MMEMory:REMove
:SYSTem:INFormation?<wsp>0|1
:SYSTem:PRESet
AQ6370C
AQ6373
AQ6375
AQ6370C/AQ6375
AQ6370C
“SENable” and “2” can be used on the
AQ6370C/AQ6375
AQ6373
AQ6373
Remote Commands
7-15
7.2 Table of Correspondence between Soft Keys and Remote Commands
ADVANCE
Function Control Command
TEMPLATE
GO/NO GO ON/OFF
TEMPLATE DISPLAY
UPPER LINE DISPLAY ON/OFF
LOWER LINE DISPLAY ON/OFF
TARGET LINE DISPLAY ON/OFF
TYPE
UPPER
LOWER
UPPER & LOWER
TEMPLATE EDIT
ALL DELETE
MODE ABS/REL
EXTRA POL TYPE
TYPE A
TYPE B
NONE
TEMPLATE SHIFT
:TRACe:TEMPlate:WAVelength:SHIFt<wsp>
ON|0|1
ON|0|1
ON|0|1
:TRACe:TEMPlate:GONogo<wsp>OFF|ON|0|1
:TRACe:TEMPlate:DISPlay<wsp>UPPer,OFF|
:TRACe:TEMPlate:DISPlay<wsp>LOWer,OFF|
:TRACe:TEMPlate:DISPlay<wsp>TARGet,OFF|
:TRACe:TEMPlate:TTYPe<wsp>UPPer
:TRACe:TEMPlate:TTYPe<wsp>LOWer
:TRACe:TEMPlate:TTYPe<wsp>U&L
:TRACe:TEMPlate:DATA:ADELete<wsp>UPPer|
LOWer|TARGet
:TRACe:TEMPlate:DATA:MODE<wsp>UPPer|
LOWer|TARGet, ABSolute|RELative
:TRACe:TEMPlate:DATA:ETYPe<wsp>UPPer|
LOWer|TARGet,A|1
:TRACe:TEMPlate:DATA:ETYPe<wsp>UPPer|
LOWer|TARGet,B|2
:TRACe:TEMPlate:DATA:ETYPe<wsp>UPPer|
LOWer|TARGet,NONE|0
:TRACe:TEMPlate:LEVel:SHIFt<wsp><NRf>
<NRf>
COPY
Function Control Command
COPY
:HCOPY[:IMMediate]
FEED
Function Control Command
FEED
:HCOPY[:IMMediate]:FEED
7-16
1
2
3
4
5
6
7

7.3 ANALYSIS Setting Parameters

In setting ANALYSIS key setting parameters, the analysis parameters differ with the analysis type. Thus, the PARAMETER SETTING key commands are set independently of the regular key commands. An analysis parameter setting command is shown below.
SPEC WIDTH
ANALYSIS Parameters Control Command
THRESH
THRESH LEVEL **.**dB
K **.**
MODE FIT ON/OFF
ENVELOPE
THRESH LEVEL1**.**dB
THRESH LEVEL2 **.**dB
K **.**
PEAK RMS
THRESH LEVEL
K **.**
NOTCH
THRESH LEVEL
K **.**
Type
BOTT
**.**dB
:
**.**dB
PEAK
OM
ANALYSIS 1
ANALYSIS Parameters Control Command
DFB-LD
-XdB WIDTH
ALGO
THRESH **.**dB
THRESH2 **.**dB
K
MODE FIT
MODE DIFF *.**dB
ON/OFF
:CALCulate:PARameter[:CATegory]:SWTHresh: TH<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:SWTHresh: K<wsp><NRf>
:CALCulate:PARameter[:CATegory]:SWTHresh: MFIT<wsp>OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:SWENvelope: TH1<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:SWENvelope: TH2<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:SWENvelope:K
:CALCulate:PARameter[:CATegory]:SWPKrms: TH<wsp><NRf>[DB
CALCulate:PARameter[:CATegory]:SWPKrms:
K<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:NOTCh: TH<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:NOTCh: K<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:NOTCh: TYPE<wsp>PEAK|0
:CALCulate:PARameter[:CATegory]:NOTCh: TYPE<wsp>BOTTom|1
:CALCulate:PARameter[:CATegory]:DFBLd<wsp>SWIDt h,ALGO,<data>
:CALCulate:PARameter[:CATegory]:DFBLd<wsp> SWIDth,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd<wsp>SWIDt h,TH2,<NRf>[DB]
:CALCulate:PARameter[:CATegory]: DFBLd<wsp>SWIDth,K,<NRf>
:CALCulate:PARameter[:CATegory]:DFBLd<wsp> SWIDth,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:DFBLd<wsp> SWIDth,MDIFf,<NRf>[DB]
]
Remote Commands
7-17
7.3 ANALYSIS Setting Parameters
ANALYSIS Parameters Control Command Remarks
DFB-LD SWIDth ALGO
THRESH **.**dB
THRESH2 **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
SMSR SMSR MODE
SMSR MASK ±*.**nm MODE DIFF *.**dB
RMS
K
POWER
OSNR
FP-LD SPECTRUM WIDTH ALGO
THRESH **.**dB
THRESH2 **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
7-18
ALGO
THRESH **.**dB
MODE DIFF *.**dB
SPAN **.**nm
MODE DIFF *.**dB
NOISE ALGO
NOISE AREA **.**nm
MASK AREA **.**nm
FITTING ALGO
NOISE BW *.**nm
SIGNAL POWER
INTEGRAL RANGE
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SWIDth,ALGO,<data>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SWIDth,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SWIDth,TH2,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SWIDth,K,<NRf>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SWIDth,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SWIDth,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SMSR,SMODe,SMSR1|SMSR2|SMSR3|SMSR4
be used on the AQ6370C.
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>SMSR,SMASk,<NRf>[M] :CALCulate:PARameter[:CATegory]:DFBLd
<wsp>SMSR,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>RMS,ALGO,<data>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>RMS,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>RMS,K,<NRf>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>RMS,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>POWer,SPAN,<NRf>[M]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,NALGo,<data>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,NARea,<NRf>[M]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,MARea,<NRf>[M]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,FALGo,<data>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,NBW,<NRf>[M]
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,SPOWer,<data>
:CALCulate:PARameter[:CATegory]:DFBLd <wsp>OSNR,IRANge,<NRf>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>SWIDth,ALGO,<data>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>SWIDth,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>SWIDth,TH2,<NRf>[DB
:CALCulate:PARameter[:CATegory]:FPLD <wsp>SWIDth,K,<NRf>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>SWIDth,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FPLD <wsp>SWIDth,MDIFf,<NRf>[DB]
]
“SMSR3” and
“SMSR4” can
AQ6370C AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C AQ6370C
AQ6370C AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
AQ6370C
1
2
3
4
5
6
7
7.3 ANALYSIS Setting Parameters
ANALYSIS Parameters Control Command Remarks
MEAN WAVELENGTH ALGO
THRESH **.**dB
THRESH2 **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
TOTAL POWER OFFSET LEVEL *.**dB MODE NO. ALGO
THRESH **.**dB
THRESH2 **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
LED SPECTRUM WIDTH ALGO
THRESH **.**dB
THRESH2 **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
MEAN WAVELENGTH ALGO
THRESH **.**dB
THRESH2 **.**dB
K
OFFSET LEVEL
MODE FIT ON/OFF
MODE DIFF *.**dB
TOTAL POWER
<wsp>TPOWer,OFFSet,<NRf>[DB]
*.**dB SMSR SMSR MODE
SMSR MASK ±*.**dB
POWER
OFFSET LEVEL *.**dB
PMD THRESH LEVEL *.**dB
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MWAVelength,ALGO,<data>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MWAVelength,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MWAVelength,TH2,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MWAVelength,K,<NRf>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MWAVelength,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MWAVelength,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>TPOWer,OFFSet,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MNUMber,ALGO,<data>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MNUMber,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MNUMber,TH2,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MNUMber,K,<NRf>
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MNUMber,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FPLD <wsp>MNUMber,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED <wsp>SWIDth,ALGO,<data>
:CALCulate:PARameter[:CATegory]:LED <wsp>SWIDth,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED <wsp>SWIDth,TH2,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED <wsp>SWIDth,K,<NRf>
:CALCulate:PARameter[:CATegory]:LED <wsp>SWIDth,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:LED <wsp>SWIDth,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED <wsp>MWAVelength,ALGO,<data>
:CALCulate:PARameter[:CATegory]:LED <wsp>MWAVelength,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED <wsp>MWAVelength,TH2,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED <wsp>MWAVelength,K,<NRf>
:CALCulate:PARameter[:CATegory]:LED <wsp>MWAVelength,MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:LED <wsp>MWAVelength,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:LED
:CALCulate:PARameter[:CATegory]:SMSR: MODE<wsp>SMSR1|SMSR2|SMSR3|SMSR4
be used on the AQ6370C.
:CALCulate:PARameter[:CATegory]:SMSR: MASK<wsp><NRf>[M]POWER
:CALCulate:PARameter[:CATegory]:POWer: OFFSet<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:PMD: TH<wsp><NRf>[DB]
“SMSR3” and “SMSR4” can
7-19
Remote Commands
7.3 ANALYSIS Setting Parameters
ANALYSIS 2 (disabled when in Wavenumber mode)
For the AQ6375, these parameters cannot be set when in Wavenumber mode.
ANALYSIS Parameters Control Command
WDM (On the AQ6373, the soft key appears as OSNR(WDM)).
CHANNEL DETECTION SETTING
THRESH LEVEL
MODE DIFF **.**dB
DISPLAY MASK OFF/ON *.**dB
INTERPOLATATION SETTING
NOISE ALGO
AUTO-FIX
MANUAL-FIX
AUTO-CTR
MANUAL-CTR
PIT
FITTING AREA
MASK AREA
FITTING ALGO
LINEAR
GAUSS
LORENZ
3RD POLY
4TH POLY
5TH POLY
NOISE BW *.**nm
DUAL TRACE ON/OFF
DISPLAY SETTING
DISPLAY TYPE
ABSOLUTE
RELATIVE
DRIFT(MEAS)
DRIFT(GRID)
CH RELATION
OFFSET
SPACING
REF CH
MAX/MIN RESET
OUTPUT SLOPE ON/OFF
POINT DISPLAY
ON/OFF
:CALCulate:PARameter[:CATegory]:WDM:TH<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:WDM:MDIFf<wsp><NRf> [DB]
:CALCulate:PARameter[:CATegory]:WDMASk<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:WDM:NALGo<wsp>AFIX|0
:CALCulate:PARameter[:CATegory]:WDM:NALGo<wsp>MFIX|1
:CALCulate:PARameter[:CATegory]:WDM:NALGo<wsp>ACENter|2
:CALCulate:PARameter[:CATegory]:WDM:NALGo<wsp>MCENter|3
:CALCulate:PARameter[:CATegory]:WDM:NALGo<wsp>PIT|4
:CALCulate:PARameter[:CATegory]:WDM:NARea<wsp><NRf> [M]
:CALCulate:PARameter[:CATegory]:WDM:MARea<wsp><NRf>[M]
:CALCulate:PARameter[:CATegory]:WDM:FALGo<wsp> LINear|0
:CALCulate:PARameter[:CATegory]:WDM:FALGo<wsp>GAUSs|1
:CALCulate:PARameter[:CATegory]:WDM:FALGo<wsp>LORenz|2
:CALCulate:PARameter[:CATegory]:WDM:FALGo<wsp>3RD|3
:CALCulate:PARameter[:CATegory]:WDM:FALGo<wsp>4TH|4
:CALCulate:PARameter[:CATegory]:WDM:FALGo<wsp>5TH|5
:CALCulate:PARameter[:CATegory]:WDM:NBW<wsp><NRf>[M]
:CALCulate:PARameter[:CATegory]:WDM:DUAL<wsp>OFF|ON| 0|1
:CALCulate:PARameter[:CATegory]:WDM:DTYPe<wsp>ABSolute |0
:CALCulate:PARameter[:CATegory]:WDM:DTYPe<wsp>RELatibe |1
(On the AQ6373, it cannot be set.)
:CALCulate:PARameter[:CATegory]:WDM:DTYPe<wsp>MDRift |2
:CALCulate:PARameter[:CATegory]:WDM:DTYPe<wsp>GDRift |3
(On the AQ6373, it cannot be set.)
:CALCulate:PARameter[:CATegory]:WDM:RELation<wsp>OFF Set|0
:CALCulate:PARameter[:CATegory]:WDM:RELation<wsp>SPA Cing|1
:CALCulate:PARameter[:CATegory]:WDM:RCH<wsp> <integer>
:CALCulate:PARameter[:CATegory]:WDM:MMReset
:CALCulate:PARameter[:CATegory]:WDM:OSLope<wsp>OFF| ON|0|1
:CALCulate:PARameter[:CATegory]:WDM:PDISplay<wsp> OFF|ON|0|1
7-20
1
2
3
4
5
6
7
7.3 ANALYSIS Setting Parameters
ANALYSIS Parameters Control Command
OTHER SETTING (invalid if other than the AQ6370C.)
SIGNAL POWER
INTEGRAL RANGE
EDFA NF (It is not available on the AQ6373.)
CHANNNEL
THRESH LEVEL
**.**dB MODE DIFF **.**dB
INTERPOLATION SETTING
OFFSET(IN) **.**dB
OFFSET(OUT) **.**dB
ASE ALGO
AUTO-FIX
MANUAL-FIX
AUTO-CTR
MANUAL-CTR
FITTING AREA
MASK AREA
FITTING ALGO
LINEAR
GAUSS
LORENZ
3RD POLY
4TH POLY
5TH POLY POINT DISPLAY
ON/OFF NF CALCULATION SETTING
RES BW
SHOT NOISE
FILTER-PK
PEAK LEVEL
SW ON/OFF
PEAK WAVELENGTH
SW ON/OFF
CENTER WAVELENGTH
ALGO
THRESH LEVEL **.**dB
K
MODE FIT ON/OFF
DETECTION
:CALCulate:PARameter[:CATegory]:WDM:SPOWer<wsp> PEAK|INTegral|0|1
:CALCulate:PARameter[:CATegory]:WDM: IRANge<wsp><NRf>
:CALCulate:PARameter[:CATegory]:NF:TH<wsp><NRf>[DB]
:CALCulate:PARameter[:CATegory]:NF:MDIFf<wsp><NRf> [DB]
:CALCulate:PARameter[:CATegory]:NF:IOFFset<wsp><NRf> [DB]
:CALCulate:PARameter[:CATegory]:NF:OOFFset<wsp><NRf> [DB]
:CALCulate:PARameter[:CATegory]:NF:AALGo<wsp>AFIX|0
:CALCulate:PARameter[:CATegory]:NF:AALGo<wsp>MFIX|1
:CALCulate:PARameter[:CATegory]:NF:AALGo<wsp> ACENter|2
:CALCulate:PARameter[:CATegory]:NF:AALGo<wsp>MCENter |3
:CALCulate:PARameter[:CATegory]:NF:FARea<wsp><NRf> [M]
:CALCulate:PARameter[:CATegory]:NF:MARea<wsp><NRf> [M]
:CALCulate:PARameter[:CATegory]:NF:FALGo<wsp>LINear|0
:CALCulate:PARameter[:CATegory]:NF:FALGo<wsp>GAUSs|1
:CALCulate:PARameter[:CATegory]:NF:FALGo<wsp>LORenz|2
:CALCulate:PARameter[:CATegory]:NF:FALGo<wsp>3RD|3
:CALCulate:PARameter[:CATegory]:NF:FALGo<wsp>4TH|4
:CALCulate:PARameter[:CATegory]:NF:FALGo<wsp>5TH 5 :CALCulate:PARameter[:CATegory]:NF:PDISplay<wsp>OFF|ON|
0|1
:CALCulate:PARameter[:CATegory]:NF:RBWidth<wsp>MEASur ed
|CAL|0|1
:CALCulate:PARameter[:CATegory]:NF:SNOise<wsp> ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp>PLEVel,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp> PWAVelength,SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp> MWAVelength,ALGO,<data>
:CALCulate:PARameter[:CATegory]FILPk<wsp> MWAVelength,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILPk<wsp> MWAVelength,K,<NRf>
:CALCulate:PARameter[:CATegory]:FILPk<wsp> MWAVelength,MFIT,OFF|ON|0|1
Remote Commands
OFF|
7-21
7.3 ANALYSIS Setting Parameters
ANALYSIS Parameters Control Command
MODE DIFF *.**dB
FILTER-PK
SPECTRUM WIDTH
SW ON/OFF
ALGO
THRESH LEVEL **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
CROSS TALK
SW ON/OFF
ALGO
THRESH LEVEL **.**dB
K
MODE FIT ON/OFF
MODE DIFF *.**dB
CH SPACE ±*.**nm
SEARCH AREA ±*.**nm
RIPPLE WIDTH
SW ON/OFF
THRESH LEVEL **.**dB
MODE DIFF *.**dB
:CALCulate:PARameter[:CATegory]:FILPk<wsp> MWAVelength,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILPk<wsp>SWIDth,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp>SWIDth, ALGO,<data>
:CALCulate:PARameter[:CATegory]:FILPk<wsp>SWIDth,TH, <NRf>[DB]
:CALCulate:PARameter[:CATegory]: FILPk<wsp>SWIDth,K, <NRf>
:CALCulate:PARameter[:CATegory]:FILPk<wsp>SWIDth, MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp>SWIDth, MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk, ALGO,<data>
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk,TH, <NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk,K, <NRf>
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk, MFIT,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk, MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILPk<wsp>XTALk, CSPace,<NRf>[M]
:CALCulate:PARameter[:CATegory]:FILPk<wsp> XTALk,SARea,<NRf>[M]
:CALCulate:PARameter[:CATegory]:FILPk<wsp>RWIDth,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILPk<wsp> RWIDth, TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILPk<wsp>RWIDth, MDIFf,<NRf>[DB]
7-22
1
2
3
4
5
6
7
7.3 ANALYSIS Setting Parameters
ANALYSIS Parameters Control Command
FILTER BOTTOM
BOTTOM LEVEL
SW ON/OFF
BOTTOM WAVELENGTH
SW ON/OFF
CENTER WAVELENGTH
SW ON/OFF
ALGO
THRESH LEVEL **.**dB
CENTER WAVELENGTH
MODE DIFF *.**dB
NOTCH WIDTH
SW ON/OFF
ALGO
THRESH LEVEL **.**dB
MODE DIFF *.**dB
CROSS TALK
SW ON/OFF
ALGO
THRESH LEVEL **.**dB
MODE DIFF *.**dB
CH SPACE ±*.**nm
SEARCH AREA ±*.**nm
WDM FIL-PK (It is not available on the AQ6373.)
CHANNEL DETECTION/ NOMINAL WAVELENGTH
ALGO
THRESH LEVEL **.**dB
MODE DIFF *.**dB
TEST BAND *.***nm
PEAK WAVELENGTH/LEVEL
SW ON/OFF
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>BLEVel, SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILBtm<wsp> BWAVelength,SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILBtm<wsp> CWAVelength,SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILBtm<wsp> CWAVelength,ALGO,<data>
:CALCulate:PARameter[:CATegory]:FILBtm<wsp> CWAVelength,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILBtm<wsp> CWAVelength,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>NWIDth, SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>NWIDth, ALGO,<data>
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>NWIDth, TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]: FILBtm<wsp>NWIDth, MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>XTALk,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>XTALk, ALGO,<data>
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>XTALk,TH, <NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>XTALk, MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>XTALk, CSPace,<NRf>[M]
:CALCulate:PARameter[:CATegory]:FILBtm<wsp>XTALk, SARea,<NRf>[M]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp> NWAVelength,ALGO,<data>
:CALCulate:PARameter[:CATegory]:WFPeak<wsp> NWAVelength,TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp> NWAVelength,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp> NWAVelength,TBANd<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp> PWAVelength,SW,OFF|ON|0|1
Remote Commands
7-23
7.3 ANALYSIS Setting Parameters
ANALYSIS Parameters Control Command
WDM FIL-PK
XdB WIDTH/CENTER WA
SW ON/OFF
XdB STOP BAND
SW ON/OFF
THRESH LEVEL **.**dB
XdB PASS BAND
SW ON/OFF
THRESH LEVEL
TEST BAND *.***nm
RIPPLE
SW ON/OFF
TEST BAND *.***nm
CROSS TALK
SW ON/OFF
SPACING *.**nm
TEST BAND *.***nm
WDM FIL-BTM (It is not available on the AQ6373.)
CHANNEL DETECTION/ NOMINAL WAVELENGTH
ALGO
THRESH LEVEL **.**dB
MODE DIFF *.**dB
TEST BAND *.***nm
BOTTM WAVELENGTH/LEVEL
SW ON/OFF
XdB NOTCH WIDTH/CENTER
SW ON/OFF
XdB STOP BAND
ALGO
THRESH LEVEL **.**dB
XdB ELIMINATION BAND
SW ON/OFF
VELENGTH
:CALCulate:PARameter[:CATegory]:WFPeak<wsp> CWAVelength,SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>SBANd,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>SBANd,TH, <NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>PBANd,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>PBANd,TH, <NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>PBANd, TBANd,<NRf>[DB
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>RIPPle, SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>RIPPle, TBANd,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>XTALk,SW, OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>XTALk, SPACing,<NRf>[M]
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>XTALk, TBANd,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp> NWAVelength,ALGO,<data>
:CALCulate:PARameter[:CATegory]:WFPeak<wsp>WFBottom, TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp> NWAVelength,MDIFf,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp> NWAVelength,TBANd<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp> BWAVelength,SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFBottom<wsp> CWAVelength,SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>SBANd, ALGO,<data>
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>SBANd, TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>EBANd, SW,OFF|ON|0|1
]
7-24
1
2
3
4
5
6
7
ANALYSIS Parameters Control Command
WDM FIL-BTM
XdB ELIMINATION BAND
THRESH LEVEL
**.**dB TEST BAND *.***nm
RIPPLE
SW ON/OFF
TEST BAND *.***nm
CROSS TALK
SW ON/OFF
SPACING *.**nm
TEST BAND *.***nm
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>EBANd, TH,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>EBANd, TBANd,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>RIPPle, SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>RIPPle, TBANd,<NRf>[DB]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>XTALk, SW,OFF|ON|0|1
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>XTALk, SPACing,<NRf>[M]
:CALCulate:PARameter[:CATegory]:WFBottom<wsp>XTALk, TBANd,<NRf>[DB]
7.3 ANALYSIS Setting Parameters
Remote Commands
7-25

7.4 Remote Command Tree

Command Parameter Page
COMMON command
*CLS *ESE <integer> 7-34 *ESE? *ESR? none 7-34 *IDN? none 7-34 *OPC none 7-34 *OPC? none 7-34 *RST none 7-35 *SRE <integer> 7-35 *SRE? none 7-35 *STB? none 7-35 *TRG none 7-35 *TST? none 7-35 *WAI none 7-35
ABORt
CALCulate
:CATegory NOTCh|DFBLd| FPLD|LED|SMSR|POWer| PMD|WDM|NF|FILPk|FILBtm|WFPeak| WFBtm|OSNR|COLor :DATA? none 7-37 :CGAin? none 7-37 :CNF? none 7-37 :CPOWers? none 7-37 :CSNR? none 7-37 :CWAVelengths :DFBLd? none 7-38 :NCHannels none 7-38 :DISPlay 0|1|2|3|4 7-38 :GRAPh:LMARker:Y 1|2,<NRf>[DB] 7-38 [:IMMediate] none 7-38 :AUTO OFF|ON|0|1 7-39 :LMARker :AOFF none 7-39 :SRANge OFF|ON|0|1 7-39 :SSPan none 7-39 :SZSPan none 7-39 :X 1|2,<NRf>[M|HZ] 7-39 :Y 3|4,<NRf>[DBM/DB/%] 7-39 :MARKer :AOFF none 7-39 :AUTO OFF|ON|0|1 7-39 :FUNCtion :FORMat OFFSet|SPACing|0|1 7-40 :UPDate OFF|ON|0|1 7-40 :MAXimum none 7-40 :LEFT none 7-40 :NEXT none 7-40 :RIGHt none 7-40 :SCENter none 7-40 :AUTO OFF|ON|0|1 7-40 :SRLevel none 7-40 :AUTO OFF|ON|0|1 7-40 :SZCenter none 7-41
none 7-34
none 7-34
none
SWTHresh|SWENvelope|SWRMs|SWPKrms| 7-36
none 7-38
7-36
7-26
1
2
3
4
5
6
7
7.4 Remote Command Tree
Command Parameter Page
:NEXT none 7-41 :RIGHt none 7-41 :MSEarch OFF|ON|0|1 7-41 :SORT WAVelength|LEVel|0|1 7-41 :THResh <NRf>[DB] 7-41 :SCENter none 7-41 :SRLevel none 7-41 [:STATe] <marker>,OFF|ON|0|1 7-42 :SZCenter none 7-42 :UNIT WAVelength|FREQuency :X <marker>,<NRf> [M|HZ] 7-42 :Y? <marker> 7-42 :MATH :TRC A-B(LIN)|B-A(LIN)|1-K(A/B)|1-K(B/A) :K <NRf> 7-43 :TRF
D-C(LIN)|D+E(LIN)|D-E(LIN)|E-D(LIN) :TRG
F-C(LIN)|E+F(LIN)|E-F(LIN)|F-E(LIN)| NORMA|NORMB|NORMC|CVFTA|CVFTB|CVFTC| MKRFT|PKCVFTA|PKCVFTB|PKCVFTC :CVFT :FALGo GAUSS|LORENz|3RD|4TH|5TH|0|1|2|3|4 7-43 :OPARea ALL|INL1-L2|OUTL1-L2|0|1|2 7-43 :THResh <integer>[DB] 7-43 :PCVFt:THResh <integer>[DB] 7-44 :PARameter [:CATegory] :DFBLd <item>,<paramater name>,<data> 7-44 :FILBtm <item>,<paramater name>,<data> 7-44 :FILPk <item>,<paramater name>,<data> 7-45 :FPLD <item>,<paramater name>,<data> 7-45 :LED <item>,<paramater name>,<data> 7-46 :NF :AALGo AFIX|MFIX|ACENter|MCENter|0|1|2|3| 7-46 :FALGo LINear|GAUSs|LORenz|3RD|4TH|5TH| 7-46 0|1|2|3|4|5 :FARea <NRf>[M] 7-47 :IOFFset <NRf>[DB] 7-47 :MARea <NRf>[M] 7-47 :MDIFf <NRf>[DB] 7-47 :OOFFset <NRf>[DB] 7-47 :PDISplay OFF|ON|0|1 7-47 :TH <NRf>[DB] 7-48 :RBWidth MEASURED|CAL|0|1 7-48 :SNOise :NOTCh :K <NRf> 7-48 :TH <NRf>[DB] 7-48 :TYPE PEAK|BOTTom|0|1 7-48 :PMD:TH <NRf>[DB] 7-48 :POWer:OFFSet <NRf>[DB] 7-49 :SMSR :MASK <NRf>[M] 7-49 :MODE SMSR1|SMSR2|SMSR3|SMSR4 7-49 :SWENvelope :K <NRf> 7-49 :TH1 <NRf>[DB] 7-49 :TH2 <NRf>[DB] 7-49
:MINimum
:LEFT none 7-41
none 7-41
|WNUMber
A-B(LOG)|B-A(LOG)|A+B(LOG)|A+B(LIN)|
C-D(LOG)|D-C(LOG)|C+D(LOG)|D-E(LOG)| E-D(LOG)|D+E(LOG)|C+D(LIN)|C-D(LIN)|
C-F(LOG)|F-C(LOG)|C+F(LOG)|E-F(LOG)| F-E(LOG)|E+F(LOG)|C+F(LIN)|C-F(LIN)|
OFF|ON|0|1 7-48
7-42
7-42
7-43
7-43
Remote Commands
7-27
7.4 Remote Command Tree
Command Parameter Page
:SWPKrms :K <NRf> 7-49
:TH <NRf>[DB] 7-50 :SWRMs :K <NRf> 7-50 :TH <NRf>[DB] 7-50 :SWTHresh :K <NRf> 7-50 :MFIT OFF|ON|0|1 7-50 :TH <NRf>[DB] 7-50 :WDM :DMASk <NRf>[DB] 7-51 :DTYPe ABSolute|RELative|MDRIft|GDRIft| 7-51 0|1|2|3 :DUAL OFF|ON|0|1 7-51 :FALGo LINear|GAUSs|LORenz|3RD|4TH|5TH| 7-51 0|1|2|3|4|5
:IRANge <NRf>
:MARea <NRf>[M] 7-52 :MDIFf <NRf>[DB] 7-52 :MMReset None 7-52 :NALGo AFIX|MFIX|ACENter|MCENter|PIT| 7-52 0|1|2|3|4 :NARea <NRf>[M] 7-52 :NBW <NRf>[M] 7-52 :OSLope OFF|ON|0|1 7-53 :PDISplay OFF|ON|0|1 7-53 :RCH <integer> 7-53 :RELation OFFSet | SPACing|0|1 7-53 :SPOWer PEAK|INTegral|0|1 :TH <NRf>[DB] 7-53 :WFBottom <item>,<paramater name>,<data> 7-54 :WFPeak <item>,<paramater name>,<data> 7-54 :COMMON :MDIFf <NRf>[DB] 7-54
CALibration
:ALIGn[:IMMediate] :POWer :OFFSet:TABLe :WAVelength :EXTernal [:IMMediate] none 7-55 :SOURce LASEr|GASCell 7-55 :WAVelength <NRf>M 7-55 :INTernal[:IMMediate] none 7-55 :OFFSet:TABLe <integer>,<NRf> 7-56 :ZERO[:AUTO] OFF|ON|0|1|ONCE 7-56 :INTerval <integer> 7-56 :STATus? none 7-56
DISPlay
:COLor [:WINDow] :OVIew :POSition OFF|LEFT|RIGHt|0|1|2 7-56 :SIZE LARGe|SMALl|0|1 7-56 :SPLIt OFF|ON|0|1 7-57 :HOLD :LOWer OFF|ON|0|1 7-57 :UPPer OFF|ON|0|1 7-57 :POSition <trace name>,UP|LOW|0|1 7-57 :TEXT :CLEar none 7-57 :DATA <"string"> 7-57
0|1|2|3|4|5 7-56
OFF|ON|0|1 7-56
none 7-55
<integer>,<NRf>[DB] 7-55
7-52
7-53
7-28
1
2
3
4
5
6
7
7.4 Remote Command Tree
Command Parameter Page
:TRACe :X[:SCALe] :CENTer <NRf>[M|HZ] 7-57
:INITialize none 7-57 :SMSCale none 7-58 :SPAN <NRf>[M|HZ] 7-58 :SRANge OFF|ON|0|1 7-58 :STARt <NRf>[M|HZ] 7-58 :STOP <NRf>[M|HZ] 7-58 :Y :NMASk <NRf>DB 7-58 :TYPE VERTical|HORizontal|0|1 7-59 [:SCALe] :DNUMber 8|10|12 7-59 :Y1 [:SCALe] :BLEVel <NRf>[W|MW|UW|NW] 7-59 :PDIVision <NRf>[DB] 7-59 :RLEVel <NRf>[DBM|W| 7-59 :RPOSition <integer>[DIV] 7-60 :SPACing LOGarithmic|LINear|0|1 7-60 :UNIT DBM|W|DBM/NM|W/NM|0|1|2|3 7-60 :Y2 [:SCALe] :AUTO OFF|ON|0|1 7-60 :LENGth <NRf>[KM] 7-60 :OLEVel <NRf>[DB|DB/KM] 7-60 :PDIVision <NRf>[DB|DB|KM|%] 7-61
:RPOSition <integer>[DIV] 7-61 :SMINimum <NRf>[%] 7-61 :UNIT DB|LINear|DB/KM|%|0|1|2|3 7-61
FORMat
[:DATA]
HCOPy
:DESTination [:IMMediate] :FEED [<integer>] 7-62 :FUNCtion :CALCulate:LIST none 7-62 :MARKer:LIST none 7-62
INITiate
[:IMMediate] :SMODe
MEMory
:CLEar :EMPty? :LOAD <integer>,<trace name> 7-63 :STORe <integer>,<trace name> 7-63
REAL[,64|,32]|ASCii 7-62
INTernal|FILE|0|2 7-62 none 7-62
none 7-63
SINGle|REPeat|AUTO|SEGment|1|2|3|4 7-63
<integer> 7-63 <integer> 7-63
Remote Commands
7-29
7.4 Remote Command Tree
Command Parameter Page
MMEMory
:CATalog? :CDIRectory :CDRive INTernal|EXTernal 7-64 :COPY <"source file name">, 7-64 [INTernal|EXTernal], <"destination file name">[,INTernal| EXTernal] :DATA? <"file name">[,INTernal|EXTernal] 7-64 :DELete <"file name">[,INTernal|EXTernal] 7-64 :LOAD :ATRace <”file name”>[,INTernal|EXTernal] :MEMory <integer>,<"filename">[,INTernal| 7-65 EXTernal] :PROGram <integer>,<"filename">[,INTernal| 7-65 EXTernal] :SETTing <"filename">[,INTernal|EXTernal] 7-65 :TEMPlate <template>,<"filename">[,INTernal| 7-65 EXTernal] :TRACe <trace name>,<"filename">[,INTernal| 7-65 EXTernal] :MDIRectory <"directory name">[,INTernal| 7-65 EXTernal] :REMove None 7-65 :REName [,INTernal|EXTernal] :STORe :ARESult <”filename”>[,INTernal|EXTernal] 7-65 :ATRace <”file name”>[,INTernal|EXTernal] :DATA <"filename">,[,INTernal|EXTernal] 7-66 :ITEM DATE|LABel|DATA|CONDition|TRACe,OFF|ON| 7-66 0|1 :MODE ADD|OVER|0|1 7-66 :TYPE CSV|DT|0|1 7-66 :GRAPhics B&W|COLor, BMP | TIFF,<"filename"> 7-66 [,INTernal|EXTernal] :MEMory <integer>,BI|CSV,<"filename"> 7-66 [,INTernal|EXTernal] :PROGram <integer>,<"filename">[,INTernal| 7-67 EXTernal] :SETTing <"filename">[,INTernal|EXTernal] 7-67 :TEMPlate <template>,<"filename">[,INTernal| 7-67 EXTernal] :TRACe <trace name>,BIN | CSV,<"filename"> 7-67 [,INTernal|EXTernal]
PROGram
:EXECute
SENSe
:AVERage:COUNt :BANDwidth|:BWIDth [:RESolution] :CHOPper OFF|SWITch|0|2 7-68 :CORRection :LEVel:SHIFt <NRf>[DB] 7-68 :RVELocity:MEDium AIR|VACuum|0|1 7-68 :WAVelength:SHIFt <NRf>[M] 7-68 :SENSe NHLD|NAUT|NORMal|MID|HIGH1|HIGH2| 7-68 HIGH3|0|1|6|2|3|4|5 :SETTing :CORRection OFF|ON|0|1 7-69
:FCONnetcor NORMal|ANGLed|0|1 :FIBer SMALl|LARGe|0|1 7-69 :SMOothing OFF|ON|0|1 7-69 :SWEep :POINts <integer> 7-69 :AUTO OFF|ON|0|1 7-69
[INTernal|EXTernal] 7-64
<"directory name"> 7-64
7-64
<"new file name">,<"old file name"> 7-65
7-66
<integer> 7-67
<integer> 7-68 <NRf>[M|Hz] 7-68
7-69
7-30
1
2
3
4
5
6
7
7.4 Remote Command Tree
Command Parameter Page
:SEGMent:POINts <integer> 7-69 :SPEed 1x|2x|0|1 7-70 :STEP <NRf>[M] 7-70 :TIME :0NM <integer>[SEC] 7-70 :INTerval <integer>[SEC] 7-70 :TLSSync OFF|ON|0|1 7-70 :WAVelength :CENTer <NRf>[M|HZ] 7-70 :SPAN <NRf>[M|HZ] 7-70 :SRANge OFF|ON|0|1 7-71 :STARt <NRf>[M|HZ] 7-71 :STOP
STATus
:OPERation :CONDition? :ENABl [:EVENt]? none 7-71 :PRESet none 7-71 :QUEStionable :CONDition? none 7-72 :ENABle <integer> 7-72 [:EVENt]? none 7-72
SYSTem
:BUZZer :CLIC :WARNing OFF|ON|0|1 7-72 :COMMunicate :CFORmat AQ6317|AQ6370|AQ6375|AQ6370C|AQ6373 7-72 |0|1 :GP-IB2 :ADDRess <integer> 7-73 :SCONtroller OFF|ON|0|1 7-73 :TLS:ADDRess <integer> 7-73 :LOCKout OFF|ON|0|1 7-73 :RMONitor OFF|ON|0|1 7-73 :DATE yyyy,mm,dd 7-73 :DISPlay :TRANsparent OFF|ON|0|1 7-74 :UNCal :ERRor [:NEXT]? none 7-74 :GRID 12.5GHZ|25GHz|50GHZ|100GHZ|200GHZ 7-74 |CUSTom|0|1|2|3|4|5 :CUSTom :CLEar:ALL none 7-74 :DELete <grid number> 7-74 :INSert <NRf>[M|HZ] 7-74 :SPACing <NRf>[GHZ] 7-74 :STARt <NRf>[M|HZ] 7-75 :STOP <NRf>[M|HZ] 7-75 :REFerence <NRf>[M|HZ] 7-75 :INFormation? 0|1 7-75 :PRESet none 7-75 :TIME hh,mm,ss 7-75 :VERSion? 7-75
TRACe
:ACTive <trace name> 7-76 :ATTRibute[:<trace name>] WRITe|FIX|MAX|MIN|RAVG|CALC 7-76 :RAVG[:<trace name>] <integer> 7-76 :COPY <source trace>,<destination trace> 7-76
<NRf>[M|HZ] 7-71
none 7-71
<integer> 7-71
OFF|ON|0|1 7-72
Remote Commands
OFF|ON|0|1 7-74
7-31
7.4 Remote Command Tree
Command Parameter Page
[:DATA]
:SNUMber? <trace name> 7-76 :X? <trace name>[,<start point>, 7-77 <stop point>] :Y? <trace name>[,<start point>, 7-77 <stop point>]
:DELete <trace name> 7­ :ALL 7­ :STATe[:<trace name>] OFF|ON|0|1 7-77 :TEMPlate :DATA <template>,<wavelength>,<level> 7-78 :ADELete <template> 7-78 :ETYPe <template>,NONE|A|B|0|1|2 7-78 :MODE <template>,ABSolute|RELative|0|1 7-78 :DISPlay <template>,OFF|ON|0|1 7-78 :GONogo OFF|ON|0|1 7-79 :LEVel:SHIFt <NRf>[DB] 7-79 :RESult? 7-79 :TTYPe UPPer|LOWer|U&L|0|1|2 7-79 :WAVelength:SHIFt <NRf>[M] 7-79
TRIGger
[:SEQuence] :DELay :SLOPe RISE|FALL|0|1 7-80 :STATe OFF|ON|PHOLd|0|1|2 7-80 :INPut ETRigger|STRigger|SENable|0|1|2 7-80 :OUTPut OFF|SSTatus|0|1 7-80 :PHOLd:HTIMe <NRf>[s] 7-80
UNIT
:POWer:DIGit :X WAVelength|FREQuency|WNUMBer|0|1|2 7-81
<NRf>[S|MS|US] 7-80
1|2|3 7-81
77 77
7-32
1
2
3
4
5
6
7

7.5 Common Commands

The instrument supports the “Required” common commands listed in the table below.
Cmd Name IEEE 488.2 Std. AQ6370C/AQ6373/ AQ6375
*AAD Accept Address Command Option
*CAL? Calibration Query Option
*CLS Clear Status Command Required Y
*DDT Define Device T
*DDT? Define Device Trigger Query DT1 option
*DLF Disable Listener Function Command Option
*DMC Define Macro Command Option
*EMC Enable Macro Command Option
*EMC? Enable Macro Query Option
*ESE Standard Event Status Enable Command Required Y
*ESE? Standard Event Status Enable Query Required Y
*ESR? Standard Event Status Register Query Required Y
*GMC? Get Macro Contents Query Option
*IDN? Identification Query Required Y
*IST? Individual Status Query Required for PP1
*LMC? Learn Macro Query Option
*LRN? Learn Device Setup Query Option
*OPC Operation Complete Command Required Y
*OPC? Operation Complete Query Required Y
*OPT Option Identification Query Option
*PCB Pass Control Back Command Required if not C0
*PMC Purge Macro Command Option
*PRE Parallel Poll Register Enable Command Required for PP1
*PRE? Parallel Poll Register Enable Query Required for PP1
*PSC Power On Status Clear Command Option
*PSC? Power On Status Clear Query Option
*PUD Protected User Data Command Option
*PUD? Protected User Data Query Option
*RCL Recall Command Option
*RDT Resource DescriptionTransfer Command Option
*RDT? Resource Description Transfer Query Option
*RST Reset Command Required Y
*SAV Save Command Option
*SRE Service Request Enable Command Required Y
*SRE? Service Request Enable Query Required Y
*STB? Read Status Byte Query Required Y
*TRG Trigger Command Required if DT1 Y
*TST? Self-Test Query Required Y
*WAI Wait-to-Continue Command Required Y
Y: Commands supported by the AQ6370C, AQ6373 and AQ6375
rigger Command *DT1 option
Remote Commands
7-33
7.5 Common Commands
*CLS(Clear Status)
Function Clears all event status registers, the summary
of which is reflected in the status byte register.
Syntax *CLS Example *CLS
Explanation •
• After executing this command, OCIS
• This is a sequential command.
Clears all queues, with the exception of the
output queue, and all event registers, with the exception of the MAV summary message.
(Operation Complete Command Idle State) and OQIS (Operation Complete Query Idle State) are brought about.
*ESE(Standard Event Status Enable)
Function Sets/queries the standard event enable register.
*ESE<wsp><integer>
Syntax
*ESE?
<integer> = 0–255 Example
*ESE? -> 251
Explanation • An item having had its bit set becomes
• Resets to the default value in the following
When power is ON When “0” is set
• The set value remains the same in the
*RST *CLS Device clear (DCL, SDC)
• The default is 0.
• This is a sequential command.
*ESE 251
enabled.
cases:
following cases:
*ESR?(Standard Event Status Register)
Function Queries the standard event status register and
simultaneously clears it.
*ESR?
Syntax Example Explanation • The return value of this query is not affected
• This is an overlapping command.
*ESR? -> 251
by ESE (Event Status Enable Register).
*IDN? (Identification)
Function Queries the instrument type and firmware
version.
*IDN?
Syntax Example
Explanation • Outputs 4 field data delimited by a comma. Field 1: Manufacturer “YOKOGAWA” Field 2: Model “AQ6370C”, “AQ6373”
Field 3: Instrument serial number Field 4: Firmware version
• For the AQ6370C, field 2 is “AQ6370C.”
• For the AQ6373, field 2 is “AQ6373.”
• For the AQ6375, field 2 is “AQ6375.”
• This is a sequential command.
*IDN? -> YOKOGAWA,AQ6370C,aaaaaaaaa
,bb.bb
aaaaaaaaa: bb.bb:
or “AQ6375”
Serial number (9 digit string)
Firmware version
*OPC(Operation Complete)
Function Sets/queries bit 0 (OPC) of the standard event
status register (ESR) if operations waiting to be processed have all been completed.
*OPC
Syntax Example
*OPC? -> 1
Explanation • At the time this command is recognized, the
• If any of the following conditions are
Power ON Device clear *CLS, *RST command
• This is an overlapping command.
*OPC
command changes from OCIS (Operation Complete Command Idle State) to OCAS (Operation Complete Command Active State). When the no-operation pending flag is set to “True,” it sets bit 0 (OCR) of ESR and returns to OCIS.
established, this command is disabled and is forced to return to OCIS.
7-34
1
2
3
4
5
6
7
7.5 Common Commands
*RST (Reset)
Function Executes a device reset to return the instrument
to the known (default) status.
*RST
Syntax Example Explanation • Stops operation being processed and returns
• This unit’s parameters are cleared.
• The following items will remain the same. GP-IB interface status GP-IB address Output queue SRE ESE Calibration data affecting the instrument’s
• This is an overlapping command.
*RST
the instrument to the known set value (default value) immediately.
specifications
*SRE(Service Request Enable)
Function Sets/queries the service request enable register.
*SRE <wsp><integer>
Syntax
*SRE?
<integer> = 0–255 Example
*SRE? -> 250
Explanation • An item having had its bit set becomes
• Resets to the default value in the following
When power is ON When “0” is set
• The set value remains the same in the
*RST *CLS Device clear (DCL, SDC)
• The default is 0.
• This is a sequential command.
*SRE 250
enabled.
cases:
following cases:
*TRG(Trigger)
Function Performs a <SINGLE> sweep under the sweep
conditions established immediately before receiving the command.
*TRG
Syntax Example Explanation Performs a <SINGLE> sweep regardless
This is an overlapable command.
*TRG
of the setting condition of the
CONTinuous
command.
:INITiate:
*TST?(Self Test)
Function Performs the instrument’s self-test and queries
the status.
*TST?
Syntax Example Explanation • Of the initialization sequence to be run at
Motor’s return to origin operation AMP auto-offset
• Normally returns 0, or 1 for motor initialize
• This is a sequential command.
*TST? -> 0
startup, this command executes the following operations to output their results. During initialization, the screen maintains the waveform display.
error, or 2 for AMP offset error.
*WAI(Wait to Continue)
Function Prevents the instrument from executing another
command until the execution of the current command is complete.
*WAI
Syntax Example Explanation • Becomes invalid by device clear.
• Meaningful if subsequent commands
• This is a sequential command.
*WAI
are overlapping. Meaningless with other commands.
Remote Commands
*STB?(Read Status Byte)
Function Queries the current value of the status byte
register.
*STB?
Syntax Example Explanation • STB will not be cleared even when the
• This is an overlapable command.
*STB? -> 251
contents of the register are read.
7-35

7.6 Instrument-Specific Commands

ABORt Sub System Command

:ABORt
Function Stops operations such as measurements and
calibration.
ABORt
Syntax Example Explanation • Operations to be stopped are as follows:
:CALibration:ALIGn[:IMMediate] :CALibration:WAVelength
:PROGram:EXECute :HCOPy[:INITiate] :HCOPy[:INITiate]:FUNCtion:
:HCOPy[:INITiate]:FUNCtion:
• This is an overlapping command.
ABORt
:INITiate
CALCulate:LIST
MARKer:LIST

CALCulate Sub System Command

Outline
• Commands about the following functions are summarized in this sub system.
• Analysis function (Spectrum Width, YSIS1 , ANALYSIS2)
ANAL
• Peak/Bottom search function Marker function (
• Calculation function of trace
• The following procedure is performed in order to carry out remote control of the Analysis function.
1. Select the analysis algorithm (
CATegory
2
Set the
command)
Analysis Parameter (
PARameter
3
Execute the analysis function (
IMMediate]
4
Get the analysis results (
command)
The following command is used in order to carry out
remote control of the Peak/Bottom search function.
ALCulate:MARKer:MAXimum|MINimum
C
• The following command is used to in order to carry out remote control of the Marker function.
Δ
marker:
Line marker:
CALCulate:MARKer CALCulate:LMARker
• The following command is used to in order to carry out remote control of the trace Calculation function.
CALCulate:MATH
Δ
marker, line marker)
command)
command)
command
CALCulate:
CALCulate:
CALCulate[:
CALCulate:DATA?
command
command
command
:CALCulate:CATegory
Function Sets/queries the type of analysis.
:CALCulate:CATegory<wsp>{SWTHresh|
Syntax
SWENvelope|SWRMs|SWPKrms|NOTCh| DFBLd|FPLD|LED|SMSR|POWer|PMD|OSNR| WDM|NF|FILPk|FILBtm|WFPeak|WFBTm| COLor|0|1|2|3|4|5|6|7|8|9|10|11|12| 13|14|15|16|17}
:CALCulate:CATegory?
SWTHresh|0
SWENvelope|1
SWRMs|2 Spectrum width analysis (RMS) SWPKrms|3 Spectrum width analysis
NOTCh|4 Notch width analysis DFBLd|5 DFB-LD parameter analysis FPLD|6 FP-LD parameter analysis LED|7 LED parameter analysis SMSR|8 SMSR analysis POWer|9 Power analysis PMD|10 PMD analysis OSNR|WDM|11 OSNR(WDM), WDM analysis NF|12 NF analysis FILPk|13 Filter peak analysis FILBtm|14 Filter bottom analysis WFPeak|15 WDM FIL-PK analysis WFBtm|16 WDM FIL-BTM analysis COLor|17 Color analysis Example
:CALCULATE:CATegory? -> 0
Explanation • Even when this command is executed,
• This is a sequential command.
• For the AQ6370C, the following parameters
OSNR, COLor
• For the AQ6373, the following parameters
NF, WFPeak, WFBtm
• For the
OSNR, COLor
• For the AQ6375,when in Wavenumber mode,
WDM, NF, FILPk, FILBtm, WFPeak, WFBtm
:CALCULATE:CATegory SWTHresh
no analysis is performed unless the
CALCulate[:IMMediate]
executed.
cannot be set.
cannot be set.
cannot be set.
analysis functions included in ANALYSIS2 cannot be executed. The following parameters cannot be set.
Spectrum width analysis (THRESH) Spectrum width analysis (ENVELOPE)
(PEAK-RMS)
command is
AQ6375, the following parameters
7-36
1
2
3
4
5
6
7
7.6 Instrument-Specific Commands
:CALCulate:DATA?
Function Queries the analysis results.
:CALCulate:DATA?
Syntax Example Explanation • Queries the analysis results from the last time
• If the analysis function has not been executed,
• For a response example, see section 7.7,
• This is a sequential command.
:CALCULATE:DATA?
analysis was executed.
a query error occurs.
“Output Format of Analysis Results.”
:CALCulate:DATA:CGAin?
Function Queries the gain value of the EDFA-NF analysis
results.
:CALCulate:DATA:CGAin?
Syntax Example
-> +1.00000000E+001,+1.00000000E+001
Explanation • If the analysis function has not been executed,
• “0” is returned if there is no relevant return
• The number of channels to be output can
• Data is output in either ASCII or binary form,
• With the AQ6373, the command is invalid.
• This is a sequential command.
:CALCULATE:DATA:CGAin?
a query error occurs.
value (such as if the analysis executed was not EDFA-NF analysis)
be acquired by the
NCHannels?
depending on the setting of
DATA]
.
:CALCulate:DATA:
command.
:FORMat[:
:CALCulate:DATA:CNF?
Function Queries the NF value of the EDFA-NF analysis
results.
:CALCulate:DATA:CNF?
Syntax Example
+1.00000000E+001,+1.00000000E+001
Explanation • If
• “0” is returned if there is no relevant return
• The number of channels to be output can
• Data is output in either ASCII or binary form,
• With the AQ6373, the command is invalid.
• This is a sequential command.
:CALCULATE:DATA:CNF? ->
:CALCulate[:IMMediate]
executed, a query error occurs.
value (such as if the analysis executed was not EDFA-NF analysis)
acquired
be
NCHannels?
depending on the setting of
DATA]
.
:CALCulate:DATA:
by the
command.
:FORMat[:
has not been
:CALCulate:DATA:CPOWers?
Function Queries the level value of the OSNR(WDM),
WDM, EDFA-NF, WDM FIL-PK, or WDM FIL­BTM analysis results.
:CALCulate:DATA:CPOWers?
Syntax Example
+1.00000000E+001,+1.00000000E+001
Explanation • If the analysis function has not been executed,
• “0” is returned if there is no relevant return
• The number of channels to be output can
• The value to be output depends on the
OSNR(WDM) : LEVEL or MEAS
WDM : LEVEL or MEAS LEVEL EDFA-NF : INPUT LEVEL WDM FIL-PK : PEAK LEVEL (output even if SW is OFF) WDM FIL-BTM: PEAK LEVEL (output even if SW is OFF)
• Data is output in either ASCII or binary form,
• This is a sequential command.
:CALCULATE:DATA:CPOWERS? ->
a query error occurs.
value.
be acquired by the
NCHannels?
analysis performed.
LEVEL
depending on the setting of
DATA]
.
:CALCulate:DATA:
command.
:FORMat[:
:CALCulate:DATA:CSNR?
Function Queries the SNR value from the last time WDM
analysis was executed.
:CALCulate:DATA:CSNR?
Syntax Example
Explanation •
• “0” is returned if there is no relevant return
• The number of channels to be output can
• Data is output in either
• This is a sequential command.
:CALCULATE:DATA:CSNR? ->
+4.00000000E+001,+4.00000000E+001
If the analysis function has not been executed,
a query error occurs.
value (for example, if analysis made is other than WDM analysis).
be acquired by the
NCHannels?
depending on the setting of
DATA]
.
:CALCulate:DATA:
command.
ASCII or binary form,
:FORMat[:
Remote Commands
7-37
7.6 Instrument-Specific Commands
:
CALCulate:DATA:CWAVelengths?
Function Queries the wavelength value of the OSNR(WDM),
WDM, EDFA-NF, WDM FIL-PK, or WDM FIL-BTM analysis results.
:CALCulate:DATA:CWAVelengths?
Syntax
:CALCULATE:DATA:CWAVELENGTHS? ->
Example
+1.55000000E-006,+1.56000000E-006
Explanation
• “0” is returned if there is no relevant return value.
• The value to be output depends on the analysis
OSNR(WDM) : WAVELENGTH or MEAS WL WDM : WAVELENGTH or MEAS WL EDFA-NF: WAVELENGTH WDM FIL-PK: NOMINAL WAVELENGTH WDM FIL-BTM: NOMINAL WAVELENGTH
• Data is output in either ASCII or binary form,
• This is a sequential command.
If the analysis function has not been executed, a
query error occurs.
The number of channels to be output can
be acquired by the :
NCHannels?
performed.
depending on the setting of
CALCulate:DATA:
command.
:FORMat[:DATA]
.
:CALCulate:DATA:DFBLd?
Function Queries the DFB-LD analysis results.
:CALCulate:DATA:DFBLd?
Syntax
:CALCULATE:DATA:DFBLD? ->
Example
Explanation • If the :CALCulate[:IMMediate] command has not
been executed, a query error occurs.
• “0” is returned if there is no relevant return value
(for example, if the analysis that was executed
was not a DFB-LD analysis).
• This command returns analysis results that
are not returned from the “:CALCulate:DATA?”
command, such as the OSNR value. The
following items are returned. The items are listed
here as abbreviations. For the meaning of these
abbreviations, see section 7.7.
<peak wl>,<peak lvl>,<center wl>,<spec wd>,
<smsr(L)>,<smsr(R)>,<mode ofst(L)>,<mode
ofst(R)>,<snr>,<power>,<rms>,<Krms>
• This is a sequential command.
• This command can be used on the AQ6370C.
:CALCulate:DATA:NCHannels?
Function Queries the number of channels of the
OSNR(WDM), WDM, EDFA-NF, WDM FIL-PK, or
WDM FIL-BTM analysis results.
:CALCulate:DATA:NCHannels?
Syntax
:CALCULATE:DATA:NCHANNELS? -> 16
Example
Explanation • If the analysis function has not been executed, a
query error occurs.
• “0” is returned if there is no relevant return value.
• The value is output as ASCII data, regardless of
the setting of
• This is a sequential command.
FORMat[:DATA]
.
:CALCulate:DISPlay
Function Sets/queries the display format of analysis
results.
Syntax
0: TRACE&T
:CALCulate:DISPlay<wsp>0|1|2|3|4 :CALCulate:DISPlay?
ABLE 1: TABLE 2: TRACE 3: GRAPH&TABLE 4: GRAPH Example
Explanation
:CALCULATE:DISPLAY 1 :CALCULATE:DISPLAY? -> 1
This is a sequential command.
This command can be used on the AQ6370C.
:CALCulate:DISPlay:GRAPh:LMARKer:Y
Function Sets/queries the position of line marker Y1 or
Y2 on the graph display of analysis results.
Syntax
:CALCulate:DISPlay:GRAPh:LMARker: Y<wsp>1|2,<NRf>[DB] :CALCulate:DISPlay:GRAPh:LMARker: Y?<wsp>1|2
1: Line marker Y1. 2: Line marker
Y2. <NRf>: Line marker position Example
:CALCULATE:DISPLAY:GRAPH:LMARKER: Y 1,3.4 :CALCULATE:DISPLAY:GRAPH:LMARKER:Y? 1 -> +3.40000000E+000
Explanation
This command is valid when the EDFA-NF
analysis results are being displayed on a graph.
This is a sequential command.
This command can be used on the AQ6370C.
:CALCulate[:IMMediate]
Function Executes analysis. Queries the result of whether
analysis has been performed.
:CALCulate[:IMMediate]
Syntax
:CALCulate[:IMMediate]?
0: Not performed 1: Performed Example
:CALCULATE? -> 1
Explanation • Analysis is performed according to the latest
• Analysis is performed on the following
• When
• When
• For the AQ6375, analysis functions included
• This is a sequential command.
:CALCULATE
analysis settings.
occasions:
CALCulate[:IMMediate]
is executed.
CALCulatePARameter
executed, or parameter settings changed
in ANALYSIS2 cannot be executed when in Wavenumber mode. The following parameters cannot be set.
command
: command is
7-38
1
2
3
4
5
6
7
7.6 Instrument-Specific Commands
:CALCulate[:IMMediate]:AUTO
Function Sets/queries the automatic analysis function.
:CALCulate[:IMMediate]:AUTO<wsp>
Syntax
OFF|ON|0|1
:CALCulate[:IMMediate]:AUTO?
0: OFF 1: ON Example
:CALCULATE AUTO? -> 1
Explanation • When the automatic analysis function is ON,
• This is a sequential command.
:CALCULATE:AUTO ON
automatically activates an analysis function that is active after a sweep has ended.
:CALCulate:LMARker:AOFF
Function Clears all line markers.
:CALCulate:LMARker:AOFFExample
Syntax
:CALCULATE:LMARKER:AOFF
Explanation This is a sequential command.
:CALCulate:LMARker:X
Function Sets/queries the position of line markers L1 and
L2.
:CALCulate:LMARker:X<wsp>1|2,<NRf>
Syntax
[M|HZ]
:CALCulate:LMARker:X?<wsp>1|2
1, 2 = Line marker numbers <NRf> = Position of a line marker Response <NRf>
Example
:CALCULATE:LMAKER:X? 1 ->
Explanation • If the specified line marker is not located, a
• F
• This is a sequential command.
:CALCULATE:LMAKER:X 1,1550.000nm
+1.55000000E-006
query error occurs.
or the AQ6375, to set using the wavenumber, do not add any units when in Wavenumber mode, and just enter the numerical value.
[m|Hz] (AQ6370C, AQ6373) [m|Hz|m
<NRf>
-1
] (AQ6375)
:CALCulate:LMARker:SRANge
Function Sets/queries whether to limit an analytical range
to the spacing between line markers L1 and L2.
:CALCulate:LMARker:SRANge<wsp>OFF|
Syntax
ON|0|1
:CALCulate:LMARker:SRANge?
0: OFF 1: ON Example
:CALCULATE:LMARKER:SRANGE? -> 1
Explanation This is a sequential command.
:CALCULATE:LMARKER:SRANGE ON
:CALCulate:LMARker:SSPan
Function Sets spacing between line markers L1 and L2
for span.
:CALCulate:LMARker:SSPan
Syntax Example Explanation This is a sequential command.
:CALCULATE:LMAKER:SSPAN
:CALCulate:LMARker:SZSPan
Function Sets spacing between line markers L1 and L2
for zoom span.
:CALCulate:LMARker:SZSPan
Syntax Example Explanation This is a sequential command.
:CALCULATE:LMAKER:SZSPAN
:CALCulate:LMARker:Y
Function Sets/queries the position of line markers L3 and
L4.
:CALCulate:LMARker:Y<wsp>3|4,<NRf>
Syntax
[DBM|DB|%]
:CALCulate:LMARker:Y?<wsp>3|4
3, 4 = Line marker numbers <NRf> = Position of a line marker Example
:CALCULATE:LMAKER::y? 3 ->
Explanation •
• This is a sequential command.
:CALCULATE:LMAKER:y 3,-10dBm
-1.00000000E+001
If the specified line marker is not located, a
query error occurs.
:CALCulate:MARKer:AOFF
Function Clears all markers.
:CALCulate:MARKer:AOFF
Syntax Example Explanation This is a sequential command.
:CALCULATE:MAKER:AOFF
:CALCulate:MARKer:AUTO
Function Sets/queries the auto search function.
:CALCulate:MARKer:AUTO<wsp>
Syntax
OFF|ON|0|1
:CALCulate:MARKer:AUTO?
0 = OFF 1 = ON Example
:CALCULATE:MAKER:AUTO? -> 1
Explanation • When the auto search function is ON, this
• This is a sequential command.
:CALCULATE:MAKER:AUTO ON
instrument automatically performs a peak/ bottom search through an active trace after a sweep has ended.
Remote Commands
7-39
7.6 Instrument-Specific Commands
:CALCulate:MARKer:FUNCtion:FORMat
Function Sets the format of a difference value displayed
in the area marker and queries the format set.
:CALCulate:MARKer:FUNCtion:FORMat<w
Syntax
sp>OFFSet|SPACing|0|1
:CALCulate:MARKer:FUNCtion:FORMat?
OFFSet = Displays the difference of each
marker relative to the moving marker
SPACing = Displays the dif
marker relative to a neighboring marker. Response 0 = OFFSet, 1 = SPACing Example
:CALCULATE:MAKER:FUNCTION:FORMAT?->
Explanation This is a sequential command.
:CALCULATE:MAKER::FUNCTION:FORMAT
SPACING
1
ference of each
.
:CALCulate:MARKer:FUNCtion:UPDate
Function Sets/queries ON/OFF of the automatic update
function of fixed markers used when updating
an active trace.
:CALCulate:MARKer:FUNCtion:
Syntax
UPDate<wsp>OFF|ON|0|1 :CALCulate:MARKer:FUNCtion:UPDate?
Response 0 = OFF Example
:CALCULATE:MAKER:FUNCTION:UPDATE?
Explanation • When the automatic update function is ON
• This is a sequential command.
:CALCULATE:MAKER:FUNCTION:UPDATE ON
-> 1
and the active trace is updated, the level positions of fixed markers automatically follow the waveform.
, 1 = ON
:CALCulate:MARKer:MAXimum
Function Detects a peak and places the moving marker
on that peak.
:CALCulate:MARKer:MAXimum
Syntax Example Explanation This is a sequential command.
:CALCULATE:MAKER:MAXIMUM
:CALCulate:MARKer:MAXimum:LEFT
Function Detects the nearest peak existing on the left
side of the current position of the moving marker
and places the moving marker on that peak.
:CALCulate:MARKer:MAXimum:LEFT
Syntax Example Explanation •
• This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:LEFT
If the moving marker is OFF, an execution
error occurs.
:CALCulate:MARKer:MAXimum:NEXT
Function Detects the highest peak that is below the level
of the current position of the moving marker and
places the moving marker on that peak.
:CALCulate:MARKer:MAXimum:NEXT
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:NEXT
error occurs.
:CALCulate:MARKer:MAXimum:RIGHt
Function Detects the nearest peak existing on the right
side of the current position of the moving marker and places the moving marker on that peak.
:CALCulate:MARKer:MAXimum:RIGHt
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:RIGHT
error occurs.
:CALCulate:MARKer:MAXimum:SCENter
Function Detects the peak wavelength and sets it as the
measurement center waveform.
:CALCulate:MARKer:MAXimum:SCENter
Syntax Example Explanation This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:SCENTER
:CALCulate:MARKer:MAXimum:SCENter:AUTO
Function Sets/queries ON/OFF of the function to
automatically detect the peak wavelength and set it as the measurement center wavelength.
:CALCulate:MARKer:MAXimum:SCENter:
Syntax
AUTO<wsp>OFF|ON|0|1
:CALCulate:MARKer:MAXimum:SCENter:
AUTO?
Response 0 = OFF Example
:CALCULATE:MAKER:MAXIMUM:SCENTER:
Explanation • When this function is ON, this instrument
• This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:SCENTER:
AUTO ON
AUTO? -> 1
automatically detects the peak wavelength of an active trace wavelength each time a sweep has ended, and sets it as the measurement center wavelength.
, 1 = ON
:CALCulate:MARKer:MAXimum:SRLevel
Function Detects the peak level and sets it for the
reference level.
:CALCulate:MARKer:MAXimum:SRLevel
Syntax Example Explanation This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:SRLEVEL
:CALCulate:MARKer:MAXimum:SRLevel:AUTO
Function Sets/queries ON/OFF of the function to
automatically detect the peak level and sets it as the reference level.
:CALCulate:MARKer:MAXimum:SRLevel:
Syntax
AUTO<wsp>OFF|ON|0|1
Response 0 = OFF Example
CALCULATE:MAKER:MAXIMUM:SRLEVEL:
Explanation • When this function is ON, the instrument
• This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:SRLEVEL:
AUTO ON
AUTO? -> 1
automatically detects the peak level of an active trace wavelength each time a sweep has ended, and sets it as the reference level.
, 1 = ON
7-40
1
2
3
4
5
6
7
7.6 Instrument-Specific Commands
:CALCulate:MARKer:MAXimum:SZCenter
Function Detects the peak wavelength and sets it as the
display center wavelength.
:CALCulate:MARKer:MAXimum:SZCenter
Syntax Example Explanation This is a sequential command.
:CALCULATE:MAKER:MAXIMUM:SZCENTER
:CALCulate:MARKer:MINimum
Function Detects the bottom and places the moving
marker on that bottom.
:CALCulate:MARKer:MINimum
Syntax Example Explanation This is a sequential command.
:CALCULATE:MAKER:MINIMUM
:CALCulate:MARKer:MINimum:LEFT
Function Detects the nearest bottom existing on the left
side of the current position of the moving marker and places the moving marker on that bottom.
:CALCulate:MARKer:MINimum:LEFT
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MINIMUM:LEFT
error occurs.
:CALCulate:MARKer:MINimum:NEXT
Function Detects the lowest bottom that is above the
level of the current position of the moving marker and places the moving marker on that bottom.
:CALCulate:MARKer:MINimum:NEXT
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MINIMUM:NEXT
error occurs.
:CALCulate:MARKer:MSEarch:SORT
Function Sets/queries the sort order of the multi search
detection list.
Syntax
:CALCulate:MARKer:MSEarch:SORT?
WA
LEVel|1:
Response 0 = OFF, 1 = ON Example
:CALCULATE:MAKER:MSEARCH:SORT? -> 0
Explanation •
• This command can be used on the AQ6370C.
:CALCulate:MARKer:MSEarch:SORT<wsp> WAVelength|LEVel|0|1
Velength|0: Wavelengths are displayed in
order starting from the shortest
wavelength. For the peak search, levels are displayed in order starting from the highest level. For the bottom search, levels are displayed in order starting from the lowest level.
:CALCULATE:MAKER:MSEARCH:SORT WAV
This is a sequential command.
:CALCulate:MARKer:MSEarch:THResh
Function Sets/queries the multi search threshold. Syntax
:CALCulate:MARKer:MSEarch:THResh?
<NRf>: Threshold (dB) Example
:CALCULATE:MAKER:MSEARCH? ->
Explanation • This is a sequential command.
• This command can be used on the AQ6370C.
:CALCulate:MARKer:MSEarch: THResh<wsp> <NRf>[DB]
:CALCULATE:MAKER:MSEARCH:THRESH 50DB
+5.00000000E+001
Remote Commands
:CALCulate:MARKer:MINimum:RIGHt
Function Detects the nearest bottom existing on the right
side of the current position of the moving marker and places the moving marker on that side.
:CALCulate:MARKer:MINimum:RIGHt
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MINIMUM:RIGHT
error occurs.
:CALCulate:MARKer:SCENter
Function Sets the wavelength of the current moving
marker as the measurement center waveform.
:CALCulate:MARKer:SCENter
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MINIMUM:SCENTER
error occurs.
:CALCulate:MARKer:MSEarch
Function Sets/queries the type of the search function. Syntax
:CALCulate:MARKer:MSEarch?
OFF|0: Sets the search function to single
ON|1: Sets the search function to multi search. Response 0 = OFF, 1 = ON
Example
:CALCULATE:MAKER:MSEARCH? -> 1
Explanation •
• This is a sequential command.
• This command can be used on the
:CALCulate:MARKer:MSEarch<wsp> OFF|ON|0|1
search.
:CALCULATE:MAKER:MSEARCH on
The search is executed as soon as you set
the search function.
AQ6370C.
:CALCulate:MARKer:SRLevel
Function Sets the current level of the moving marker for
the reference level.
:CALCulate:MARKer:SRLevel
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:MINIMUM:SRLEVEL
error occurs.
7-41
7.6 Instrument-Specific Commands
:CALCulate:MARKer[:STATe]
Function Specified marker is positioned or deleted in the
position of the moving marker. Also, queries the status of the specified marker.
:CALCulate:MARKer[:STATe]<wsp>
Syntax
<marker>,OFF|ON|0|1:CALCulate: MARKer[:STATe]?<wsp><marker>
<marker>: Marker number (0: moving marker) Response 0 = OFF Example
:CALCULATE:MAKER:STATE 1 -> 1
Explanation •
• If moving marker is specified, it is placed in
• This is a sequential command.
:CALCULATE:MAKER:STATE 1,ON
When the moving marker is not active and
an attempt is made to set a fixed marker, an execution error occurs.
the center of measurment display.
, 1 = ON
:CALCulate:MARKer:SZCenter
Function Sets the current wavelength of the moving
marker for the display center wavelength.
:CALCulate:MARKer:SZCenter
Syntax Example Explanation • If the moving marker is OFF, an execution
• This is a sequential command.
:CALCULATE:MAKER:SZCENTER
error occurs.
:CALCulate:MARKer:UNIT
Function Sets/queries the units of display for the marker
values.
:CALCulate:MARKer:UNIT<wsp>WAVeleng
Syntax
th|FREQuency|0|1
:CALCulate:MARKer:UNIT?
W FREQuency|1 AQ6375 WAVelength|0 FREQuency|1 WNUMber|2 Response 0=WAVelength, 1= FREQuency 2=WNUMber Example
:CALCULATE:MAKER:UNIT? -> 1
Explanation • WNUMber is only valid for the AQ6375.
• This is a sequential command.
Parameter AQ6370C,
:CALCULATE:MAKER:UNIT FREQUENCY
AQ6373
AVelength|0
:CALCulate:MARKer:X
Function Places a specified marker in a specified
position. Queries the X value of the specified marker.
:CALCulate:MARKer:X<wsp><marker>,<N
Syntax
Rf>[M|HZ]
:CALCulate:MARKer:X?<wsp><marker>
<NRf>= Marker position Response <NRf>
Example
:CALCULATE:MAKER:X? 0 ->
Explanation • If an already located marker is specified, that
• If the specified marker is not located, a query
• F
• This is a sequential command.
:CALCULATE:MAKER:X 0,1550.000nm
+1.55000000E-006
marker will be moved to a specified position.
error occurs.
or the AQ6375, to set using the wavenumber, do not add any units when in Wavenumber mode, and just enter the numerical value.
[m|Hz] (AQ6370C, AQ6373) [m|Hz|m
<NRf>
-1
] (AQ6375)
:CALCulate:MARKer:Y?
Function Queries the Y value of the specified marker.
:CALCulate:MARKer:Y?<wsp><marker>
Syntax <NRf> = marker level Example
Explanation • This unit of the marker level to be queried
• If the specified marker is not located, a query
• This is a sequential command.
:CALCULATE:MAKER:Y? 0 ->
-1.00000000E+001
is dependent on the Y-axis unit of the active trace.
error occurs.
:CALCulate:MATH:TRC
Function Sets/queries the TRACE C calculation function.
:CALCulate:MATH:TRC<wsp>A-B(LOG)|
Syntax
B-A(LOG)|A+B(LOG)|A+B(LIN)| A-B(LIN)|B-A(LIN)|1-K(A/B)| 1-K(B/A)|
:CALCulate:MATH:TRC?
Example
:CALCULATE:MATH:TRC? -> A-B(LOG)
Explanation • When the calculation function of trace C is set
• If trace C is not a calculation trace, “NONE” is
• This is a sequential command.
:CALCULATE:MATH:TRC A-B(LOG)
using this command, the attribute of trace C automatically becomes attribute “CALC”.
returned.
7-42
1
2
3
4
5
6
7
7.6 Instrument-Specific Commands
:CALCulate:MATH:TRC:K
Function Sets/queries parameter K of the TRACE C
calculation function.
:CALCulate:MATH:TRC:K<wsp><NRf>
Syntax
:CALCulate:MATH:TRC:K?
<NRf> = Parameter K Example
:CALCULATE:MATH:TRC:K? ->
Explanation This is a sequential command.
:CALCULATE:MATH:TRC:K 0.1
+1.00000000E-001
:CALCulate:MATH:TRF
Function Sets/queries the TRACE F calculation function.
:CALCulate:MATH:TRF<wsp>C-D(LOG)|
Syntax
D-C(LOG)|C+D(LOG)|D-E(LOG)| E-D(LOG)|D+E(LOG)|C+D(LIN)| C-D(LIN)|D-C(LIN)|D+E(LIN)| D-E(LIN)|E-D(LIN)
:CALCulate:MATH:TRF?
Example
:CALCULATE:MATH:TRF? -> C-D(LOG)
Explanation • When the calculation function of trace F is set
• If trace F is not a calculation trace, “NONE” is
Example
calc:math:trf? -> C-D(LOG)
:CALCULATE:MATH:TRF C-D(LOG)
using this command, the attribute of trace F automatically becomes attribute “CALC”.
returned.
calc:math:trf c-d(log)
This is a sequential command.
:CALCulate:MATH:TRG
Function Sets/queries the TRACE G calculation function.
:CALCulate:MATH:TRG<wsp>C-F(LOG)|
Syntax
F-C(LOG)|C+F(LOG)|E-F(LOG)|
F-E(LOG)|E+F(LOG)|C+F(LIN)| C-F(LIN)|F-C(LIN)|E+F(LIN)| E-F(LIN)|FLIN)|NORMA|NORMB|NORMC| CVFTA|CVFTB|CVFTC|MKRFT|PKCVFTA|
:CALCulate:MATH:TRG?
Example
:CALCULATE:MATH:TRG? -> C-F(LOG)
Explanation • When the calculation function of trace G is set
• If trace G is not a calculation trace, “NONE” is
• This is a sequential command.
PKCVFTB|PKCVFTC
:CALCULATE:MATH:TRG C-F(LOG)
using this command, the attribute of trace G automatically becomes attribute “CALC”.
returned.
:CALCulate:MATH:TRG:CVFT:FALGo
Function Sets/queries the fitting curve function of the
TRACE G fitting curve function.
:CALCulate:MATH:TRG:CVFT:FALGo
Syntax
<wsp><algorhythm>
:CALCulate:MATH:TRG:CVFT:FALGo?
<algorhythm> GAUSs = GAUSS LORENz = LORENZ 3RD = 3RD POLY 4TH = 4TH POL 5TH = 5TH POLY Response 0 = GAUSS 1 = LORENZ, 2 = 3RD POLY 3 = 4TH POLY 4 = 5TH POLY Example
:CALCULATE:MATH:TRG:CVFT:FALG? -> 1
Explanation • Setting of calculation area is common to curve
• This is a sequential command.
:CALCULATE:MATH:TRG:CVFT:
FALGO GAUSS
fit and peak curve fit.
Y
:CALCulate:MATH:TRG:CVFT:OPARea
Function Sets/queries a calculation area during curve fit
and peak curve fit.
:CALCulate:MATH:TRG:CVFT:OPARea
Syntax
<wsp>ALL|INL1-L2|OUTL1-L2|0|1|2
:CALCulate:MATH:TRG:CVFT:OPARea?
ALL = all of the set wavelength range INL1-L2 = range surrounding line marker 1 and
2 OUTL1-L2 = range outisde line markers 1 and 2 Response 0 = ALL, 1 = INL1-L2, 2 = OUTL1-L2 Example
:CALCULATE:MATH:TRG:CVFT:OPAREA?->
Explanation •
• This is a sequential command.
:CALCULATE:MATH:TRG:CVFT:
OPAREA inl1-l2
1
Setting of calculation area is common to curve
fit and peak curve fit.
:CALCulate:MATH:TRG:CVFT:THResh
Function Sets/queries the threshold value for curve
fitting.
:CALCulate:MATH:TRG:CVFT:THResh
Syntax
<wsp><integer>[DB]
:CALCulate:MATH:TRG:CVFT:THResh?
<NRf> = Threshold level [dB] Example
:CALCULATE:MATH:TRG:CVFT:THRESH?->
Explanation This is a sequential command.
:CALCULATE:MATH:TRG:CVFT:THRESH
10db
10
Remote Commands
7-43
Loading...