isDpTypeStruct()

Checks if a data point type is a struct type.

Synopsis

boolisDpTypeStruct(anytypetype);

Parameters

Parameter Meaning
type The data point type. Either int DPE type or string data point.

Return value

The function returns TRUE if a data point type is a struct type.

Error

Description

Checks if a data point type is a struct type.

Example

The following example checks if the data point type of the data point "_mp_LABOR_ANALOG." is a struct type.

main()
{
  string t = "_mp_LABOR_ANALOG.";
  bool rV;
  rV=isDpTypeStruct(t);
  DebugN("Struct type?:",rV);
}

Assignment

Datapoint function

Availability

CTRL