mpHasDpeConfig()

Checks whether the given datapoint possesses a specific config or not.

Synopsis

bool mpHasDpeConfig(string dpe, string config);

Parameters

Parameter Description
dpe Whether this datapoint 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 datapoint 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

Datapoint functions.

Availability

CTRL