Differences
This shows you the differences between two versions of the page.
— |
samplestream:lcq_ratelagquery [2024/04/24 02:05] (current) optrix created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====AmountLagQuery==== | ||
+ | This is a function of the [[class_LagCorrectedQuery|LagCorrectedQuery]] class. | ||
+ | |||
+ | ===Description=== | ||
+ | |||
+ | This sets up the //source of lag// for the query. In this case, the query will usually return a single point, which is usually some form of **rate meter**. | ||
+ | |||
+ | ===Parameters=== | ||
+ | |||
+ | ^Parameter^Type^Meaning^ | ||
+ | |name|string|The name of the index in the final data-frame returned by [[lcq_Execute|Execute]]| | ||
+ | |query|string|An AQL query that returns a single analogue channel of data| | ||
+ | |||
+ | ===Returns=== | ||
+ | |||
+ | Nothing | ||
+ | |||
+ | ===Usage=== | ||
+ | |||
+ | The **name** normally describes what the point (returned from running the **query**) represents. | ||
+ | |||
+ | If the point is a // | ||
+ | |||
+ | If the point is a // | ||
+ | |||
+ | Note that rates should be in **seconds**. If your rate is in another time, you should set the **multiplier** property of the LagCorrectedQuery. | ||
+ | |||
+ | ^Time Basis^Multiplier^ | ||
+ | |seconds|1| | ||
+ | |minutes|0.016666| | ||
+ | |hours|0.00027| |