dpSetDynErrorCheck()

Setting several data points.

Synopsis

void dpSetDynErrorCheck(dyn_string dps, dyn_anytype values, bool errWin, int x, int y)

Parameters

Parameter Meaning
dps full data point names, for example, DP.EL1:_original.._value
values Values to be set
errWin true: Display child panel with an error message
x, y Position of the child panel; if x or y is -1, the child panel is displayed centered.

Return Value

None

Errors

In the event of an error no list of error classes is set!

Description

dpSetDynErrorCheck() allows a data point to be set. The function waits for an answer (makes a dpSetWait() internally). If an error has occurred, a child panel can therefore be displayed with an error message as a warning. The function is intended for use within panels.

If there exists no definition for a config or attribute, the following defaults are used and added internal:

Function Default
dpSet*() _original.._value
dpGet() _online.._value
dpGetAsynch() _offline.._value
dpGetPeriod() _offline.._value
dpConnect() _online.._value
dpDisconnect() _online.._value

Example

see dpSetErrorCheck()

Assignment

Data point function

Availability

CTRL (libCTRL.ctl)