InitializeBACnetString (FUN)ΒΆ
FUNCTION InitializeBACnetString : BOOL
Initializes a IEC_BACNET_STRING according to a given WSTRING. Only UTF-8 and ISO 8859-1 BACnet-String supported right now.
- InOut:
Scope
Name
Type
Comment
Return
InitializeBACnetString
BOOL
Input
strUTF16
WSTRING(255)
The utf16 WSTRING (standard format for CODESYS WSTRINGs in visus, etc.) to use for initialization.
strType
CmpBACnet.IEC_BACNET_STRING_TYPE
The string type to initialize the BACnet string with.
Inout
strBuffer
STRING(255)
A buffer used during initialization in the end being used for the initialized string data.
bacString
CmpBACnet.IEC_BACNET_STRING
The BACnet string to operate on.