CL Smooth Signal Generator (Scalar) End of trail navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Source VIs and Functions >CL Smooth Signal Generator >

CL Smooth Signal Generator (Vector)

CL Smooth Signal Generator (Vector)

Parent Polymorphic VI:CL Smooth Signal Generator

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module


Description

Outputs a waveform whose amplitude and frequency may be changed without causing a discontinuity in the output and may be driven by inputs to the vi.


Optional Inputs or Dialog Box Options Optional inputs need not to be wired. They may appear as terminals or dialog parameters, but show up as dialog parameters by default. They are indicated but not labelled in the context help window for the VI.
signal mode

signal mode is the type of waveform to generate. Sine, square, sawtooth up, sawtooth down and triangle waveforms are supported.


Outputs

output

output is the waveform with the given amplitude and frequency in Hz and no discontinuities when these parameters are changed online.

error out error out contains error information. If the error in cluster indicated an error, the error out cluster contains the same information. Otherwise, error out describes the error status of this VI.
status icon status is TRUE if an error occurred. If status is TRUE, the VI does not perform any operations.
code icon code is the error code number identifying an error. A value of 0 means no error, a negative value means a fatal error, and a positive value is a warning. Refer to the Quanser Error Codes for a code description.
source icon source identifies where an error occurred. The source string is usually the name of the VI that produced the error.


Details

The CL Smooth Signal Generator VI outputs a waveform whose amplitude and frequency may be tuned online without causing a discontinuity in the output. For example, if the amplitude is changed while the block diagram is running, this VI ensures that the amplitude of the signal will not actually change until the signal crosses zero so that a smooth transition is made from the old amplitude to the new amplitude, without discontinuities. Discontinuities in a command signal, for instance, can cause unnecessary vibrations and other issues that the CL Smooth Signal Generator vi helps to avoid. Sine, square, sawtooth up, sawtooth down and triangle waves are supported.


Feedthrough Behaviour

All input/output pairs of this function have direct feedthrough behaviour.


Examples

  • RCP CL Smooth Signal Generator Example


    See Also

  • CL Continuous Sigmoid Generates a sigmoid trajectory from the current position (and velocity) to the target position.

    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar