GetTextWNonBlocking (FUN)¶
FUNCTION GetTextWNonBlocking : ReturnValues
This function returns the language specific text of a textlist as WSTRING. To retrieve real unicode strings the parameter “Use Unicode strings” must be activated in the visualization manager. This function does not block and returns the error ReturnValues.ERR_LOCKED if access to the text was not possible at the current time. To obtain the text, the function must be called until ReturnValues.ERR_OK is returned.
- InOut:
Scope
Name
Type
Comment
Return
GetTextWNonBlockingPossible last error values:
see ReturnValues (ENUM) where possible error reasons are described.
Inout Const
sTextListSTRINGThe textlist name
sTextIndexSTRINGThe textlist id
Input
pwsTextPOINTER TO WSTRING
The buffer where the result text should be returned
diSizeDINTThe size of the parameter psText in byte (SIZEOF() can be used)
Output
bDefaultTextBOOLIndicates if the default text is used