85
Programming the Attenuator
Some Notes about Program m i ng and Synta x Diagram
Conventions
If more than 29 errors are put into the queue, the message -350
<Queue Overflow> is placed as the last message in the queue.

7.5 Some Notes about Programming and Syntax

Diagram Conventions

A program message is a message containing commands or queries
that you send to the attenu ator . T he following are a few points about
progr a m messa ges:
You can use either upper-case or lower-case characters.
You can send several commands in a single message. Each
command must be separated from the next one by a semicolon
(;).
You end a program message with a line feed (LF) character, or
any character sent with End-Or-Identify (EOI).
You can use any valid number/unit combination.
Example 1500nm, 1.5µm and 1.5e-6m are all equivalent.
If you do not specify a unit, then the default unit is assumed.
The default unit for the commands are given with command
description in the next chapter.

Short Form and Long Form

The instrument accepts messages in short or long forms. For
example, the message :INPUT:WAVELENGTH 1313 is in long
form, the short form of this message is :INP:WAV 1313.
In this manual the messag e s ar e wr itten in a combination of upper
and lower case. Upper case characters are used for the short form of
the message. For example, the above command would be written
:INPut:WAVelength.