OUTPut:ALARm:MODE
Syntax
OUTPut:ALARm:MODE <mode>
OUTPut:ALARm:MODE?
Description
This command selects the configuration of the four TTL alarm output lines (the selected configuration applies to all four alarm output lines). The four alarm outputs are available from the rear-panel Alarm Output connector.
Latch Mode: In this mode (default), the corresponding output line is latched true when the first alarm occurs and remains asserted until you clear it by initiating a new scan or cycling power. You can manually clear the output lines at any time (even during a scan) and the alarm data in memory is not cleared (however, data is cleared when you initiate a new scan).
Track Mode: In this mode, the corresponding output line is asserted only while a channel's reading crosses a limit and subsequent readings remain outside the limit. When a reading returns to within limits, the output line is automatically cleared. You can manually clear the output lines at any time (even during a scan) and the alarm data in memory is not cleared (however, data is cleared when you initiate a new scan). The alarm outputs are also cleared when you initiate a new scan.
Used With:
34921A through 34925A Multiplexer Modules
34950A Digital I/O Module (digital input and counter channels only)
34952A Multifunction Module (digital input and totalizer channels only)
Parameters
Name |
Type |
Range of Values |
Default Value |
<mode> |
Discrete |
{LATCh|TRACk} |
LATCh |
Remarks
A Factory Reset (*RST command) clears all four alarm outputs but does not clear the alarm queue in either configuration.
Return Format
The query command returns "LATC" or "TRAC". The selected configuration applies to all four alarm output lines.
Examples
The following command enables the track mode on all four alarm output lines.
OUTP:ALAR:MODE TRAC
The following query returns the configuration of the four alarm output lines.
OUTP:ALAR:MODE?
Typical Response: TRAC