cns_createViewDp

Creates a internal datapoint for the given view.

Synopsis

string cns_createViewDp(string sViewName);

Parameters

Parameter Description
sViewName ID path of the view. The datapoint is created for this view.

Return value

Returns the name of the new datapoint. In case that the datapoint does already exist an empty string is returned.

Errors

-

Description

This function creates a new internal datapoint for the given view. It is checked if there is already a datapoint created for the given view.

main()
{
  cns_createViewDp("System1.MyView:");
}

Availability

UI, CTRL