Commands And Queries; Substitute Parameter Names; Compound Command Structure; Common Commands - ILX Lightwave MPS-8033 Series User Manual

Precision fiber optic sources
Table of Contents

Advertisement

C O M M A N D R E F E R E N C E
4
C H A P T E R
Notes about Syntax

Commands and Queries

There are two types of device communication: commands, which tell the device to do something and
do not return anything; and queries, which return a stored value or instrument state but do not
change the device state. Queries must be terminated with a question mark (?), while commands
may require one or more parameters to follow.
Command:
Query:

Substitute Parameter Names

For clarity in programming, the Boolean values of one and zero may also be represented by the
appropriate substitute parameter names. For instance, the following commands render the same
result.
DIS 1, DIS ON, DIS TRUE, DIS OLD

Compound Command Structure

Many of the 8033 remote commands require a compound structure. This is done to distinguish
between different commands of the same type.
The compound command structure is similar to a directory path structure, as found in DOS. For
example, commands which deal with the 8033's laser output have the path "LAS:", as in the
following command to set the laser power,
LAS:POW .500 MW
The command structure is illustrated in Figure 4.1 on page 41. Table 4.1 on page 39 lists all of the
8033's commands, with the full path shown for each command and a brief explanation of its usage.
The detailed descriptions for each command are provided in GPIB Command Reference Summary
on page 39.

Common Commands

The GPIB Commands that are defined by the ANSI/IEEE−488.2−1987 standard are described in this
chapter. These commands do not necessarily reflect front panel operations but are useful for
generic device control. Some of the common commands are useful for advanced programming
techniques, such as generating service requests.
38
!
MPS-8033
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Turns off front panel display
DIS OFF
Returns 0 if display is off, 1 if display is on.
DIS?

Advertisement

Table of Contents
loading

Table of Contents