Sample Compression Express VI

Owning Palette: Signal Manipulation Express VIs

Requires: Base Development System

Acquires a large number of data points and compresses the data points into a smaller number of points.

Example

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

Dialog Box Options

ParameterDescription
Reduction SpecificationsContains the following option:
  • Reduction factor—Number of points in the Signals input to reduce to one point in the resulting signal. The default is 10.
Reduction MethodsContains the following options:
  • Minimum—Reduces the Signals input by using the lowest value in each segment.
    • Minimum Plot Color—Color of the Minimum plot. This option is available only when you place a checkmark in the Minimum checkbox.
  • Maximum—Reduces the Signals input by using the highest value in each segment.
    • Maximum Plot Color—Color of the Maximum plot. This option is available only when you place a checkmark in the Maximum checkbox.
  • Last—Reduces the Signals input by using the last point in each segment.
    • Last Plot Color—Color of the Last plot. This option is available only when you place a checkmark in the Last checkbox.
  • Mean—Reduces the Signals input by using the mean value of the points in each segment.
    • Mean Plot Color—Color of the Mean plot. This option is available only when you place a checkmark in the Mean checkbox.
  • Median—Reduces the Signals input by using the median value of the points in each segment.
    • Median Plot Color—Color of the Median plot. This option is available only when you place a checkmark in the Median checkbox.
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.
Result PreviewDisplays a preview of the measurement. The Result Preview plot indicates the value of the selected measurement with a dotted line. If you wire data to the Express VI and run the VI, Result Preview displays real data. If you close and reopen the Express VI, Result Preview displays sample data until you run the VI again. If the cutoff frequency values are invalid, Result Preview does not display valid data.

Block Diagram Inputs

ParameterDescription
SignalsContains the input signal or signals.
EnableEnables or disables the Express VI. The default is ON or TRUE.
ResetControls the initialization of the internal state of the VI. The default is FALSE.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
MaximumReturns the highest value in each bin as the resulting signal output.
MeanReturns the mean value of the points in each bin as the resulting signal output.
MedianReturns the median value of the points in each bin as the resulting signal output.
Data ValidIndicates whether the data is valid.
LastReturns the last point in each bin as the resulting signal output.
MinimumReturns the lowest value in each bin as the resulting signal output.
error outContains error information. This output provides standard error out functionality.

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

Decimate 1D Array

Example

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

 Open example  Find related examples