Operating and Maintenance Instructions – 22
Operation and Query Commands
Operation and query commands control instrument functions and are interface-independent.
Command Parser Rules
•
A command consists of a mnemonic (for example, CLOSE) and, if required, a data
parameter. The mnemonic and the data parameter must be separated by at least one
space.
•
Parameters can be entered in various formats; for example, 10, 10.0, and 1.0e1 are
recognized as the same value.
•
Commands can be sent in uppercase or lowercase characters.
•
A command is contained in a message, and messages can contain more than one
command, each one separated by a semicolon (;). For example, CLOSE 6;XDR 2 1 <CR>
<LF> contains two commands.
•
All GPIB commands must end with the terminating sequence <CR> <LF>.
•
All
RS232
commands must be terminated with a single <CR> character.
•
The input buffer of the filter can hold as many as 100 characters. If the buffer becomes full,
the filter holds the handshaking line on the GPIB interface until space is available.
Similarly, over the RS232 interface, the filter sets the Clear-To-Send line low. Any
characters received after the line goes low are ignored.
•
Commands are executed as they are parsed; consequently, a command can be executed
before the entire message in which it is contained is received.
•
The switch delays accepting new characters sent over the GPIB interface while the filter
mechanism is moving, but no data are lost. The filter is always ready to accept characters
over the RS232 interface.
•
A query command is used to extract status information from the filter. For example, SRE?
<CR> <LF> returns the contents of the status register.
•
Multiple-command messages can contain only one query command. A query must be the
last command in the message, for example, CLOSE 20; XDRS? <CR> <LF>.
Operation Commands
XDR
External Relay Driver Control
Sets the external driver on or off:
•
0
=
relay
driver
off
•
1
=
relay
driver
on
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com