CALCulate:SCALe:STATe
CALCulate:SCALe:STATe
Syntax
CALCulate:SCALe:STATe <state>[,(@<ch_list>)]
CALCulate:SCALe:STATe? [(@<ch_list>)]
Description
This command disables or enables Mx+B scaling on the specified channels. If you omit the optional <ch_list> parameter, this command applies to the currently defined scan list.
Used With:
- 34901A 20 Channel Multiplexer (2/4-wire) Module
- 34902A 16 Channel Multiplexer (2/4-wire) Module
- 34908A 40 Channel Single-Ended Multiplexer Module
Parameters
Name Type Range of Values Default Value <state> Boolean {OFF|0|ON|1} This is a required parameter. <ch_list> Channel List One or more channels, as shown:
(@310) - channel 10 on the module in slot 300.
(@305:310) - channels 05 through 10 on the module in slot 300.
(@202:207,209,302:308) - channels 02 through 07 and 09 on the module in slot 200 and channels 02 through 08 on the module in slot 300.
If you omit the optional <ch_list> parameter, this command applies to the currently defined scan list.
Remarks
-
Scaling is applied using the following equation:
Scaled Reading = (Gain x Measurement) + Offset -
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) or not installed in the mainframe.
-
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 (M=1 and B=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, 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 also uses 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 disable scaling on the specified channels.
-
A Factory Reset (*RST command) turns off scaling and clears the scaling values on all channels (gain = 1, offset = 0). An Instrument Preset (SYSTem:PRESet command) does not clear the scaling values and does not turn off scaling.
Return Format
The query returns 0 (OFF) or 1 (ON) for each channel specified. Multiple responses are separated by commas.
Examples
The following program segment sets gain and offset values on channels 03 and 13 in slot 100 and then enables scaling on these channels.
CALC:SCAL:GAIN 1.25,(@103,113)
CALC:SCAL:OFFS 10.125,(@103,113)
CALC:SCAL:STAT ON,(@103,113)
The following query returns the scaling settings on channels 03 and 13 in slot 100.
CALC:SCAL:STAT? (@103,113)
Typical Response: 1,1