APUSetQueryFromPriority() Function
- Last UpdatedMar 03, 2021
- 1 minute read
Sets the lower boundary or from priority of an alarm query.
Category
View
Syntax
[Result=] APUSetQueryFromPriority(iInstance, iPriority);
Arguments
iInstance
The instance of Alarm Printer (0 to 15).
iPriority
An integer value for the From Priority (1 to 999).
Remarks
A query cannot be running for this function to succeed.
Returns an integer error code.
Example
This example sets the From Priority value of the query associated with the instance value of the Inst integer tag to the value of the FromPri integer tag.
Status = APUSetQueryFromPriority(Inst, FromPri);
See Also
APUSetAlarmGroupText(), APUSetQueryAlarmState(), APUSetQueryToPriority(), APUSetTimeoutValues()