"dpTypeName"

Specifies which data point type should be shown in a DPTypeView.

Synopsis

setValue(string shape, "dpTypeName", string dpType);

getValue(string shape, "dpTypeName",string &dpType);

shape.dpTypeName(string dpType);

Parameter

Parameter Description
shape Object name
dpType The data point type that should be shown, for example, "LABOR_ANALOG";

Description

Specifies which data point type should be shown in a DPTypeView.

Example

In the following example the data point type "LABOR_ANALOG" is shown in the DPTypeView

main()
{
  this.dpTypeName("LABOR_ANALOG");
  string retVaL;
  getValue("","dpTypeName",retVaL);
  DebugN("The data point type:",retVaL);
}
Figure 1. Data point type "LABOR_ANALOG"; in theDPTypeView

Assignment

DpTypeView