OpcUaStackFinishEncode (FUN) ¶ FUNCTION OpcUaStackFinishEncode : OpcUa_StatusCode Finish encoding values and close the encoder. InOut: Scope Name Type Comment Return OpcUaStackFinishEncode OpcUa_StatusCode Input encoder OpcUa_Handle Handle to the encoder. Output bytesWritten OpcUa_UInt32 Number of bytes written while encoding.
OpcUaStackStartDecode (FUN) ¶ FUNCTION OpcUaStackStartDecode : OpcUa_StatusCode Initialize a UA binary decoder object. Use the FUNCTION in the following order: OpcUaStackStartDecode: This prepares the decoder object for reading binary data. Any of OpcUaStackDecodeValue, OpcUaStackDecodeGetPosition, OpcUaStackDecodeSetPosition: Use these functions to write the binary data. OpcUaStackFinishDecode: This deletes the decoder object. Do not call any other function with this handle. InOut: Scope Name Type Comment Return OpcUaStackStartDecode OpcUa_StatusCode Input pBuffer POINTER TO OpcUa_Byte Pointer to the buffer used to read the binary data from. bufferSize __XWORD Size of the buffer. Output decoder OpcUa_Handle Handle the decoder object. Use as input to the other functions.
OpcUaStackStartEncode (FUN) ¶ FUNCTION OpcUaStackStartEncode : OpcUa_StatusCode Initialize a UA binary encoder object. Use the FUNCTION in the following order: OpcUaStackStartEncode: This prepares the encoder object for writing binary data. Any of OpcUaStackEncodeValue, OpcUaStackEncodeGetPosition, OpcUaStackEncodeSetPosition: Use these functions to write the binary data. OpcUaStackFinishEncode: This deletes the encoder object. Do not call any other function with this handle. InOut: Scope Name Type Comment Return OpcUaStackStartEncode OpcUa_StatusCode Input pBuffer POINTER TO OpcUa_Byte Pointer to the buffer used to write the binary data. bufferSize __XWORD Size of the buffer. Output encoder OpcUa_Handle Handle the encoder object. Use as input to the other functions.
OpcUaStatusChangeNotificationClear (FUN) ¶ FUNCTION OpcUaStatusChangeNotificationClear InOut: Scope Name Type Input pValue POINTER TO OpcUa_StatusChangeNotification
OpcUaStatusChangeNotificationInitialize (FUN) ¶ FUNCTION OpcUaStatusChangeNotificationInitialize InOut: Scope Name Type Input pValue POINTER TO OpcUa_StatusChangeNotification
OpcUaStringAttachCopy (FUN) ¶ FUNCTION OpcUaStringAttachCopy : UDINT InOut: Scope Name Type Return OpcUaStringAttachCopy UDINT Input pDst POINTER TO OpcUa_String pSrc POINTER TO SINT
OpcUaStringAttachReadOnly (FUN) ¶ FUNCTION OpcUaStringAttachReadOnly : UDINT InOut: Scope Name Type Return OpcUaStringAttachReadOnly UDINT Input pDst POINTER TO OpcUa_String pSrc POINTER TO SINT
OpcUaStringAttachToString (FUN) ¶ FUNCTION OpcUaStringAttachToString : UDINT InOut: Scope Name Type Return OpcUaStringAttachToString UDINT Input strSource POINTER TO BYTE uLength UDINT uBufferSize UDINT bDoCopy BYTE bFreeOnClear BYTE pString POINTER TO OpcUa_String
OpcUaStringClear (FUN) ¶ FUNCTION OpcUaStringClear InOut: Scope Name Type Input pString POINTER TO OpcUa_String
OpcUaStringGetRawString (FUN) ¶ FUNCTION OpcUaStringGetRawString : POINTER TO SINT InOut: Scope Name Type Return OpcUaStringGetRawString POINTER TO SINT Input pString POINTER TO OpcUa_String