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

AVEVA™ InTouch HMI

APUGetInstanceCount() Function

  • Last UpdatedFeb 21, 2017
  • 1 minute read

Returns the number of running instances of the Alarm Printer, up to a maximum of 16 instances.

Category

View

Syntax

[Result=] APUGetInstanceCount(iCount);

Arguments

iCount

An integer tag that receives the number of instances.

Remarks

This function returns the number of instances to an integer tag as parameter. Any instances beyond the first sixteen running simultaneously are not dynamically controlled nor can their status be obtained.

Returns an integer error code.

Example

ICount is an integer tag. A run-time value of 7 means that there are currently seven instances of Alarm Printer running.

Status = APUGetInstanceCount( iCount );

See Also

APUFindAlarmGroupInstance(), APUFindFileInstance(), APUFindPrinterInstance(), APUIsInstanceUsed()

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