getConfirmDps()

Returns an array with the data points of a panel to be acknowledged.

Synopsis

int getConfirmDps(string panelName, dyn_string &list,[dyn_string dollars, dyn_string values]);

Parameters

Parameter Description
panelName Name of the panel
list List with the data points to be acknowledged
dollars List with $parameters of a panel, e.g. $1, $2
values List with values of the $parameters, e.g. "Arg1", "Arg2"

Return value

After the function has been successfully executed, list contains the data points of the specified panel to be acknowledged. They are determined from the acknowledgement actions of the objects. If $parameter exist in a panel, these parameters are replaced by the values "values" and afterwards written to the data point list.

0 means OK

-1 means that an error has occurred. For example, if panel does not exist.

Description

Functions that are only used internally, are returned by an array with the data points of a panel to be acknowledged. In context with panel topology, the use of $parameter has been necessary and the parameters dollars and values were introduced.

Objects inserted at runtime are not taken into consideration by the function.

Example

main()
{
  string s;
  dyn_string ds2;
  dyn_string s2;
  int z;
  panelSelector(s);
  if(s!="")
  {
    getConfirmDps(s,ds2);
    s2[1] = s; //to enter the string into the table
    setValue("longlist1","appendLine",dynlen(s2),
    "Panelname",s2[1],"data point1",ds2[1],
    "data point2",ds2[2]);
  }
}

Assignment

Management of managers ...

Availability

UI

See also

Panel topology