Specifications
RIGOL Chapter 2 Command System
2-14 M300 Programming Guide
CALCulate:SCALe:SQUare
CALCulate:SCALe:GAIN
CALCulate:SCALe:OFFSet
CALCulate:SCALe:CONStant
Syntax CALCulate:SCALe:SQUare {<square>|MAX|MIN}[,(@<ch_list>)]
CALCulate:SCALe:SQUare? [(@<ch_list>)]
CALCulate:SCALe:GAIN {<gain>|MAX|MIN}[,(@<ch_list>)]
CALCulate:SCALe:GAIN? [(@<ch_list>)]
CALCulate:SCALe:OFFSet {<offset>|MAX|MIN}[,(@<ch_list>)]
CALCulate:SCALe:OFFSet? [(@<ch_list>)]
CALCulate:SCALe:CONStant {<constant>|MAX|MIN}[,(@<ch_list>)]
CALCulate:SCALe:CONStant? [(@<ch_list>)]
Description
Set the scaling coefficients (SQUare (A), GAIN (B), OFFSet (x1) and CONStant (C)) of
the specified channels.
Parameters
Name
Type
Range of Values
Default Value
<square>
Numeric
Any numeric value between MIN and MAX
MIN=-1.000000000E+15
MAX=+1.000000000E+15
0
<gain>
1
<offset>
0
<constant> 0
<ch_list>
Channel
List
One or more channels (only for the
multiplexer channels), the rules are as
follows:
(@101): channel 01 on the module in
Slot1;
(@101:103): channel 01 through 03 on the
module in Slot1;
(@101:103,301): channel 01 through 03
on the module in Slot1 and channel 01 on
the module in Slot3.
If the parameter
is omitted, this
command will be
applied to the
whole scan list.
Explanation The formula of the scaling function is:
Scaled Reading = SQUare×(Reading- OFFSet)
2
+GAIN×(Reading- OFFSet) +
CONStant
An error is generated if the DMM module is not installed or is disabled (refer to the
INSTrument:DMM
command).
When the channel measurement function or the remperature sensor type is changed,
the scaling function will be turned off and the scaling coefficients will be reset (A=0,
B=1, C=0, x1=0).
Configuring the scaling coefficients will turn off the alarm function and clear the alarm
parameters. Please configure the scaling parameters before configuring the alarm
parameters.
A Factory Reset (the
*RST command) turns off the scaling function and clears the
scaling coefficients (A=0, B=1, C=0, x1=0). An Instrument Preset (the
SYSTem:PRESet command) or Card Reset (the SYSTem:CPON command) does not
turn off the scaling function and does not clear the scaling coefficients.