
TlgGetRulerValueTrend
Function
Provides the value of the trend with the nTrend number in the trend window at the ruler position.
The window title of the corresponding WinCC Online Trend Control is passed with the
lpszTemplate parameter.
Syntax
double TlgGetRulerValueTrend(char* lpszTemplate, int nTrend)
Parameters
lpszTemplate
Pointer to the window title of the WinCC Online Trend Control
nTrend
Number of the trend
(0 <= nTrend <= Number of visible trends - 1)
Return value
Value of the trend with the nTrend number in the trend window at the ruler position
TlgGetRulerVariableNameTrend
Function
Provides the tag name of the trend with the nTrend number in the trend window.
The window title of the corresponding WinCC Online Trend Control is passed with the
lpszTemplate parameter.
Syntax
char* TlgGetRulerVariableNameTrend(char* lpszTemplate, int nTrend)
Parameters
lpszTemplate
Pointer to the window title of the WinCC Online Trend Control
ANSI-C function descriptions
3.2 Standard functions
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
916
System Manual, 11/2008,