Sample Compression

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


icon

Dialog Box Options

Option Description
Reduction Specifications Contains 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 Methods Contains 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.

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

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

Input Signal

Displays 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 Preview

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

Inputs/Outputs

  • cerrcodeclst.png error in (no error)

    Describes error conditions that occur before this node runs.

  • cbool.png Reset

    Controls the initialization of the internal state of the VI. The default is FALSE.

  • cbool.png Enable

    Enables or disables the Express VI. The default is ON or TRUE.

  • cexpdynwdt.png Signals

    Contains the input signal or signals.

  • ibool.png Data Valid

    Indicates whether the data is valid.

  • iexpdynwdt.png Median

    Returns the median value of the points in each bin as the resulting signal output.

  • iexpdynwdt.png Minimum

    Returns the lowest value in each bin as the resulting signal output.

  • iexpdynwdt.png Last

    Returns the last point in each bin as the resulting signal output.

  • iexpdynwdt.png Mean

    Returns the mean value of the points in each bin as the resulting signal output.

  • iexpdynwdt.png Maximum

    Returns the highest value in each bin as the resulting signal output.

  • ierrcodeclst.png error out

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

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Express VIs\Express VI - Sample Compression.vi