I am doing something as simple as:
Code: Select all
float fHighHigh = 42.78;
float fHyst = 0.1;
dpSet(dp + ".Value:_alert_hdl.5._l_limit", fHighHigh,
dp + ".Value:_alert_hdl.5._hyst_type", DPATTR_HYST_VALUE,
dp + ".Value:_alert_hdl.5._l_hyst_limit", (fHighHigh * fHyst));
The documentation is also very confusing as the _alert_hdl section of the help file states that the type of _u_hyst_limit is a boolean whilst _u_hyst_limit is a var. I am guessing this is a typo?
PS. I have sent this via the official support channels... if anyone has a quick answer however, I would appreciate it as I am still waiting for support to resolve the last issue I sent.