isReduDp()
The function isReduDp() checks if the specified datapoint is redundant.
Synopsis
bool isReduDp(string dp);
Parameters
| Parameter | Description |
|---|---|
| dp | The datapoint. The function checks if this datapoint is redundant. |
Return value
Bool. TRUE (1) if the specified datapoint is redundant. FALSE (0) if the specified datapoint is not redundant.
Error
Description
The function checks if the specified datapoint is redundant. See also
hosts.ctl file in <wincc_oa_path>/scripts/libs/.
Example
The example checks if the specified datapoint "_Stat_2_event_0_to_driver_2" is redundant.
main()
{
string dp = "_Stat_2_event_0_to_driver_2";
bool retVal;
retVal = isReduDp(dp);
DebugN("The return value is:", retVal, "the value = 1 when the
datapoint is redundant");
}
Assignment
Datapoint function
Availability
CTRL
