Return value
TRUE
The function itself has been completed without any errors.
However, no test is made as to whether the tag could be written without errors. To do this, the
tag status must be evaluated.
FALSE
An error has occurred.
See also
Tag statuses (Page 1543)
SetTagFloatStateWait example (Page 1524)
SetTagMultiStateWait
Function
Sets the values of several tags. The function is ended after the AS has acknowledged
acceptance of the value.
The function must transfer a DWORD array whose members contain the individual tag states
after
the function is invoked. The size of the array must be selected so that sufficient memory
space is available for these statuses.
Principle of the SetTag
functionsEXAMPLE_INTERNAL_FUNCTIONS_TAG_STATEWAIT_23_130
Syntax
BOOL SetTagMultiStateWait(DWORD* pdwState, const char* pFormat,...)
Parameters
pdwState
Field in which the tag statuses are stored.
pFormat
Format description for all requested tags and for each tag name and value.
FormatdescriberEXAMPLES_INTERNAL_FUNCTIONS_TAG_STATEWAIT_23_130
ANSI-C function descriptions
3.3 Internal functions
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
1424
System Manual, 11/2008,