CALCulate:LIMit:UPPer

34980A

CALCulate:LIMit:UPPer

Syntax

CALCulate:LIMit:UPPer {<value>|MIN|MAX|DEF}, (@<ch_list>)

CALCulate:LIMit:UPPer? [{MIN|MAX},] (@<ch_list>)

Description

The instrument has four alarms which you can configure to alert you when a reading exceeds specified limits on a multiplexer channel during a scan. This command sets the upper limit for alarms on the specified channels.

Used With:

  • 34921A through 34925A Multiplexer Modules

  • 34950A Digital I/O Module (counter channels only)

  • 34952A Multifunction Module (totalizer channels only)

Parameters

Name

Type

Range of Values

Default Value

<value>

Numeric

Multiplexers:

Any value between -120% and +120% of the highest range, for the present function.
Totalizer Channels:

Any value between 0 and 4,294,967,295 (32-bit totalizers).

Multiplexers:

+1.0E+15

 

Totalizer Channels:

0

<ch_list>

Numeric

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

34950A: s301, s302
34952A: s005

This is a required parameter.

Remarks

  • Alarms are evaluated during a scan using the multiplexer modules. For scanning using a multiplexer module, an error is generated if the internal DMM is disabled (see INSTrument:DMM[:STATe] command) or not installed in the mainframe. The internal DMM is not required for operations on the digital modules and the specified channels do not have to be part of the active scan list to generate an alarm.

  • You can assign an upper limit, a lower limit (see CALCulate:LIMit:LOWer command), or both to any configured channel in the scan list. The lower limit must always be less than or equal to the upper limit.

  • Once you have defined the upper limits, use the CALCulate:LIMit:UPPer:STATe command to enable alarms on the specified channels.

  • The alarms are evaluated by the internal DMM from the time the CALCulate:LIMit:UPPer:STATe ON command is executed.

  • You must configure the channel (function, transducer type, etc.) before setting any alarm limits. If you change the measurement configuration, alarms are turned off and the limit values are cleared. Alarms are also turned off when you change the temperature probe type, temperature units, or disable the internal DMM.

  • You can assign multiple channels to any of the four available alarms (numbered 1 through 4, see OUTPut:ALARm<n>:SOURce command). For example, you can configure the instrument to generate an alarm on the Alarm 1 output when a limit is exceeded on any of channels 1003, 2005, or 3010. You cannot, however, assign alarms on a specific channel to more than one alarm number.

  • If you plan to use alarms on a channel which will also use Mx+B scaling, 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, alarms are no longer evaluated on those channels (during a scan) but the limit values are not cleared. If you decide to add a channel back to the scan list (without changing the function), the original limit values are restored and alarms are turned back on. This makes it easy to temporarily remove a channel from the scan list without entering the alarm values again.

  • On the digital modules, you can set an upper limit for the totalizer channels (no lower limit is allowed). These channels do not have to be part of the active scan list to generate an alarm, but alarm data is stored in reading memory only during a scan.

  • To generate an alarm when a specific bit pattern or bit pattern change is detected on a digital input channel (34950A and 34952A), see the CALCulate:COMPare commands.

  • A Factory Reset (*RST command) clears all alarm limits and turns off all alarms. An Instrument Preset (SYSTem:PRESet command) or Card Reset (SYSTem:CPON command) does not clear the alarm limits and does not turn off alarms.

  • The instrument clears all alarm limits and turns off all alarms after a Factory Reset (*RST command), Instrument Preset (SYSTem:PRESet command), or Card Reset (SYSTem:CPON command).

Return Format

The query command returns the upper limit in the form "+1.00000000E+15" for each channel specified. Multiple responses are separated by commas.

Examples

The following command sets the upper limit to 10.25 on channels 3 and 13 in slot 1.

CALC:LIM:UPP 10.25,(@1003,1013)

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

CALC:LIM:UPP? (@1003,1013)

Typical Response:  +1.02500000E+01,+1.02500000E+01

To ensure that an error is not generated when using only an upper or lower limit, execute the following command sequence (this example assumes that you are setting only an upper limit).

CALC:LIM:LOW MIN,(@1003,1013); UPP 10.25,(@1003,1013); UPP:STAT ON,(@1003,1013)

The following command sets the upper limit to 4095 on totalizer channels 301 and 302 in slot 5 (assumes 34950A).  

CALC:LIM:UPP 4.095E+03,(@5301,5302)

See Also

CALCulate:LIMit:LOWer

CALCulate:LIMit:UPPer:STATe

OUTPut:ALARm<n>:SOURce