POINTS
Parameters
Order | Name | Type | Desc |
---|---|---|---|
1 | assets | asset list | A list of assets |
2 | properties | property list | A list of properties |
Returns
Places a list of points onto the stack.
Description
Returns a list of points given both a list of assets and a list of properties.
The properties returned from this function will not contain live values or history - these are usually loaded when needed by later functions, or when the values are returned. This avoids needless data loading, as requesting live data can be expensive for large numbers of points.
Note that only valid points are returned - if you ask for a property on an asset that doesn't contain that property, nothing will be returned.
All assets in each list will be compared to one-another. So you will have points for any asset in the asset list that has any property in the property list.
Macros
You can also access this function through the VALUES macro.
Example
A('TE101') P('Temperature') POINTS
This function will return a point for Temperature on asset TE101, if such a point exists.