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.


icon

Inputs/Outputs

  • cdbl.png sample interval

    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.

  • cbool.png check start/stop time? (T)

    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.

  • c1dcclst.png historical traces

    historical traces are the historical traces to be decimated.

  • c1datrn.png timestamps

    timestamps is the date and time for the data points in the data array.

  • c1ddbl.png data

    data is the data logged for the shared variable at the corresponding timestamp. This input can be a numeric or bit array data type.

  • catrn.png start timestamp

    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.

  • catrn.png stop timestamp

    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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i2ddbl.png decimated traces

    decimated traces is a list of historical trace values starting at the first timestamp. Each trace value is sample interval seconds apart.

  • iatrn.png first timestamp

    first timestamp is the date and time associated with the first data point retrieved from the historical database.

  • iatrn.png last timestamp

    last timestamp specifies the date and time associated with the last data point retrieved from the historical database.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.