Versions Compared

Key

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

Description

This XCommands notifies visualization device / user about a new alarm. As notification the default Windows notification is used.

Inputs

None.

Parameters

Name

Type

Mandatory/Optional

Description

Device

string

O

Specifies the visualization device to be notified by this XCommand. Leave empty to address all devices.

User or Group

custom / string

O

Specifies the user or group to be notified by this XCommand. Leave empty to address all users. If users and groups have the same name, user has precedence over group.

Message

string

M

Text that is shown in the notification pop-up

.Alarm IDstringOThe ID (WID) of calling Alarm

.

Sound file

string

O

Name of the WAV file. For web visualization, the sound file must be located in C:\ProgramData\nxa4\external\global. For the PC-based visualization the sound file must be stored in <Installation directory BMS Platform>\Visualization\ResourceFiles\WAVs.
If not used, the default system sound is played.

Loop sound

bool

O

If true, the sound is played until the notification pop-up is acknowledged by clicking on it. Default is false.

Show alarm list

bool

O

If true, the alarm list is shown in the visualization. 

Alarm list view

custom / string

O

Specifies the view (Current, Main / View1, View2, or View3) in which the alarm list shall be shown. Leave empty to address "Main view".

Show page

custom / string

O

Name of the target page that shall be shown when the alarm occurs.

Page view

custom / string

O

Specifies the view (Current, Main / View1, View2, or View3) in which the page shall be switched. Leave empty to address "Main view".

Variables

custom / string

O

The values of page variables can be defined here. The format is <varname1>=<varval1>,<varname2>=<varval2>,...

Outputs

None.

Possible trigger types

  • All

Article applies to the following products: 

  • NETx BMS Platform