PACE Series SCPI Manual
K0472 Revision A
4-129
1. Example
y = 1, 2, 3 and 4 representing the four user-defined units.
By default:
The first parameter is the unit name and the second the equivalent pressure in Pascals.
2. Example - Defining ‘MyUnit’
Setting USER4 as ‘MyUnit’:
TX> :UNIT:PRES:DEF4 "MyUnit", 2000.0
TX> :UNIT:PRES:DEF4?
RX> :UNIT:PRES:DEF4 "MyUnit", 2000.0000000
Select ‘MyUnit’ for use:
TX> :UNIT:PRES USER4
TX> :UNIT:PRES?
RX> :UNIT:PRES USER4
The front panel display shows “MyUnit” and uses it for measurement, set-point, full-scales
and source pressures.
3. Example
The following query:
TX> :SENS:PRES?
RX> :SENS:PRES 5.0000187
Returns a number in ‘MyUnit’
To confirm:
TX> :UNIT:PRES?
RX> :UNIT:PRES USER4
To find conversion factor for ‘MyUnit’
TX> :UNIT:PRES:DEF4?
RX> :UNIT:PRES:DEF4 "MyUnit", 2000.0000000
Calculate equivalent in Pascals: 5.0000187 multiplied by 2000.0000000.
TX> :UNIT:PRES:DEF?
RX> :UNIT:PRES:DEF "UserUnit1", 1000.0000000
TX> :UNIT:PRES:DEF3?
RX> :UNIT:PRES:DEF3 "UserUnit3", 1000.0000000
TX> :UNIT:PRES:DEF1?
RX> :UNIT:PRES:DEF "UserUnit1", 1000.0000000
TX> :UNIT:PRES:DEF4?
RX> :UNIT:PRES:DEF4 "UserUnit4", 1000.0000000
TX> :UNIT:PRES:DEF2?
RX> :UNIT:PRES:DEF2 "UserUnit2", 1000.0000000