isReduDp()

The function isReduDp() checks if the specified data point is redundant.

Synopsis

bool isReduDp(string dp);

Parameters

Parameter Description
dp The data point. The function checks if this data point is redundant.

Return value

Bool. TRUE (1) if the specified data point is redundant. FALSE (0) if the specified data point is not redundant.

Error

Description

The function checks if the specified data point is redundant. See also hosts.ctl file in <wincc_oa_path>/scripts/libs/.

Example

The example checks if the specified data point "_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
  data point is redundant");
}

Assignment

Data point function

Availability

CTRL