Specifications
Chapter 2 Command System RIGOL
M300 Programming Guide 2-127
[SENSe:]ANYSensor:SEGMent
Syntax [SENSe:]ANYSensor:SEGMent {<startvalue>, paraA, paraB, paraC}[,(@<ch_list>)]
[SENSe:]ANYSensor:SEGMent? [(@<ch_list>)]
Description Set or query the scaling parameters (including SQUare(A), GAIN(B), CONStant(C),
Start(startvalue)) for the anysensor measurements on the specified channels.
Parameters
Name
Type
Range
Default
<startvalue>
Numeric
Any numeric value between MIN and
MAX.
MIN=-1.000000000E+15
MAX=+1.000000000E+15
0
paraA
0
paraB
1
paraC
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 scaling formula for the anysensor is as follows.
Scaled Reading = SQUare×(Measurement- Start)
2
+GAIN×(Measurement-Start)+
CONStant
The scaling function is only applicable to the multiplexer channels. The specified
channels must be part of the scan list and the DMM module must be installed and
enabled.
If you change the measurement function, the scaling function is turned off and the
scaling coefficients are reset (A=0, B=1, C=0, startvalue=0).
Configuring the scaling coefficients will turn off the alarm function and clear the alarm
parameters. Therefore, configure the scaling coefficients before configuring the alarm
parameters.
If the scaling parameters are the default values, querying these scaling parameters will
return “+0”.
A Factory Reset (send the
*RST command) turns off the scaling function and clears the
scaling coefficients (reset to the default values). An Instrument Preset (send the
SYSTem:PRESet command) or Card Reset (send the SYSTem:CPON command) does
not turn off the scaling function and does not clear the scaling coefficients.
Return
Format
The query returns a series of numbers, wherein the startvalue, A, B and C are in scientific
notation. Multiple return values are separated by commas.The return format is as follows.
Format explanation:
+1
,+1.000000E+00,+2.000000E+00,+3.000000E+00,+4.000000E+00
①Number of segment②startvalue③A ④B ⑤C
Example
ANYS:SEGM 1,2,3,4,(@101)
ANYS:SEGM? (@101)