LabVIEW Datalogging and Supervisory Control Module

Table of Contents

Printing Alarms and Events (DSC Module)

  • Updated2023-02-21
  • 2 minute(s) read

Use the Alarm Printer I/O server to print alarms and events that LabVIEW processes generate. You can print all available information about an alarm or event, or you can select the information you want to print.

Note Note   You can use Alarm Printer I/O server to print alarms and events through serial ports. The Shared Variable Engine (SVE) registers the available serial ports only while the SVE is initializing. Ensure that no process or application occupies any serial ports when the SVE is initializing. Otherwise, the SVE does not register the occupied serial ports. If you install new serial ports using the ENET232, USB, or Virtual Ports when the SVE is running, restart the computer or the SVE to register the new serial ports.

Complete the following steps to create an Alarm Printer I/O server and print alarm and event data.

  1. Configure alarms for a shared variable.
  2. Deploy the shared variable. After you deploy the shared variable, LabVIEW can send the values of the shared variable to the SVE. When these values trigger alarms or events, the Alarm Printer I/O server you configure sends the alarm or event data to the printer.
  3. Right-click My Computer or a LabVIEW project library name in the Project Explorer window and select New»I/O Server from the shortcut menu to display the Create New I/O Server dialog box.
  4. Select Alarm Printer from the I/O Server Type list and click the Continue button to display the Configure Alarm Printer I/O Server dialog box.
  5. On the Port Settings page, configure the line printer to which you want to print the alarm and event data.
  6. Click the Format tab.
  7. On the Format page, place checkmarks in the checkboxes for the information that you want to print. Specify the Date Format and Time Format if you want to print the Set Time, Ack Time, or Clear Time.
  8. Click the OK button. The new I/O server appears under the project library you selected or, if you did not specify a project library, under a new project library.
  9. Right-click the Alarm Printer I/O server in the Project Explorer window and select Deploy from the shortcut menu to deploy the I/O server. After you deploy the I/O server, the I/O server can send alarm and event data that LabVIEW processes generate to the printer that you specified.

The printer prints the alarm and event information in the following order: [Alarm or Event], [Object Name], [Set Time], [Set User], [Ack Time], [Ack User], [Clear Time], [Clear User], [Priority], [Area], [Value], [Setpoint], [Description], [Ack Comment]. A comma separates each field of information.

Log in to get a better experience