beautypg.com

Units -7, Conventions -7, Queries -7 – AMETEK SFA Series Programming Manual User Manual

Page 19

background image

Sorensen SF Series

IEEE 488.2 and SCPI Command Operation

3.3.2 Units

The Series DIA will accept the following units as suffixes to numeric values:

UNITS

Type of Unit

Valid Suffix

Voltage

“VOLTS” or “volts”, “V” or “v”, “MV” or “mv” or “mV”

Current

“AMPS” or “amps”, “A” or “a”, “MA” or “ma” or “mA”

Time

“SEC” or “sec”, “S” or “s”, “MS” or “ms”, “MIN” or “min”

Frequency

“HZ” or “hz”


The default units are VOLTS, AMPS, SEC, and HZ. For example, “SOUR:VOLT 1” programs 1
volt. To program in units of millivolts, type “SOUR:VOLT 1mV”.

3.3.3 Conventions

3.3.4 Queries

SCPI uses the conventions where optional commands and parameters are enclosed by “[ ]”.
Additionally the shorthand version of a command is indicated by capital letters. The DIA
supports Channel 1 only.

For example,

Source: CURRent[:LEVel][:IMMediate][:AMPLitude]

120.0

can be written as

SOURce:CURRent

120.0

or

SOUR:CURR

120.0


The query syntax is identical to the command syntax with a “?” appended. For example, to
query the programmed voltage, send the string: SOURce:CURRent?. A subsequent device
read will return a value such as “33.000”. All queries are terminated with a carriage return and
line feed (0x0D 0x0A) for those GPIB controllers that require termination characters. When the
DIA has nothing to report, its output buffer will contain two ASCII characters: a carriage return
and linefeed (in decimal the values are: <13><10>).

Note: Commands with associated queries are noted with a "Q" in the Q? column of the SCPI
documentation tables.

M550292-03 (Programming)

3-7