hook_<libraryPrefix>_getInvalidElement()

This function determines the data point element that indicates whether a data point is invalid.

Synopsis

string hook_ <libraryPrefix>_ getInvalidElement( string dp);

Parameters

Parameters

Parameter Description
dp Data point (data point element) that indicates whether the data point is invalid.

Default

string hook_stdlib_getInvalidElement(string dp)
{
  if (dpTypeName(dp)=="STDLIB_regler")
  return "STA.ist";
  else
  return "state.val";
}

Instead of "STDLIB_regler", enter the name of the data point type. The data point element is returned. It indicates whether the data point is invalid.

Return Value

Data point element name.