dpGetAllConfigs()
Returns all possible configs, which are allowed to configure to a datapoint 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 | Datapoint 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 datapoints or incorrect constants.
Description
Returns all possible configs, which are allowed to configure to a datapoint 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 datapoint element
DebugN(all);
}
main()
{
dyn_string all;
all = dpGetAllConfigs(23);
// returns all possible configs of elements of the data type
bool
DebugN(all);
}
Assignment
Datapoint function
Availability
UI, CTRL
