Alarms Page
Use this page of the Recording Options tab to specify alarm conditions for a data logging operation. If you specify multiple alarm conditions, an alarm activates each time the signal meets any of the alarm conditions.
This page includes the following components:
- Alarm list—Lists the source, type, and status of each alarm condition you configure.
- Add—Adds an alarm condition to the Alarm list.
- Remove—Removes the selected alarm condition from the Alarm list.
- Signal—Specifies the signal to monitor for alarm conditions.
- Condition—Specifies the alarm condition type that Signal must meet for an alarm to occur.
- Above—Specifies that an alarm occurs if Signal is above the Value you specify.
- Below—Specifies that an alarm occurs if Signal is below the Value you specify.
- Inside Range—Specifies that an alarm occurs if Signal is between the Higher value and Lower value you specify.
- Outside Range—Specifies that an alarm occurs if Signal is above the Higher value or below the Lower value you specify.
- Value—[Condition: Above, Below] Specifies the value Signal must meet for an alarm to occur.
- Higher value—[Condition: Inside Range, Outside Range] Specifies the high limit of the range of values Signal must meet for an alarm to occur.
- Lower value—[Condition: Inside Range, Outside Range] Specifies the lower limit of the range of values Signal must meet for an alarm to occur.
- Deadband—Specifies the deadband value for the alarm condition. The Deadband behavior depends on the Condition you select.
Condition Deadband behavior Above The alarm stays active until Signal falls below Value – Deadband. Below The alarm stays active until Signal rises above Value + Deadband. Inside Range The alarm stays active until Signal falls below Higher value – Deadband or rises above Lower value + Deadband. Outside Range The alarm stays active until Signal rises above Higher Value + Deadband or falls below Lower value – Deadband. - Rearm time—Specifies an amount of time that must pass between subsequent alarms.
- Action—Specifies the action to take when an alarm occurs.
- None—Specifies to take no additional action when an alarm occurs.
- Beep—Specifies to emit a system beep based on the alarm state.
- Display Message—Specifies to display a user-defined message based on the alarm state.
- Set Digital Line—Specifies to set the state of a digital line on a DAQmx device based on the alarm state.
- Set Analog Level—Specifies to change the level of a DAQmx device analog output channel based on the alarm state.
- Generate Software Trigger—Specifies to generate a software trigger based on the alarm state. You can use the software trigger to trigger a device to generate a signal.
- Create Snapshot—Specifies to create a snapshot based on the alarm state.
- Run Program—Specifies to execute commands based on the alarm state. For example, you can use this field to open a version of LabVIEW and run a VI.
- Beep when alarm turns ON—[Action: Beep] Specifies to emit a system beep when the alarm turns on.
- Beep when alarm turns OFF—[Action: Beep] Specifies to emit a system beep when the alarm turns off.
- Beep type—[Action: Beep] Specifies the type of beep to emit. The operating system defines the sound associated with each Beep type. You can select from the following options:
- Default Beep—Emits the OS default beep.
- Asterisk Beep—Emits the OS asterisk beep.
- Exclamation Beep—Emits the OS exclamation beep.
- Hand Beep—Emits the OS hand beep.
- Question Beep—Emits the OS question beep.
- OK Beep—Emits the OS OK beep.
- Message - Alarm ON—[Action: Display Message] Specifies a message to display when the alarm turns on.
- Message - Alarm OFF—[Action: Display Message] Specifies a message to display when the alarm turns off.
- DAQmx digital line—[Action: Set Digital Line] Specifies the DAQmx line to toggle.
- Action—[Action: Set Digital Line] Specifies how to set the DAQmx line in response to the alarm. You can select from the following options:
- Toggle line—Sets the DAQmx line to the same state as the alarm while the alarm is active. For example, an inactive line becomes active when the alarm asserts and returns to the inactive state when the alarm deasserts.
- Toggle line (inverse)—Sets the DAQmx line to the opposite state of the alarm while the alarm is active. For example, an active line becomes inactive when the alarm asserts and returns to the active state when the alarm deasserts.
- HIGH when Alarm turns ON—Sets the DAQmx line to HIGH logic when the alarm asserts. For example, an inactive line becomes active when the alarm asserts and remains in that state when the alarm deasserts.
- LOW when Alarm turns ON—Sets the DAQmx line to LOW logic when the alarm asserts. For example, an active line becomes inactive when the alarm asserts and remains in that state when the alarm deasserts.
- Alarm/Line preview—Displays a preview of how the Action you specify effects the DAQmx digital line.
- DAQmx analog output channel—[Action: Set Analog Level] Specifies the analog output channel of which to change the level based on the alarm state.
- Initial level—[Action: Set Analog Level] Specifies the initial analog channel level. LabVIEW SignalExpress sets the initial channel level when the project begins running.
- Alarm ON - level—[Action: Set Analog Level] Specifies the analog level when the alarm is on.
- Alarm OFF - level—[Action: Set Analog Level] Specifies the analog level when the alarm is off.
- Generate trigger when alarm turns ON—[Action: Generate Software Trigger] Specifies to generate a software trigger when the alarm turns on.
- Trigger (ON)—[Action: Generate Software Trigger] Specifies the software trigger to generate when the alarm turns on.
- Generate trigger when alarm turns OFF—[Action: Generate Software Trigger] Specifies to generate a software trigger when the alarm turns off.
- Trigger (OFF)—[Action: Generate Software Trigger] Specifies the software trigger to generate when the alarm turns off.
- Create snapshot when alarm turns ON—[Action: Create Snapshot] Specifies to create a snapshot when the alarm turns on.
- Snapshot (ON)—[Action: Create Snapshot] Specifies the signals to include in the snapshot. You can select from the following options:
- Alarmed signal—(Default) Creates a snapshot of the signal that causes the alarm.
- All signals in project—Creates a snapshot of all the signals in the project.
- Create snapshot when alarm turns OFF—[Action: Create Snapshot] Specifies to create a snapshot when the alarm turns off.
- Snapshot (OFF)—[Action: Create Snapshot] Specifies the signals to include in the snapshot. You can select from the following options:
- Alarmed signal—(Default) Creates a snapshot of the signal that causes the alarm.
- All signals in project—Creates a snapshot of all the signals in the project.
- Alarm ON Command—[Action: Run Program] Specifies a command to execute when the alarm turns on. This field is similar to the Command Prompt in Windows. You can enter system commands and paths to executable programs. Alarm ON Command recognizes the following tags that you can pass as arguments to an executable program:
- <ALARM_SIGNAL>—Specifies the name of the signal that generates the alarm.
- <ALARM_DESCRIPTION>—Specifies the description of the alarm.
- <ALARM_TIMESTAMP>—Specifies the timestamp at which the alarm occurs.
- Alarm OFF Command—[Action: Run Program] Specifies a command to execute when the alarm turns off. This field is similar to the Command Prompt in Windows. You can enter system commands and paths to executable programs. Alarm OFF Command recognizes the following tags that you can pass as arguments to an executable program:
- <ALARM_SIGNAL>—Specifies the name of the signal that generates the alarm.
- <ALARM_DESCRIPTION>—Specifies the description of the alarm.
- <ALARM_TIMESTAMP>—Specifies the timestamp at which the alarm occurs.