Command Syntax; Letters; White Space - ILX Lightwave MPS-8033 Series User Manual

Precision fiber optic sources
Table of Contents

Advertisement

3
4

Command Syntax

This section describes command syntax and structure. You need this information to effectively write
GPIB control programs. The syntax of GPIB commands follow the rules defined in the ANSI/IEEE
488.2−1987 standard. Later in this chapter you will be introduced to the error and status registers.

Letters

Any GPIB command or query must contain all of the letters which are shown in upper case in the
command definition. Some of the device dependent commands include additional optional letters
shown in lower case in the command reference (Chapter 4, Command Reference). Upper/lower
case does not matter, it is used in this manual to identify optional letters. The optional letters must
be in the correct sequence. Some examples of what works, and what does not:
Okay
DIS
Disp
Displ
Displa
Display

White Space

"White space" is normally the space character (space bar). A single white space must separate a
command from its parameters or data. For example:
Okay
DELAY 500
To enhance readability you can also use one or more white spaces before a comma, semicolon, or
terminator. Since your computer normally puts the terminator at the end of each command string
(line), this simply means that an extra space character at the end of your command line works OK.
A query has no space between the mnemonic and the question mark. For example:
Okay
TIMER?
Note: Too many consecutive white spaces can overflow the 80−byte data I/O buffer.
7/01
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
While holding the SET REFERENCE switch, use the ADJUST knob to select the desired
GPIB address.
Release the SET REFERENCE switch to set the address into memory.
R E M O T E O P E R A T I O N
Command Syntax
Not Okay
DS
dsp
dply
DSPLY
disply
Not Okay
DELAY500
Not Okay
TIMER ?
3
C H A P T E R
21
MPS-8033
!

Advertisement

Table of Contents
loading

Table of Contents