Skip to main content
Question

What is the sampling mode for plot operation

  • May 18, 2026
  • 2 replies
  • 25 views

Forum|alt.badge.img+2

Does a plot operation use the same sampling mode as an index operation?

 

2 replies

Stijn Agten
Employee
Forum|alt.badge.img
  • Employee
  • May 19, 2026

Sampling rate:

Plot queries request 300 intervals for the full period (independent of the requested time frame), where index queries request a number of intervals based on the configured index resolution (e.g. a 1 minute index resolution means that intervals of 1 minute are requested).

Sampling mode:

By default we request a max of 4 points per interval: start, end, min and max. But depending on the capabilities of the historian or data source this can differ. For example for ODBC connections different aggregations can be configured on the connector level or the aggregations can be implemented as part of the plot and/or index queries.

 

Important note:

There is a difference between what is requested by TrendMiner and what is returned by the data source. Some data sources (typically connections via ODBC or custom connector implementations) may choose to ignore the requested intervals and return more or less points, or return data which is aggregated in a different way.


Forum|alt.badge.img+2
  • Author
  • Compass
  • May 19, 2026

So, the sampling method used is the same, but more intervals are requested from the datasource.

Thanks