CALCulate:SCALe:STATe

34980A

CALCulate:SCALe:STATe

Syntax

CALCulate:SCALe:STATe <mode> [, (@<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 internal DMM, independent of any channels or a scan list.

Used With:

  • 34921A through 34925A Multiplexer Modules

Parameters

Name

Type

Range of Values

Default Value

<mode>

Boolean

{OFF|0|ON|1}

Scaling OFF

<ch_list>

Numeric

One or more channels in the form (@sccc).

If <ch_list> is omitted, this command applies to the internal DMM.

Remarks

  • Scaling is applied using the following equation:

          Scaled Reading = (Gain x Measurement) + Offset

  • Readings can be acquired during a scan using the multiplexer or by the internal DMM independently (when a channel list is not specified). For scanning measurements using the multiplexer modules, an error is generated if the internal DMM is disabled (see INSTrument:DMM[:STATe] command) or not installed in the mainframe.

  • If you omit the optional <ch_list> parameter, this command enables scaling on the internal DMM. The scaling is applied to the internal DMM from the time the CALCulate:SCALe:STATe ON command is executed.

  • 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 or the internal DMM, scaling is turned off on those channels but the gain and offset values are not 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 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 command 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 3 and 13 in slot 1 and then enables scaling on these channels.

CALC:SCAL:GAIN 1.25,(@1003,1013)
CALC:SCAL:OFFS 10.125,(@1003,1013)
CALC:SCAL:STAT ON,(@1003,1013)

The following query returns the scaling settings on channels 3 and 13 in slot 1.

CALC:SCAL:STAT? (@1003,1013)

Typical Response:  1,1

See Also

CALCulate:SCALe:GAIN

CALCulate:SCALe:OFFSet

CALCulate:SCALe:UNIT