"showDatatypes"

Specifies whether the datatypes (of the elements) of a data point type are shown in a DPTypeView.

Synopsis

setValue(string shape, "showDatatypes", bool mode);

getValue(string shape, "showDatatypes",bool&mode);

shape.showDatatypes(bool mode);

Parameter

Parameter Description
shape Object name
mode

TRUE =datatypes of the elements of a data point type are shown in a DPTypeView

FALSE = datatypes of the elements of a data point type are not shown in a DPTypeView

Description

Specifies whether the datatypes of the elements of a data point type are shown in a DPTypeView.

Example

In the following example the datatypes of the elements of the data point type "LABOR_ANALOG" are shown in a DPTypeView

main()
{
  this.dpTypeName("LABOR_ANALOG");
  this.showDatatypes(TRUE);
  string retVaL;
  getValue("","dpTypeName",retVaL);
  DebugN("The data point type:",retVaL);
}
Abbildung 1. Data types (of the elements) of the data point type "LABOR_ANALOG" are shown

Assignment

DpTypeView