class="resources" Statistics (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Statistics (Not in Base Package)

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

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

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 corresponds to the fourth-order moment about the mean.
  • Skewness—Calculates the skewness of the values in Signals. Skewness is a measure of symmetry and corresponds to the third-order moment about the mean.
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 have not wired the Express VI and run it to obtain real data, Input Signal displays sample data.
ResultsDisplays the measurement you configured this Express VI to perform and the calculated value of that measurement. 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 in (no error)Describes error conditions that occur before this VI or function 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. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
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 uses the functionality of the following VIs and functions:

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

Examples

Refer to the following VIs for examples of using the Statistics VI:

  • Statistics VI: labview\examples\express

     

  • Cursor VI: labview\examples\express

     


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit