32 • Computer Control NEW FOCUS, Inc.
If the syntax shown is “:SOURce:CURRent?”, then the Vortex will
accept any of the following: “:SOUR:CURR?”, “:sour:curr?”, or
“:sour:current?”. The Vortex will not accept commands such as
“:SOURC:CURR?” or “:sour:curre?”.
• Values to be input are indicated by angle brackets (<>) and are
separated from the command either by a space or by a colon, as
shown in the command syntax.
• Common IEEE-488 commands all begin with an asterisk character,
“*”; the device-specific commands all begin with a colon, “:”. These
characters are not optional.
• Vortex responses are sent differently depending on the interface
you are using.
IEEE-488: responses are written into the output buffer — a first-in
first-out (FIFO) buffer with a capacity for 5 outgoing messages. You
will need to send a separate command to read the response from
the buffer.
RS-232: responses are sent immediately and can be processed or
ignored.
Programming for the Vortex
When programming for the Vortex, keep the following rules in mind.
• A command is not parsed until a new line character is received (RS-
232) or a hardware EOI is detected (IEEE-488).
• Numbers may contain at most 15 characters. Commands that
expect integer values will truncate after any decimal point in the
input. For example, an input value of “11.56” is truncated to “11”.
• Only one command can be issued per line.
• The “IEEE-488.2 Common Commands” are adopted from the IEEE
488.2 standard. For more information on the standard, see “IEEE
Standard Codes, Formats, Protocols, and Common Commands,”
(IEEE Std 488.2-1992) published by the Institute of Electrical and
Electronics Engineers, Inc., 345 East 47th St., New York, NY 10017,
USA.
• For IEEE-488, the Status Byte is very important to successful
communication with the Vortex. The Message Available (MAV) bit
Vortex6000.book Page 32 Tuesday, February 19, 2002 3:25 PM
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com