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

AVEVA™ InTouch HMI

APUSetQueryToPriority() Function

  • Last UpdatedMar 03, 2021
  • 1 minute read

Sets the To Priority for the query.

Category

View

Syntax

[Result=] APUSetQueryToPriority(iInstance, iPriority);

Arguments

iInstance

The instance of Alarm Printer (0 to 15).

iPriority

An integer value for the To Priority in the range of 1 to 999. It should also be set higher than or equal to the From Priority value of the same query of the specified instance.

Remarks

The To priority must be equal to or greater than the From priority to set a valid alarm priority range. A script containing the APUSetQueryToPriority() function cannot run at the same time as a query.

Returns an integer error code.

Example

This example sets the To Priority value of the query associated with the instance 0 to 240.

Status = APUSetQueryToPriority(0,240);

See Also

APUSetAlarmGroupText(), APUSetQueryAlarmState(), APUSetQueryFromPriority(), APUSetTimeoutValues()

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