OpcUaStackEncodeValue (FUN) ¶ FUNCTION OpcUaStackEncodeValue : OpcUa_StatusCode Encode a UA builtin type. InOut: Scope Name Type Comment Return OpcUaStackEncodeValue OpcUa_StatusCode Input encoder OpcUa_Handle Handle to the encoder to write to. pSrc POINTER TO BYTE Pointer to the source value. builtinType USINT Datatype of the source value ( OpcUaType_ …)
OpcUaStackFinishDecode (FUN) ¶ FUNCTION OpcUaStackFinishDecode : OpcUa_StatusCode Finish decoding values and close the decoder. InOut: Scope Name Type Comment Return OpcUaStackFinishDecode OpcUa_StatusCode Input decoder OpcUa_Handle Handle to the decoder. Output bytesRead OpcUa_UInt32 Number of bytes consumed from the buffer while decoding the data.
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