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.
FALSE
An error has occurred.
See also
SetTagSByte example (Page 1527)
Principle of the SetTag functions (Page 1417)
SetTagValueWait
Function
Enables the transfer of a value in the form of a variant and sets the pointer to the value of the
data type "Variant". The function is ended after the AS has acknowledged acceptance of the
value.
Syntax
BOOL SetTagValueWait(LPDM_VARKEY lpdmVarKey, LPVARIANT lpdmValue, PDWORD
dwState, LPCMN_ERROR lpdmError);
Parameters
lpdmVarKey
Pointer to a structure of the data type "DM_VARKEY"
lpdmValue
Pointer to the value of data type "Variant". A description of the data type VARIANT can be
found in the associated documentation.
dwState
Tag status which is returned after the function has been run.
ANSI-C function descriptions
3.3 Internal functions
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 11/2008,
1451