SG Series Programming SCPI Command Operation
M550129-03 Rev L 6-9
6.3.2 Units
The SGA/SGe/SGI power supplies will accept the following units as suffixes
to numeric values:
“VOLTS” or “volts”, “V” or “v”, “MV” or “mv” or “mV”
“AMPS” or “amps”, “A” or “a”, “MA” or “ma” or “mA”
“SEC” or “sec”, “S” or “s”, “MS” or “ms”, “MIN” or “min”
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”.
6.3.3 Conventions
SCPI uses the conventions where optional commands and parameters
are enclosed by “[ ]”. Additionally the shorthand version of a command is
indicated by capital letters.
For example,
SOURce:VOLTage[:LEVel][:IMMediate][:AMPLitude] 120.0
can be written as
SOURce:VOLTage 120.0
or
SOUR:VOLT 120.0
6.3.4 Queries
The query syntax is identical to the command syntax with a “?” appended.
For example, to query the programmed voltage, send the string:
SOURce:VOLTage?. 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). When the power supply has nothing to report, its output
buffer will contain two ASCII characters: a carriage return and linefeed (in
decimal the values are: <13><10>).