This is an old revision of the document!
Get Query
This layer loads table from an AQL query.
Parameters
Name | Default | Meaning |
---|---|---|
query | An AQL query | |
samples | 1000 | The number of samples in the query |
Note
This layer may cause the query to split if you have more than one timeframe or table column.
Description
This function loads a table of information from an AQL query.
If the query doesn't include the GETHISTORY function, it will be automatically added with a time range matching the start and end time of the current frame.
Example
{ "type": "get_aql", "query": "'Machine' ASSET 'Speed' PROPERTY VALUES", "samples": 200 }
The layer above will read approx. 200 samples of machine speed data into a table.