mpHasDpeConfig()
Checks whether the given data point possesses a specific config or not.
Synopsis
bool mpHasDpeConfig(string dpe, string config);
Parameters
Parameter | Description |
---|---|
dpe | Whether this data point possesses the given config. |
config | The config. |
Return value
Returns TRUE if the specific config exists and FALSE if it does not exist.
Error
Description
Checks whether the given data point possesses a specific config or not.
Example
The following example returns TRUE if the config "alert_hdl" exists for the data point "ExampleDP_Arg1".
main()
{
bool m = mpHasDpeConfig("ExampleDP_Arg1","_alert_hdl");
DebugN("ExampleDP_Arg1 posesses the config alert_hdl", m);
}
Assignment
Data point functions.
Availability
CTRL