Access Decimated Data from Citadel Trace

Updated Jul 9, 2018

Reported In

Software

  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I am logging data with the LabVIEW Datalogging and Supervisory Control (DSC) Module. I want to read a very large trace from my Citadel Database, but I don't want every data point in the trace. How can I decimate the data being read into LabVIEW?

Solution

The Read Trace and Read Traces VIs from the LabVIEW DSC Module have an options input that can be used to specify interpolation settings. By setting interpolate data to True and specifying the interpolation interval, you can either interpolate in between actual data points or decimate the trace data being read into LabVIEW. 
  • If the interpolation interval is smaller than the logging rate of the trace, Read Trace(s).vi will interpolate in between actual data points.
  • If the interpolation interval is larger than the logging rate of the trace, Read Trace(s).vi will decimate the trace data points. For example, if data was originally logged at 1 sample/second, you could use an interpolation interval of 10 seconds to read every 10th sample from the trace.

WAS THIS ARTICLE HELPFUL?

Not Helpful