Syntax
short GetTagSWordStateQCWait(Tag Tag_Name, PDWORD lp_dwstate, PDWORD
pdwQualityCode);
Parameters
Tag_Name
Name of the tag.
lp_dwstate
Pointer to a DWORD in which the status of the tag is stored after the function has been
completed.
pdwQualityCode
Pointer to a DWORD in which the quality code of the tag is stored after the function is complete.
Return value
Value of the tag in the data type "short".
See also
Tag statuses (Page 1543)
GetTagSByteStateQCWait example (Page 1504)
Functionality of the GetTag functions (Page 1355)
GetTagValueStateQCWait
Function
Enables the transfer of a value in the form of a variant. Establishes the pointer to the result
structure
containing the value. The value is read explicitly from the AS. In addition, the status
and the quality code of the tags are returned.
Syntax
BOOL GetTagValueStateQCWait(LPDM_VARKEY lpdmVarKey,
LPDM_VAR_UPDATE_STRUCTEX lpdmresult, LPCMN_ERROR lpdmError);
ANSI-C function descriptions
3.3 Internal functions
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 11/2008,
1387