Statistics Express VI

Owning Palette: Signal Analysis Express VIs

Requires: Full Development System

Returns the selected parameter of the first signal in a waveform.

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Add to the block diagram  Find on the palette

Dialog Box Options

ParameterDescription
Statistical CalculationsContains the following options:
  • Arithmetic mean—Calculates the mean, or average, of the values in Signals.
  • Median—Finds the median value in Signals. The Express VI sorts the values in Signals and selects the middle element of the sorted values.
  • Mode—Finds the value that occurs most often in the values in Signals.
  • Sum of values—Calculates the value of the sum of all the values in Signals.
  • Root mean square (RMS)—Calculates the RMS of the values in Signals.
  • Standard deviation—Calculates the standard deviation of the values in Signals.
  • Variance—Calculates the calculated variance of the values in Signals.
  • Kurtosis—Calculates the kurtosis of the values in Signals. Kurtosis is a measure of peakedness and is a normalized form of the fourth-order moment about the mean. Kurtosis is indicated by the following formula:

    Kurtosis = Fourth Moment/4
  • Skewness—Calculates the skewness of the values in Signals. Skewness is a measure of symmetry and is a normalized form of the third-order moment about the mean. Skewness is indicated by the following formula:

    Skewness = Third Moment/3
Extreme ValuesContains the following options:
  • Maximum—Finds the highest point in a set of values in Signals.
  • Time of maximum—Finds the time of the highest point in a set of values in Signals.
  • Index of maximum—Finds the index value of the highest point in a set of values in Signals.
  • Minimum—Finds the lowest point in a set of values in Signals.
  • Time of minimum—Finds the time of the lowest point in a set of values in Signals.
  • Index of minimum—Finds the index value of the lowest point in a set of values in Signals.
  • Range (maximum - minimum)—Finds the value of the range from the lowest point to the highest point in a set of values in Signals.
  • First time—Finds the first time value in a set of values in Signals.
  • First value—Finds the first value in a set of values in Signals.
  • Last time—Finds the last time value in a set of values in Signals.
  • Last value—Finds the last value in a set of values in Signals.
Sampling CharacteristicsContains the following options:
  • Total number of samples—Bases the calculation on the total number of samples in Signals.
  • Time between samples (dt)—Bases the calculation on the time between samples in Signals.
Input SignalDisplays the input signal. If you wire data to the Express VI and run it, Input Signal displays real data. If you close and reopen the Express VI, Input Signal displays sample data until you run the Express VI again.
ResultsDisplays the measurements you configured this Express VI to perform and the calculated values of those measurements. You can click any measurement listed in the Measurement column, and the corresponding value or plot appears in the Result Preview graph.

Block Diagram Inputs

ParameterDescription
SignalsContains the input signal or signals.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
SummationReturns the value of the sum of all the values in Signals.
KurtosisReturns the kurtosis of the values in Signals. Kurtosis is a measure of peakedness and corresponds to the fourth-order moment about the mean.
SkewnessReturns the skewness of the values in Signals. Skewness is a measure of symmetry and corresponds to the third-order moment about the mean.
Total SamplesReturns the total number of samples in Signals.
Index of MaxReturns the index value of the highest point of the values in Signals.
ModeReturns the value that occurs most often in the set values in Signals.
VarianceReturns the calculated variance of the values in Signals.
RMSReturns the calculated RMS of the values in Signals.
Time DeltaReturns the time between samples in Signals.
Last ValueReturns the last value in Signals.
First ValueReturns the first value in Signals.
First TimeReturns the first time value in Signals.
RangeReturns the value of the range from the lowest point to the highest point in a set of values in Signals.
Time of MinimumReturns the time of the lowest point of the values in Signals.
MinimumReturns the lowest point in a set of values in Signals.
Time of MaximumReturns the time of the highest point of the values in Signals.
MaximumReturns the highest point in a set of values in Signals.
error outContains error information. This output provides standard error out functionality.
Last TimeReturns the last time value in Signals.
Arithmetic MeanReturns the mean, or average, of the values in Signals.
Standard DevReturns the standard deviation of the values in Signals.
MedianReturns the median value in Signals. The Express VI sorts the values in Signals and selecting the middle element of the sorted values.
Index of MinReturns the index value of the lowest point of the values in Signals.

This Express VI operates similarly to the following VIs and functions:

Get Waveform Components (Analog Waveform)
Get Final Time Value
Number of Waveform Samples
Waveform Duration
Waveform Min Max
Waveform Peak Detection
And Array Elements

Example

Refer to the Express VI - Statistics VI in the labview\examples\Express VIs directory for an example of using the Statistics Express VI.

 Open example  Find related examples