CALCulate:LIMit:LOWer
CALCulate:LIMit:LOWer
CALCulate:LIMit:UPPer
Syntax
CALCulate:LIMit:LOWer <lo_limit>[,(@<ch_list>)]
CALCulate:LIMit:LOWer? [(@<ch_list>)]
CALCulate:LIMit:UPPer <hi_limit>[,(@<ch_list>)]
CALCulate:LIMit:UPPer? [(@<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. These commands set the lower and upper limits for alarms on the specified channels.
Used With:
- 34901A 20 Channel Multiplexer (2/4-wire) Module
- 34902A 16 Channel Multiplexer (2/4-wire) Module
- 34907A Multifunction Module (totalizer channel only)
- 34908A 40 Channel Single-Ended Multiplexer Module
Parameters
Name Type Range of Values Default Value <lo_limit> Numeric Any numeric value 0 <hi_limit> Numeric Any numeric value; for totalizer channels, the <hi_limit> refers to a maximum count. 0 <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
- Alarms are evaluated during a scan or a monitor measurement on channels of a multiplexer module. For scanning using a multiplexer module, an error is generated if the internal DMM is disabled (see INSTrument:DMM 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 a lower limit, an upper limit, 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 lower limits, use the CALCulate:LIMit:LOWer:STATe command to enable alarms on the specified channels. Similarly, use CALCulate:LIMit:UPPer:STATe after setting the upper limits.
- The alarms are evaluated by the internal DMM from the time the CALCulate:LIMit:LOWer:STATe ON and CALCulate:LIMit:UPPer:STATe ON commands are 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 103, 205, or 310. 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.
- To generate an alarm when a specific count is reached on a totalizer channel, see the CALCulate:LIMit:UPPer command. To generate an alarm when a specific bit pattern or bit pattern change is detected on a digital input channel, see the CALCulate:COMPare commands.
- 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 returns the upper or lower limit in the form "-1.00000000E+15" for each channel specified. Multiple responses are separated by commas.
Examples
In the following examples, you can substitute the node name UPP for LOW.
The following command sets the lower limit to -0.25 on channels 03 and 13 in slot 100.
CALC:LIM:LOW -0.25,(@103,113)
The following query returns the lower limit settings on channels 03 and 13 in slot 100.
CALC:LIM:LOW? (@103,113)
Typical Response: -2.50000000E-01,-2.50000000E-01
See Also
CALCulate Subsystem Introduction