CALCulate:SCALe:UNIT
CALCulate:SCALe:UNIT
Syntax
CALCulate:SCALe:UNIT <quoted_string>[,(@<ch_list>)]
CALCulate:SCALe:UNIT? [(@<ch_list>)]
Description
This command allows you to specify the custom label of up to three characters (for example, RPM, PSI) for scaled measurements 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 <quoted_string> Quoted ASCII String A quoted ASCII string of up to three characters. You can use letters (A-Z), numbers (0-9), an underscore ( _ ), or the "#" character which displays a degree symbol ( ° ) on the front panel (displayed as a blank space in an output string from the remote interface). The first character must be a letter or the "#" character (the "#" character is allowed only as the leftmost character in the label). The remaining two characters can be letters, numbers, or an underscore. 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
- 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.
- If you set the measurement label to °C, °F, or K, note that this has no effect the temperature units set using the UNIT:TEMPerature command.
- The CONFigure and MEASure? commands automatically reverts the unit to the natural units for the function.
- A Factory Reset (*RST command) turns off scaling, clears the scaling values (gain = 1, offset = 0), and automatically reverts the unit to the natural units for the function. An Instrument Preset (SYSTem:PRESet command) does not clear the scaling values or measurement labels and does not turn off scaling.
Return Format
The query reads the measurement units for each channel specified and returns an ASCII string enclosed in double quotes. Multiple responses are separated by commas.
Examples
The following command adds the measurement label "RPM" (Revolutions Per Minute) to channels 03 and 13 in slot 100.
CALC:SCAL:UNIT "RPM",(@103,113) or CALC:SCAL:UNIT 'RPM',(@103,113)
The following query returns the measurement labels assigned to channels 03 and 13 in slot 100.
CALC:SCAL:UNIT? (@103,113)
Typical Response: "RPM","RPM"
See Also
CALCulate Subsystem Introduction