Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This section discusses how to configure the TAlarmView component


On this page:

Table of Contents
maxLevel3
stylenone


Anchor
Configuring an alarm window
Configuring an alarm window

Configuring an Alarm Window

Configuration

Double-click any on the Alarm Window object in the display to configure itdrawing area to start configuring an Alarm Window.

Control Name

Alarm Window settings

Field

Description

Defines a name for the control so it can be accessed in the CodeBehind script. See Display Code Behind.

MaxLines

Maximum number of lines to display in the window.

List

Selects the source

List

Select the type of alarms to display in the windowviewer. Options include:

  1. OnlineAlarms

— Displays only active alarms. Alarms only display while the alarm is in the alarm state.
  • AlarmHistory — Displays only past alarms.
  • AuditTrail — Displays only the SystemEvents (Alarms → Groups).
  • AlarmHistory+Events — Displays past alarms and SystemEvents.
  • Merge Hi and HiHi Lines

    Combines alarms configured as Hi and HiHi into a single row.

    History Interval/To

    Enter the start and end dates for the alarms. The Alarm Window object execute this query from the database.
    If this field is empty, the value used will be the lowest ActiveTime_Ticks to DateTime.UTCNow.Ticks.

    Show Column Titles

    Select to display the column titles.

    Ack by Page

    Enter a tag name which acknowledges the alarms in the alarm window when triggered.

    Show Header

    Enter text to display above the column titles.

    AllowSort

    Select to allow users to sort the data by column.

    Allow Column Reorder

    Select to allow users to change the order of the columns.

    Display value column as string

    Set the format of the value column to string

    Filter

    Enter SQL statement to limit the alarms displayed.

    Display Milliseconds

    Select to include milliseconds in the alarm time.

    Ack Selected Line

    Configure settings for acknowledging an alarm.

    Columns

    For each column in the list, select the column and configure the settings to the right of the list (described below).

    Visible

    Select so the column is displayed in the alarm window.

    Allow Filter

    Select to allow users to filter the column.

    Show in Column Chooser

    Select to include the column in the column chooser, which allows users to select the columns that display.

    Title

    Enter the text for the column title.

    Width

    Enter the initial column width, in WPF units (device-independent pixels).

    1. : Displays real-time alarms that are currently active or have been recently triggered in the system.

    2. AlarmHistory: Shows a historical record of alarms, including those that have been resolved or acknowledged. This option provides insights into past alarm events.

    3. AuditTrail: Presents a log of changes and actions taken within the system, including user activities and system modifications. Helps track who did what and when.

    4. AlarmHistory+AuditTrail: Combines both historical alarm records and audit trail logs. This integrated view helps correlate alarm events with user actions and system changes.

    5. EventFrames: Displays event frames, which are specific periods defined to capture related alarm events and process data. Helps analyze and understand the context of alarms.

    6. AlarmHistory+EventFrames: Merges historical alarm data with event frames, providing a comprehensive view of past alarms in the context of specific events or periods.

    7. AlarmHistory+AuditTrail+EventFrames: Offers a combined view of alarm history, audit trail logs, and event frames. Allows for detailed analysis of alarm events, user actions, and contextual periods.

    MaxLines

    Sets the maximum number of alarm lines to display in the grid. The value is set to 1024.

    Ack Selected line

    Allows acknowledging the selected alarm line when checked.

    ListChange Link

    Links the alarm viewer to another list or data source, allowing dynamic updates based on changes in the linked list.

    Merge Hi and HiHi lines

    Merges high-priority (Hi) and very high-priority (HiHi) alarm lines into a single view when enabled.

    Show column titles

    Displays the titles of the columns in the alarm grid when checked.

    Ack by page

    Allows acknowledging alarms by page number.

    Show Header

    Enables users to drag column titles to group data based on those columns.

    AllowSort

    Enables sorting of the columns within the grid.

    Allow Column Reorder

    Allows users to reorder the columns by dragging them.

    Display Value column as string

    Displays the values in the grid as strings when checked.

    Filter

    Provides a text box for filtering the alarm entries based on specific criteria.

    Display Milliseconds

    Shows the time with millisecond precision when enabled.

    Columns

    Lists all the available columns that can display in the alarm viewer grid. Users can select which columns to show or hide.

    Visible

    Shows the column in the grid when checked.

    Show in column chooser

    Makes the column available in the column chooser tool.

    Column Details

    Allows configuring specific details for each column.

    Title

    Sets the title for the selected column.

    Width

    Sets the width of the column in pixels.

    Sort

    Specifies the sorting order for the column (None, Ascending, Descending)

    Sort

    Select how to initially sort the column.



    Expand
    titleColumns

    Alarm properties available for Columns settings

    Columns

    Description

    AckStatus

    Shows the acknowledgment status of the alarm.

    ActiveTime_Ticks

    Displays the active time of the alarm in ticks.

    TagName

    Shows the name of the tag associated with the alarm.

    Group

    Displays the group to which the alarm belongs.

    Value

    Shows the current value of the alarm.

    AckRequired

    Indicates if acknowledgment is required.

    Condition

    Shows the condition that triggered the alarm.

    Area

    Displays the area or location related to the alarm.

    Priority

    Shows the priority level of the alarm.

    NormTime_Ticks

    Displays normalized time in ticks.

    AckTime_Ticks

    Shows the acknowledgment time in ticks.

    UserName

    Displays the name of the user who acknowledged the alarm.

    Comments

    Shows any comments related to the alarm.

    ColorFG

    Displays the foreground color for the alarm display.

    ColorBG

    Shows the background color for the alarm display.

    NotSync

    Indicates if the alarm is not synchronized.

    Level

    Shows the level of the alarm.

    Message

    Displays the message associated with the alarm.

    Duration

    Shows the duration of the alarm.

    Category

    Displays the category of the alarm.

    DateCreated_Ticks

    Shows the creation date of the alarm in ticks.

    AuxValue

    Displays an auxiliary value associated with the alarm.

    AlarmLimit

    Shows the limit that triggered the alarm.

    PreviousValue

    Displays the previous value before the alarm was triggered.

    UserFullName

    Shows the full name of the user who acknowledged the alarm.

    AuxValue2

    Displays a second auxiliary value.

    AuxValue3

    Shows a third auxiliary value.




    TAlarmWindow Touch-Sensitive Control

    To make the TAlarmWindow work with a touch-sensitive screen, you can open "Edit > Scripts > Tasks" and double-click on "ClientStartup". In this CodeBehind, you can type the following code in CSharp:

    Task > ClientStartup code: 

    Code Block
    @Client.DisableMultiTouch = true

    Save the script and run the project, your touch-sensitive screen will be working.


    In this section

    ...

    :

    Page Tree
    root@parent
    spacesV10