Herunterladen Inhalt Inhalt Diese Seite drucken
Inhaltsverzeichnis

Werbung

OCM160 Precision DC Calibrator
7.5.

Command syntax

The commands described are compatible with all buses RS232, GPIB, LAN, and USB.
All commands listed in this chapter are explained in two columns:
KEYWORD and PARAMETERS
KEYWORD column includes the name of the command. Each command includes one or
more keywords. If a keyword is in brackets ( [ ] ), it is not mandatory. Non-mandatory
commands are used only to achieve compatibility with language standard SCPI.
Capitals designate the abbreviated form of the commands; extended form is written in
lowercase.
Command parameters are in brackets (<>); each parameter is separated using a comma.
Parameters in brackets ( [ ] ) are not mandatory. Line ( | ) means "or" and is used to
separate several alternative parameters.
Semicolon ';' is used to separate more commands written on one line.
E.g. :RES 100;:OUTP ON
Terminators:
For GPIB interface each command line must end with <lf>. Response from the device also
returns <lf>. For non GPIB interfaces <cr>, <lf> or <crlf> can be used as terminator. The
device returns <crlf> in this case. The device performs all commands written on one line of
the program after it receives terminator. Without terminator, the program line is not
executed.
Description of abbreviations
<DNPD> = Decimal Numeric Program Data, this format is used to express decimal number
with or without the exponent.
<CPD> = Character Program Data. Usually, it represents a group of alternative character
parameters. E.g. {SERial|GPIB|USB|LAN}.
<SPD> = String Program Data (quoted string). This type of parameter is similar to CPD,
but allows transmission of more ISO characters.
<BOOL> = Boolean Program Data. This type of parameter has only two states 0 and 1.
Parameter can take form of integer value (0 or 1), or character alias (ON or OFF). Device
always returns integer value (0 or 1).
<UNIT> = unit parameter works in conjunction with DNPD parameter and specifies unit of
DNPD (numeric) value. Unit must be selected from predefined ones. If UNIT part is omitted,
default one is used. Query always returns actual unit.
? =
A flag indicating a request for the value of the parameter specified by the command.
No other parameter than the question mark can be used.
(?) = A flag indicating a request for the parameter specified by the command. This
command permits a value to be set as well as requested.
<cr> =
carriage return. ASCII code 13. This code executes the program line.
<lf> =
line feed. ASCII code 10. This code executes the program line.
35
Orbit Controls AG
Owner's Manual

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis