I’m stuck trying to compile my DLO when using DDE_alerts_overflow().
I’m trying to add an alert to the Base Starter Demo App. I want to send an alarm if the humidity alerting threshold is reached. I added #alerts in my main.dde.
I’ cant figure out how to call
DDE_alerts_overflow( hipri, cid, field, fValue, fThreshold)
Currently I have
DDE_alerts_overflow( false, DDE_measurements_id, DDE_measurements_idx , iHumidity, iHumidity_Alert);
but that won’t compile.
I’m especially unsure about the parameters cid and field. How must they be passed to the function? Could you please provide an example, because the tutorial and the API docu are out of sync.