dpAliasToName()
Returns the data point element for the given alias.
Synopsis
string dpAliasToName(string alias);
Parameters
| Parameter | Description | 
|---|---|
| alias | Alias | 
Return Value
Data point of the alias or empty string
Errors
The function getLastError() returns the code of any errors that have occurred. A message is issued in the event of missing arguments.
Description
The function dpAliasToName() returns the data point element for the given alias, an empty string is returned in the event of errors.
                 Example
                Example
            
main()
{
  string s;
  s=dpAliasToName("P12Bef_E"); // Returns a data point
  DebugN(s)
}Assignment
Data point function
Availability
CTRL
