5 Model ToC Previous Next

5.2 ProgramStateMachineType ToC Previous Next

5.2.8 ProgramDiagnostic2 DataType ToC Previous Next index

This structure contains elements that chronicle the Program Invocation’s activity and can be used to aid in the diagnosis of Program problems.

Note The original ProgramDiagnosticDataType had flaws. To avoid collisions with existing implementations, a new version with name ProgramDiagnostic2DataType has been created.

Its composition is defined in Table 12.

Table 12 – ProgramDiagnostic2DataType structure

Name Type Description
ProgramDiagnostic2DataType structure  
   createSessionId NodeId The CreateSessionId contains the SessionId of the Sessionon which the call to the Create Method was issued to create the Program Invocation.
   createClientName String The CreateClientName is the name of the Clientof the Sessionthat created the Program Invocation.
   invocationCreationTime UtcTime The InvocationCreationTime identifies the time the Program Invocation was created.
   lastTransitionTime UtcTime The LastTransitionTime identifies the time of the last Program state transition that occurred.
   lastMethodCall String The LastMethodCall identifies the last Program Method called on the Program Invocation.
   lastMethodSessionId NodeId The LastMethodSessionId contains the SessionId of the Sessionon which the last Program Control Method call to the Program Invocation was issued.
   lastMethodInputArguments Argument[] The LastMethodInputArguments provides the input arguments on the last Program Method call.
   lastMethodOutputArguments Argument[] The LastMethodOutputArguments provides the output arguments on the last Program Method call.
   lastMethodInputValues BaseDataType[] The LastMethodInputValues preserves the values of the input arguments on the last Program Method call. The size and order of this list matches the size and order of the lastMethodInputArguments field.
   lastMethodOutputValues BaseDataType[] The LastMethodOutputValues preserves the values of the output arguments on the last Program Method call. The size and order of this list matches the size and order of the lastMethodOutputArguments field.
   lastMethodCallTime UtcTime The LastMethodCallTime identifies the time of the last Method call to the Program Invocation.
   lastMethodReturnStatus StatusResult The LastMethodReturnStatus preserves the value of the return status for the last Program Control Method requested for this Program Invocation.

Its representation in the AddressSpace is defined in Table 13.

Table 13 – ProgramDiagnostic2DataType definition

Attributes Value
BrowseName ProgramDiagnostic2DataType

Previous Next