Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
samplestream:lcq_addquery [2024/04/24 02:42] optrix |
samplestream:lcq_addquery [2024/04/24 02:56] (current) optrix |
||
---|---|---|---|
Line 19: | Line 19: | ||
===Usage=== | ===Usage=== | ||
- | You normally add a single query for each different level of lag in your system. | + | You normally add a single query for each different |
- | For example, **Machine A** is 100m away, so you query all of the points for that machine in a query with //lag// set to 100. | + | This normally translates into having a distinct |
- | **Machine | + | For example, |
- | **Machine C** is at the end of the line - you don't add a lag at all. | + | **Machine C** is 50m away, so we create |
- | Since you usually [[building backwards|build these queries backwards]], | + | **Machine A** and **Machine B** are 100m away, so you query all of the points for both of those machines in a single query, with //lag// set to 100. |
===Choosing a Lag=== | ===Choosing a Lag=== | ||
+ | |||
+ | Since you usually [[building backwards|build these queries backwards]], | ||
The lag you choose for each query should be the [[distance|distance]] between that asset and your | The lag you choose for each query should be the [[distance|distance]] between that asset and your | ||
[[end asset|end asset]]. | [[end asset|end asset]]. | ||