Computes statistical data for a historical trace.


icon

Inputs/Outputs

  • ccclst.png historical trace

    historical trace is the historical trace passed into this VI.

  • 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.

  • idbl.png time on (ETM)

    time on is the amount of time for which data has a nonzero value in the trace. This value applies only to Boolean shared variables.

  • idbl.png quality

    quality is the ratio of time that the trace has had known values to the total time elapsed in the trace. This value applies only to Boolean shared variables.

  • idbl.png max value

    max value is the maximum value in the historical trace. This output ignores invalid points (value = NaN).

  • idbl.png min value

    min value is the minimum value in the historical trace. This output ignores invalid points (value = NaN).

  • idbl.png average

    average is the average for the values in the historical trace.

    This is a weighted average. Each point is weighted according to its time duration. average ignores time intervals with invalid points (value = NaN). The last point in the trace is not included in average because there is no known time interval associated with it.

  • idbl.png standard deviation

    standard deviation is the standard deviation for values in the historical trace. This is a weighted standard deviation. Each point is weighted according to its time duration. standard deviation ignores time intervals with invalid points (value = NaN). The last point in the trace is not included in the standard deviation because there is no known time interval associated with it.

  • ii32.png # stops

    # stops is the number of times the data value transitions from on to off in the trace. This value applies only to Boolean shared variables.

  • ii32.png # starts

    # starts is the number of times the data value transitions from off to on in the trace. This value applies only to Boolean shared variables.

  • Get Trace Statistics Details

    Statistics include max value, min value, average, and standard deviation. The statistics skip invalid input points where value = NaN. average and standard deviation are weighted according to the time duration of each valid input point. The last point in the historical trace is not included in average and standard deviation because the time interval associated with it is unknown.