Decimate Traces VI
- Updated2023-02-21
- 3 minute(s) read
Decimate Traces VI
Owning Palette: Historical VIs
Requires: DSC Module
Decimates, or resamples, historical trace data over the time interval specified from start timestamp to stop timestamp.
The decimated traces output is a 2D array of instantaneous values starting at first timestamp and ending at last timestamp. Each column in the 2D array contains one decimated trace.
![]() |
sample interval determines the time interval for each historical trace. If you do not wire this parameter, the data is sampled at 1 second intervals. | ||||
![]() |
check start/stop time? determines whether the requested start and stop times are checked against data available in the historical traces. If check start/stop time? is TRUE, this VI checks the start and stop timestamps against the first and last timestamps in each historical trace. The first/last timestamp in the trace is used instead of any requested start/stop time out of the range of the trace. To override this and use the input values regardless of the data points in the trace, set this parameter to FALSE. | ||||
![]() |
historical traces are the historical traces to be decimated.
| ||||
![]() |
start timestamp is the start date and time of data you want to retrieve from the historical traces input. If you do not wire this input, this VI uses the timestamp of the first data point from the historical traces input. | ||||
![]() |
stop timestamp is the end date and time of data you want to retrieve from the historical traces input. If you do not wire this input, this VI uses the timestamp of the last data point from the historical traces input. | ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
decimated traces is a list of historical trace values starting at the first timestamp. Each trace value is sample interval seconds apart. | ||||
![]() |
first timestamp is the date and time associated with the first data point retrieved from the historical database. | ||||
![]() |
last timestamp specifies the date and time associated with the last data point retrieved from the historical database. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |