dpGetAllConfigs()

Returns all possible configs, which are allowed to configure to a data point element "dpe" resp. to a data type "dpeType(bit, bitarray, structure, ...).

Synopsis

dyn_string dpGetAllConfigs(string dpe); dyn_string dpGetAllConfigs(int dpeType)

Parameters

Parameter Meaning
dpe Data point element returning the possible configs
dpType Integer number of the data type of the element (see Reference Tables)

Return values

In the event of an error an empty string, otherwise a text array.

Errors

Errors can be retrieved with getLastError(). This includes missing parameters, non existent data points or incorrect constants.

Description

Returns all possible configs, which are allowed to configure to a data point element "dpe" resp. to a data type "dpeType(bit, bitarray, structure, ...).

Example

main()
{
  dyn_string all;
  all = dpGetAllConfigs("ExampleDP_Arg1.:");
  //returns all possible configs of the data point element
  DebugN(all);
}
main()
{
  dyn_string all;
  all = dpGetAllConfigs(23);
  // returns all possible configs of elements of the data type
  bool
  DebugN(all);
}

Assignment

Data point function

Availability

UI, CTRL