alm.v()

alm.v(group, [group2, …]) → number

Returns the highest-priority active alarm within the given group(s).

If multiple faults exist in a group, returns the priority of the highest active one. Additional groups can be passed as extra arguments to aggregate across them.

Arguments

NameTypeRequiredDefaultDescription
group… string yes — One or more group names.

Returns

number Highest active priority in the group(s), 0 if none alarming.

Example

let groupValue = alm.v("UV");