
8-57
IM AQ6370C-17EN
Program Function
1
2
3
4
5
6
7
8
App
Index
8.4 Controlling an External Instrument with the
Program Function
Using the program function, the instrument can remote control the external devices
which are connected by various interfaces. In addition, it is possible to remote control the
multiple external devices by one program source.
Remote Control of External Instruments Using the GP-IB2 Port
You can perform sending of remote commands, receiving of talker data, and serial polling
on the instrument connected to the GP-IB2 port. The GP-IB address of the connected
instrument is specified with program commands, and communication is carried out.
Do not set the same GP-IB address as that of the setting value of the
GP-IB2 PORT
ADDRESS
key. If the same address is used, the instrument cannot communicate
normally with the external device.
Send Commands
SEND ** ’control commnand/query command (56 chars)’
SEND ** ’control commnand/query command (56 chars)’ ;@
SEND ** ’control commnand/query command (20 chars)’ :@:’ control command/query
command (20 chars)’
**: GP-IB command
Receive Commands
RECEIVE **;@$
**: GP-IB command
Note
• A controller such as a PC that is connected to the GP-IB2 port cannot remotely control the
AQ6370C.
• Even if an external device to be controlled by the AQ6370C using program functions or a
wavelength turnable laser source is connected to the GP-IB1 port, it cannot remote control
the AQ6370C.
• 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.
• With a controller connected to the GP-IB1 port, connecting the GP-IB1 port and the GP-IB2
port results in improper operations. Do not connect a cable between these ports, or turn the
SYSTEM CONTROLLER OFF. The default is ON.
• Using a command such as SEND**’control commnand/query command (56 chars)’;@, if you
insert <wsp> between the command string and the variable @, add " " to the end of the
command.
• The GP-IB2 port is not available on the AQ6370D/AQ6373B/AQ6375B.