Read Alarms VI
- Updated2024-11-20
- 5 minute(s) read
Returns alarm information for the shared variables you specify.

Inputs/Outputs
shared variables
—
Note
timeout (s)
—
timeout specifies the maximum time, in seconds, that this VI waits for reading data from the Shared Variable Engine (SVE). The default is 5. A timeout value of less than or equal to 0 specifies no timeout, which means this VI waits indefinitely until this VI receives data from the SVE.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
alarms
—
alarms is the alarm information for the specified shared variables. An event is a type of alarm that occurs instantaneously. An event is virtually any instantaneous activity such as a mouse click, whereas an alarm typically denotes an abnormal condition, occurs under certain specific conditions, or must be acknowledged by the user or configured for automatic acknowledgment. The Read Alarms VI and Read Events VI use the same outputs when returning information about alarms and events.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the DSC Alarms Demo.lvproj in the labview\examples\lvdsc\Data and Alarm Historical Logging\DSC Alarms Demo directory for an example of using the Read Alarms VI.
shared variables
—
timeout (s)
—
error in (no error)
—
alarms
—
alarm URL
—
set time
—
setpoint
—
priority
—
event?
—
Refnum
—
error out
—