hook_<libraryPrefix>_getInvalidElement()

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

Synopsis

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

Parameters

Parameters

Parameter Description
dp Datapoint (datapoint 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 datapoint type. The datapoint element is returned. It indicates whether the datapoint is invalid.

Return Value

Datapoint element name.