Specifications

Chapter 2 Command System RIGOL
M300 Programming Guide 2-95
OUTPut:ALARm[<n>]:MODE
Syntax OUTPut:ALARm[<n>]:MODE <mode>
OUTPut:ALARm[<n>]:MODE?
Description
Set the output mode of the alarm output line of the specified channel.
Parameters
Name
Type
Range
Default
<n>
Discrete
1|2|3|4
None
[1]
<mode>
Discrete
{LATCh|TRACk}
LATCh
Note
[1]
: When you omit this parameter, this command sets the output mode of all the alarm output
lines.
Explanation When an alarm is generated, the corresponding pin of the Alarm/Ext Trig interface
(converted from the [RS-232/Alarms/Ext Trig] interface) at the rear panel outputs
a pulse with the specified edge.
Alarm/Ext Trig Interface
LATCh: in this mode, the corresponding pin is latched to the status (high level or low
level) specified in Output when the first alarm occurs and remains asserted until you
clear it by initiating a new scan or cycling power. You can clear the alarm status of the
corresponding pin (send the
OUTPut:ALARm<n>:CLEar command) at any time (even
during a scan) and the alarm data is not cleared (however, the data is cleared when
you initiate a new scan).
TRACk: in this mode, the corresponding pin jumps to the status (high level or low
level) specified in Output when a reading of the channel crosses a limit and remains
outside the limit. When a reading returns to within limits, the alarm status of this pin is
automatically cleared. You can clear the alarm status of the pin (send the
OUTPut:ALARm<n>:CLEar command) at any time (even during a scan) and the alarm
data is not cleared. The output pin and alarm data are both cleared when you initiate a
new scan.
A Factory Reset (the
*RST command) selects the Latch mode as the output mode of
the alarm output line.
Return
Format
The query returns LATC or TRAC.
Example
OUTP:ALAR2:MODE TRAC
OUTP:ALAR2:MODE?
The query returns TRAC.
Related
commands
OUTPut:ALARm<n>:CLEar
OUTPut:ALARm:CLEar:ALL
Pin
Definition
1
Alarm 1 Output
2
Alarm 2 Output
3
Alarm 3 Output
4
Alarm 4 Output
4
2
3
1