IOPCUAClientSubscriptionCallback.StateChangeCallback (METH) ¶ METHOD StateChangeCallback : OpcUa_StatusCode The callback is called when the state of a subscription has changed. This happens typically after creation (OpcUaClient_CreateSubscription) or OpcUaClient_SetPublishingMode of a subscription. InOut: Scope Name Type Return StateChangeCallback OpcUa_StatusCode Input hSubscription RTS_IEC_HANDLE newState OPCUAClientSubscriptionState reason OpcUa_StatusCode
IOPCUAClientViewCallback (ITF) ¶ INTERFACE IOPCUAClientViewCallback EXTENDS __SYSTEM.IQueryInterface This callback contains callbacks used to transport the results of the view services to the client. Methods: BrowseCallback BrowseNextCallback RegisterNodesCallback TranslateBrowsePathsToNodeIdsCallback UnregisterNodesCallback Structure: BrowseCallback (Method) BrowseNextCallback (Method) RegisterNodesCallback (Method) TranslateBrowsePathsToNodeIdsCallback (Method) UnregisterNodesCallback (Method)
IOPCUAClientViewCallback.BrowseCallback (METH) ¶ METHOD BrowseCallback : OpcUa_StatusCode Called in response to OpcUaClient_Browser. InOut: Scope Name Type Comment Return BrowseCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call Browse. serviceResult OpcUa_StatusCode The result of the Browse service. numOfResults OpcUa_UInt32 Number of browse results results POINTER TO OpcUa_BrowseResult Pointer to an array of browse results.
IOPCUAClientViewCallback.BrowseNextCallback (METH) ¶ METHOD BrowseNextCallback : OpcUa_StatusCode Called in response to OpcUaClient_BrowseNext. InOut: Scope Name Type Comment Return BrowseNextCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call BrowseNext. serviceResult OpcUa_StatusCode The result of the BrowseNext service. numOfResults OpcUa_UInt32 Number of browse results results POINTER TO OpcUa_BrowseResult Pointer to an array of browse results.
IOPCUAClientViewCallback.RegisterNodesCallback (METH) ¶ METHOD RegisterNodesCallback : OpcUa_StatusCode Called in response to OpcUaClient_RegsiterNodes. InOut: Scope Name Type Comment Return RegisterNodesCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call RegisterNodes. serviceResult OpcUa_StatusCode The result of the RegisterNodes service. numOfNodes OpcUa_UInt32 Number of registered nodes. registeredNodeIds POINTER TO OpcUa_NodeId Pointer to the list of intermediate NodeIDs.
IOPCUAClientViewCallback.TranslateBrowsePathsToNodeIdsCallback (METH) ¶ METHOD TranslateBrowsePathsToNodeIdsCallback : OpcUa_StatusCode Called in response to OpcUaClient_TranslateBrowsePathsToNodeIds. InOut: Scope Name Type Comment Return TranslateBrowsePathsToNodeIdsCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call TranslateBrowsePathsToNodeIds. serviceResult OpcUa_StatusCode The result of the TranslateBrowsePathsToNodeIds service. numOfResults OpcUa_UInt32 Number of translated BrowsePaths. results POINTER TO OpcUa_BrowsePathResult Pointer to an array of translated results.
IOPCUAClientViewCallback.UnregisterNodesCallback (METH) ¶ METHOD UnregisterNodesCallback : OpcUa_StatusCode Called in response to OpcUaClient_UnregisterNodes. InOut: Scope Name Type Comment Return UnregisterNodesCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call unregister nodes. serviceResult OpcUa_StatusCode The result of the UnregisterNodes service.
Structs ¶ OPCAClientCredentials_UserPassword (Struct) OPCUAClientConnectionConfiguration (Struct) OPCUAClientCredentials (Union) OPCUAClientMonitoredItemConfiguration (Struct) OPCUAClientUserToken (Struct)
OPCAClientCredentials_UserPassword (STRUCT) ¶ TYPE OPCAClientCredentials_UserPassword : STRUCT InOut: Name Type Comment username OpcUa_String The username used to activate the session. password OpcUa_String The password corresponding to the username
OPCUAClientConnectionConfiguration (STRUCT) ¶ TYPE OPCUAClientConnectionConfiguration : STRUCT InOut: Name Type Comment sizeofStruct UDINT Size of the strucutre. endpoint OpcUa_EndpointDescription The endpoint to connect to. The endpoint should contain only user token policy that should be used to activate the session. sessionName OpcUa_String The sessions name. sessionTimeout UDINT The session timeout.