Program class | QSYS API Reference Guide

Defines the core behavior of a program and provides a base for migrated derived classes.

Namespace: ASNA.QSys.Runtime.JobSupport Assembly: ASNA.QSys.Runtime.dll

Inheritance: Object –> Module –> CommonProgram

Methods

Signature Description
BeginCall<T>(ICaller) Prepares a program for execution by getting an instance of the program and pushing it in the invocation stack.
EndCall() Marks the end of a program execution by popping it from the invocation stack and potentially deactivating it when the program’s LR indicator is on.

T BeginCall<T>(ICaller caller)

Prepares a program for execution by getting an instance of the program and pushing it in the invocation stack.

T BeginCall<T>(ICaller caller)

Parameters

Type Parameter name Description
ICaller caller The Program or Job preparing the program.

Returns

Type Description
T The prepared program instance.

Indicator EndCall()

Marks the end of a program execution by popping it from the invocation stack and potentially deactivating it when the program’s LR indicator is on.

Indicator EndCall()