Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

Select​.Tag() method

  • Last UpdatedJul 19, 2024
  • 1 minute read

The Select.Tag method selects all alarms for a given alarm source, group, tag name, and priority range.

Syntax

AlarmClient.Select.Tag(AlarmSource, Group, Tag, FromPriority, ToPriority);

Parameters

AlarmSource

The name of the provider and optionally node providing alarms including backslash. For example:

\\node1\galaxy

\intouch

Group

The name of the alarm group. For example, $system.

Tag

The name of the alarm tag. For example, ValveTag1.

FromPriority

Starting priority of alarms. For example, 100.

ToPriority

End priority of alarms. For example, 900.

Example

AlarmClient1.Select.Tag("\\machine25\galaxy", "Vessel_25B", "Valve17", 1, 99);

LogMessage("All alarm client records of the attribute Valve17 in the group (area) Vessel_25B of the galaxy on machine25 with priorities from 1 to 99 are now selected.");

In This Topic
TitleResults for “How to create a CRG?”Also Available in