cns_viewNameToDpName
Returns the name of the internal data point 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 data point shall be created in case that no data point is linked to the view. |
Return value
Returns the name of the data point linked to the given view.
Errors
-
Description
This function returns the name of the internal data point linked to the given view. In case that no data point is linked to the view it is possible to define that a new data point is created.
main()
{
cns_viewNameToDpName("System1.myView:");
}
Availability
UI, CTRL