- dpElementType()
Returns the data type.
- dpExists()
The function dpExists() checks the existence of a valid datapoint identifier.
- dpGet()
Reads values of datapoint attributes in variables.
- dpGetAlias()
New consistent name for the function dpNameToAlias. The function dpGetAlias() returns the alias for the specified datapoint element.
- dpGetAllAliases()
Returns all datapoints and their aliases. For the return of aliases you can also define filters in this function (see description of the parameters below). The function replaces getAllDpAliases() in versions > 2.11.1.
- dpGetAllAttributes()
Returns all attributes of the config "_config" (for example, of "_original")
- dpGetAllComments()
The function may not used any longer; replaced by dpGetAllDescriptions(). Returns in dpe all datapoint elements and in comments all comments with a suitable (optional) filter for comments. Further more optional: datapoint elements with fitting filter for datapoint elements
- dpGetAllConfigs()
Returns all possible configs, which are allowed to configure to a datapoint element "dpe" resp. to a data type "dpeType(bit, bitarray, structure, ...).
- dpGetAllDescriptions()
Returns via dps all datapoints and via descriptions all descriptions that correspond to the descriptionFilter. You can also specify a dpeFilter. This means that only the datapoints containing the specified datapoint element are returned provided that the description of the datapoint element corresponds to the descriptionFilter.
- dpGetAllDetails()
Returns all details of a config (for example, of "_lock").
- dpGetAsynch()
Reads values of datapoint attributes at a particular source time and writes them to variables.
- dpGetComment()
Returns the comment for the datapoint element(s).
- dpGetFormat()
This function returns the "format" of a datapoint.
- dpGetId()
Returns the datapoint ID and the element ID of the defined datapoint.
- dpGetPeriod()
The function queries DP attributes over a specified period of time.
- dpGetRefsToDpType()
The function returns all DPTs and DPs that contain the specified DPT as a reference.
- dpGetStatusBit()
Retrieves status bits.
- dpGetUnit()
This function returns the unit of a datapoint.
- dpIsLegalName()
Checks, whether the name of a datapoint contains incorrect characters.
- dpNameCheck()
This function should not be used anymore and was replaced by the function
nameCheck(). Checks, whether the name of a datapoint contains only the following characters: 0...9, A...Z, _, a...z.
- dpNames()
Returns all the datapoint names or datapoint element names that match a pattern. The datapoint structures are written to the array in alphabetical order.
- dpQuery()
Retrieves attribute values with the help of SQL statements.
- dpQueryConnectAll()
The function dpQueryConnectAll subscribes to attributes of configs from multiple Data Point Elements, which meet a certain query condition. When a subscribed attribute changes, a callback function (“work” function) is executed. The event manager will always send all subscribed elements, even if only one changes. Therefore update messages will always contain all subscribed elements.
- dpQueryConnectSingle()
The function dpQueryConnectSingle subscribes to attributes of configs from multiple Datapoint Elements, which meet a certain query condition. When a subscribed attribute changes, a callback function (“work” function) is executed. The Event Manager will send every single change separately, so update messages will normally contain only one element. If however several of the subscribed attributes are changed together within one message (i.e. in one dpSet() function call), then these will be all be forwarded in one message to the subscribing work function. Additionally, the execution of the work function can be delayed with the optional parameter blockingTime to accumulate more changes, increasing performance.
- dpQueryDisconnect()
Can be used to unregister work functions registered via dpQueryConnectAll() or dpQueryConnectSingle()