APUGetQueryToPriority() Function
- Last UpdatedMar 03, 2021
- 1 minute read
Gets the To Priority from the query.
Category
View
Syntax
[Result=] APUGetQueryToPriority(iInstance,iPriority);
Arguments
iInstance
The instance of Alarm Printer (0 to 15).
iPriority
An integer tag that receives the To Priority value.
Remarks
Another query cannot be running at the same time as the script that includes the APUGetQueryToPriority() function. The To Priority value is written to the iPriority parameter of the function, which is an integer tag.
Returns an integer error code.
Example
The integer tag ToPri receives the To Priority value, such as 999.
Status = APUGetQueryToPriority(Inst,ToPri);
See Also
APUGetAlarmGroupText(), APUGetConfigurationFilePath(), APUGetPrinterJobCount(), APUGetQueryAlarmState(), APUGetQueryFromPriority(), APUGetQueryProcessingState()