dpAliases()

Returns all aliases with fitting pattern of filter and (optional) suitable filter dpeFilter of the data point elements.

Synopsis

dyn_string dpAliases ( string filter [, string dpeFilter]);

Parameters

Parameter Description
filter pattern string for filtering the aliases (for example," Temp*", "*")
dpeFilter pattern string for filtering data point elements

Return Value

Aliases suitable to the filters or an empty string

Errors

The function getLastError() returns the code of errors. Missing arguments leads to a message.

Description

The function dpAliases() return a list of aliases according the filter options. With no suitable aliases the function returns an empty string.

Example

main()
{
  DebugN(dpAliases("*", "*"));
  // debug all existing aliases
}

Assignment

Data point function

Availability

CTRL