LabVIEW Advanced Signal Processing Toolkit API Reference

Random Sequence Generation Express VI

  • Updated2023-02-21
  • 2 minute(s) read

Owning Palette: Utilities VIs

Requires: Advanced Signal Processing Toolkit

Generates a random univariate time series from the normal, uniform, chi-square, t, or F distribution. This Express VI also can generate a random multivariate time series from the vector normal distribution. You can plot the histogram of the generated time series in the configuration dialog box.

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
ConfigurationContains the following options:
  • Noise type—Specifies the type of probability density function distribution of the noise. Contains the following options:
    • Normal Distribution (default)
    • Uniform Distribution
    • Chi-Square Distribution
    • T Distribution
    • F Distribution
  • Samples—Specifies the number of random sequence samples to generate.
Parameters SettingsContains the following options:
  • Mean—Specifies the mean value of the normal distribution. The default is 0. Available only when you select Normal Distribution from the Noise type list.
  • Standard deviation—Specifies the standard deviation value of the normal distribution. The default is 1. Available only when you select Normal Distribution from the Noise type list.
  • Seed—Specifies the seed of the noise sample generator. Seeds with different values greater than 0 generate different noise sequences. Values less than 0 cause reseeding each time this VI runs. The default is –1. Available only when you select Normal Distribution or Uniform Distribution from the Noise type list.
  • Upper endpoint—Specifies the maximum value for the uniform distribution. Available only when you select Uniform Distribution from the Noise type list.
  • Lower endpoint—Specifies the minimum value for the uniform distribution. Available only when you select Uniform Distribution from the Noise type list.
  • Degrees of freedom—Specifies the degrees of freedom (DOF) this VI uses to define the chi-square or t distribution. Available only when you select Chi-Square Distribution or T Distribution from the Noise type list.
  • Numerator DOF—Specifies the degrees of freedom (DOF) of the numerator to define the F distribution. Available only when you select F Distribution from the Noise type list.
  • Denominator DOF—Specifies degrees of freedom (DOF) of the denominator to define the F distribution. Available only when you select F Distribution from the Noise type list.
Random Sequence and HistogramContains the following options:
  • Random sequence—Displays the generated random sequence.
  • Histogram—Displays the histogram of the generated random sequence.

Block Diagram Inputs

ParameterDescription
error in (no error)Describes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
error outContains error information. This output provides standard error out functionality.
XtReturns the generated random sequence.

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

TSA Normal Distribution Test
TSA Random Sequence Generation

Log in to get a better experience