3.3.6.4 GetServerTagPrefix
Function
To be able to access tags of the respective server from a WinCC client in a distributed system,
the tag names must be supplemented with the server prefix.
If the tags are accessed by means of the functions GetTagxx or SetTagxx, the required addition
is made by the script control.
If WinCC API functions are used for accessing, the tag names have to be supplemented by
the user. The GetServer TagPrefix function provides the required prefixes.
One pointer each of the "char" type to ServerPrefix, TagPrefix and WindowPrefix is returned.
The user must neither change the memory (also no strcat) nor release it.
Syntax
void GetServerTagPrefix(char** ppszServerPrefix, char** ppszTagPrefix, char**
ppszWindowPrefix);
Parameters
ppszServerPrefix
Pointer to a pointer referring to the server prefix
ppszTagPrefix
Pointer to a pointer referring to the tag prefix
ppszWindowPrefix
Pointer to a pointer referring to the window prefix
See also
GetServerTagPrefix example (Page 1491)
GetServerTagPrefix example (Page 1492)
3.3.6.5 TraceText
Function
The value defined in <Parameter> is recorded in APDiag if the specified diagnostic level has
been reached.
ANSI-C function descriptions
3.3 Internal functions
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 11/2008,
1469