Skip to main content
InSource Solutions

TN HistClient120 Using Historian Client Query to return a set of data with noisy points omitted

insource logo large.jpg



You may want to return a set of analog data with the “noisy” information removed allowing the query to filter out any information that does not SnapTo() a base number. 


  • Author: Michael Dudley
  • Published: 12/18/2015
  • Applies to: Historian Client Query




The syntax for this query filter is:

SnapTo([tolerance[,base_value_1[, base_value_2]…]])

Where [tolerance] is any double value with a default of 0.01 and [base_value] are up to 100 values separated by a comma with a default of 0.0

Example Query:

Snap 1.JPG


Example Output: