Specifications
RIGOL Chapter 2 Command System
2-190 M300 Programming Guide
STATus:ALARm:ENABle
Syntax STATus:ALARm:ENABle <enable value>
STATus:ALARm:ENABle?
Description
Set or query the enable register for the Alarm Register set.
Parameters
Name Type Range Default
<enable value>
Integer
0 to 65535
None
Explanation When the events correspond to the bits that are set to 1 in the register occurs, the bits
are then reported to the status byte register.
Sending the
STATus:PRESet command will set this register to 0.
The bit definitions for the alarm enable register are as shown in the table below.
Bit
Bit Name
Weight
Definition
0-3
Not Used
1-8
Always be 0.
4
Queue Not Empty
16
The alarm queue is not empty.
5
Not Used
32
Always be 0.
6
Alarm 1
64
Alarm 1 is triggered.
7
Alarm 2
128
Alarm 2 is triggered.
8
Alarm 3
256
Alarm 3 is triggered.
9
Alarm 4
512
Alarm 4 is triggered.
10-11
Not Used
1024-2048
Always be 0.
12
Lower Limit
4096
A lower limit alarm has occurred.
13
Upper Limit
8192
An upper limit alarm has occurred.
14-15
Not Used
16384-32768
Always be 0.
Return
Format
The query returns an integer which corresponds to the binary-weighted sum of all the bits
in the register. For example, if bit 4 (16 in decimal) and bit 12 (4096 in decimal) are
enabled, this command will return 4112 (#b1000000010000).
Example STAT:ALAR:ENAB 4112
STAT:ALAR:ENAB?
The query returns 4112.
Related
commands
STATus Command Subsystem
STATus:ALARm:CONDition?
STATus:ALARm[:EVENt]?
STATus:PRESet