Example 3: Displaying Alarms when a Temperature Signal Meets a Specified Value
The following procedure describes how to display an alarm when a temperature signal you are logging exceeds a temperature you specify. This example uses the project you created in Example 1: Logging a Temperature Signal and modified in Example 2: Logging a Temperature Signal with Start and Stop Conditions.
Complete the following steps to configure LabVIEW SignalExpress to display an alarm when the temperature signal rises above 85 degrees Fahrenheit.
- Open the project you saved in Example 2: Logging a Temperature Signal with Start and Stop Conditions.
- Select View»Recording Options to display the Recording Options tab.
- In the Category list, select Alarms to display the Alarms page.
- Click the Add button to add a new alarm to the Alarm list and display additional configuration options.
- Verify that Thermocouple - Dev1_ai0 appears in the Signal pull-down menu and Above appears in the Condition pull-down menu.
- Enter 85 in the Value field to specify that LabVIEW SignalExpress displays an alarm when the signal from the thermocouple rises above 85 degrees Fahrenheit.
- Switch to the Data View tab and click the Run button to run the project continuously. The status indicator below the Project View displays Waiting for start conditions until LabVIEW SignalExpress detects the start condition you configured in Example 2: Logging a Temperature Signal with Start and Stop Conditions.
- After the start condition is met, the status indicator updates to display Recording. If the logged signal does not appear on the Data View tab, drag the signal from the Logged Data window to the Data View tab to view the progress of the log.
- When the temperature signal exceeds 85 degrees Fahrenheit, a red alarm indicator appears on the graph of the log. The alarm remains active until the temperature falls below 85 degrees.
- The project runs and LabVIEW SignalExpress logs the signal until the stop condition is met. After the stop condition is met, expand the log in the Logged Data window, right-click Thermocouple, and select Show Alarms and Events from the shortcut menu to display a dialog box that list the alarms and events that occurred during the logging operation. You can click the Export button on this dialog box to save the list to a text file.
- Click the OK button to close the dialog box and select File»Save Project to save the project.
This example and the two that precede it describe different ways to configure logging operations. After a logging operation is complete, you can use LabVIEW SignalExpress to view and analyze the logged signal. Example 4: Analyzing a Logged Temperature Signal describes how to analyze the logged temperature signal in LabVIEW SignalExpress.