External Control Of The Source Optics Module; Command Formats - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

External Control of the Source Optics Module

If the transmitter is in a remote or inaccessible location, or the user runs special applications that
require different settings on the SOM, the user can opt to control the SOM remotely. The remote
control requirements of the application program can be met using the RS232 Control port
located on the back panel of the SOM. Alternatively, the SOM can be driven through a GPIB
controller by connecting to the GPIB port on the back panel of the SOM.
To control the SOM using the RS232 or GPIB ports:
The RS232 Control port can be connected to a computer using a standard RS232 extension
cable with a DB9-M connector at one end (to the SOM RS232 Control port) and a DB-9F
connector at the other (to the computer). If communication cannot be established with this
cable, substitute it with a null-modem cable.
If GPIB control is used, connect the GPIB port to the GPIB port of the controller. The default
GPIB address of the SOM is 7, but the address can be changed using the REMOTE button
on the SOM front panel.

Command Formats

The common commands used to control or query the SOM conform to ANSI/IEEE 488.2
standard syntax. Common commands applicable to the SOM are listed in the Programming the
Source Optics Module section. All SOM-specific commands conform to the Standard
Commands for Programmable Instruments (SCPI) command language, version 1995.0, also
listed in the same section.
All commands to the SOM consist of a command header, a variable number of parameters, and
a terminator.
Command headers are specific commands (keywords) recognizable by SOM. For example,
SOURCE:WAVELENGTH:START is a keyword. Each command keyword (header) has a long
and short form, either of which can be used in any command. The commands, described in
Table 20 and Table 21 in the Programming the Source Optics Module section, show the
short form of a command in uppercase. Headers are arranged in a tree with nodes. In the
previous example, SOURCE is a node; below that node is another node, WAVELENGTH, that
has the header START as one of the optional headers in that branch of the tree. Table 21 shows
the header tree structure.
Commands must adhere to the following rules:
Parameters are numerical values, expressions, channel lists, and other data that are entered
after a header. They must be separated from each other by a comma (,) and from the
header by a space ( ).
Multiple commands can be entered in a single message, separated by semicolons (;).
If the program header is a query, it must end with a question mark (?).
The program header (command line) must be terminated using a terminator. The terminator
can be <LF>, the linefeed character, or EOL in GPIB. The terminating sequence, <LF>, does
172 – Programming Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents