cns_viewNameToDpName

Returns the name of the internal datapoint linked to the given view.

Synopsis

string cns_viewNameToDpName(string sViewName, bool bCreateNonExistingViewDp = true);

Parameters

Parameter Description
sViewName ID path of the view
bCreateNonExistingViewDp Defines if a datapoint shall be created in case that no data point is linked to the view.

Return value

Returns the name of the datapoint linked to the given view.

Errors

-

Description

This function returns the name of the internal datapoint linked to the given view. In case that no datapoint is linked to the view it is possible to define that a new datapoint is created.

main()
{
  cns_viewNameToDpName("System1.myView:");
}

Availability

UI, CTRL