CALCulate:SCALe:GAIN {<gain> | MIN | MAX | DEF} [, (@<ch_list>)]
CALCulate:SCALe:GAIN? [{(@<ch_list>) | MIN | MAX | DEF}]
CALCulate:SCALe:OFFSet {<offset> | MIN | MAX | DEF} [, (@<ch_list>)]
CALCulate:SCALe:OFFSet? [{(@<ch_list>) | MIN | MAX | DEF}]
Stores a gain value (M) and offset value (B) for the scaling function in CALCulate:SCALe:FUNCtion
Parameter Typical return
<gain>
MIN: -1.0E+15 to -1.0E-15
DEF: 1.0
MAX: +1.0E-15 to 1.0E+15
<offset>
MIN: -1.0E+15 to -1.0E-15
DEF: 0.0
MAX: +1.0E-15 to 1.0E+15
+1.25000000E+00,+1.25000000E+00
Sets the gain to +1.25 on channels 03 and 13 in slot 1: CALC:SCAL:GAIN 1.25,(@103,113)
In this example, you can replace the GAINnode with OFFS.
– Scaling is applied using the following equation: Scaled Reading = (Gain x Measurement) + Offset
– After setting the gain and offset values, use the CALCulate:SCALe:STATe command to enable the scaling func-
tion.
– Readings can be acquired during a scan using the multiplexer. For scanning measurements using the multiplexer
modules, an error is generated if the internal DMM is disabled (see INSTrument:DMM command).
– You must configure the channel (function, transducer type, etc.) before applying any scaling values. If you
change the measurement configuration, scaling is turned off on that channel and the gain and offset values are
reset (gain = 1, offset = 0). Scaling is also turned off when you change the temperature probe type, temperature
units, or disable the internal DMM.
– If you change the measurement configuration (function, transducer type, etc.) on a channel or the internal
DMM, scaling is turned off on those channels and the gain and offset values are cleared.
– If you plan to use scaling on a channel which will also use alarms, be sure to configure the scaling values first. If
you attempt to assign the alarm limits first, the instrument will turn off alarms and clear the limit values when you
enable scaling on that channel. If you specify a custom measurement label with scaling, it is automatically used
when alarms are logged on that channel.
– If you redefine the scan list, no change will be made to the scaling state or the gain and offset values. If you
decide to add a channel back to the scan list, the original gain and offset values are restored.
– The CONFigure and MEASure? commands automatically set the gain value (M) to 1 and offset value (B) to 0. s
– A Factory Reset (*RST command) turns off scaling and clears the scaling values on all channels (gain = 1, offset =
0).
76
Keysight DAQ970A/DAQ973A Programming Guide
2 SCPI Programming