CALCulate:SCALe:FUNCtion {DB | DBM | PCT | SCALe} [, (@<ch_list>)]
CALCulate:SCALe:FUNCtion? [(@<ch_list>)]
Selects the operation performed by the scaling function.
Parameter Typical return
{DB | DBM | PCT | SCALe}
Default: SCALe
DB, DBM, PCT, or SCAL
Sets the DB scaling function referenced to the next measurement taken:
CALC:SCAL:FUNC DB
CALC:SCAL:STAT ON
– DB performs a relative dB computation. The result is the difference between the input signal and the stored DB
relative value reference (CALCulate:SCALe:DB:REFerence), with both values converted to dBm (dB = meas-
urement in dBm – relative value in dBm). For the dB function, the reference value can be automatically selected
using the first measurement converted to dBm as the reference value (see CALCulate:SCALe:REFerence:AUTO),
or it can be specified by CALCulate:SCALe:DB:REFerence. dB scaling applies to ACV and DCV measurements
only.
– DBM performs a dBM computation. The result is logarithmic and is based on a calculation of power delivered to
a reference resistance (CALCulate:SCALe:DBM:REFerence), relative to 1 milliwatt. (dBm = 10 × log
10
(meas-
urement
2
/ reference resistance / 1 mW)). dBm scaling applies to ACV and DCV measurements only.
– PCT performs a percent change operation. The result is the percent change of the measurement from the ref-
erence value:
Result = ((Measurement – Reference) / Reference) * 100
For the PCT function, the reference value can be automatically selected using the first measurement as the ref-
erence value (see CALCulate:SCALe:REFerence:AUTO), or it can be specified by
CALCulate: SCALe:REFerence. Percentage of scaling applies to all measurement functions except Diode.
– SCALe performs an mX+B operation. The result is the measurement multiplied by the gain value m
(CALCulate:SCALe:GAIN) plus the offset value B (CALCulate:SCALe:OFFSet). mX+B scaling applies to all meas-
urement functions.
– Scaling function results must be in the range of -1.0E+24 to -1.0E-24, or +1.0E-24 to 1.0E+24. Results outside
these limits will be replaced with -9.9E37 (negative infinity), 0, or 9.9E37 (positive infinity).
– You must execute CALCulate:SCALe:FUNCtion before executing CALCulate:SCALe[:STATe], otherwise an incom-
patibility error will be generated.
– This parameter is set to its default value after a Factory Reset (*RST) or Instrument Preset (SYSTem:PRESet).
– Scaling is set to OFF when you change measurement functions (for example, changing from DCV to ACV). You
must re-enable scaling after changing measurement functions.
Keysight DAQ970A/DAQ973A Programming Guide 75
2 SCPI Programming