RCP CL Discrete Second Order Low Pass Filter Example RCP Inverse Modulus Example navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >Examples >Basic Features >

RCP CL Enabled Moving Average Example

This example demonstrates how to use the RCP CL Enabled Moving Average VI. For a detailed description of this VI and how it operates, please refer to the RCP CL Enabled Moving Average help page.

System Requirements

Please refer to the Rapid Control Prototyping (RCP) Toolkit System Requirements to run this example. This example does not require any other hardware.

Configuring the Example

There is no configuration required to run this VI on a Windows PC. Once the RCP CL Enabled Moving Average Example.lvproj is open, click the RCP CL Enabled Moving Average Example.vi under My Computer and you are ready to execute the example.

Running the Example

Click on the VI Run button or select Run from the Operator menu to start the VI.

The Input Signal scope shows the original sine wave signal with an amplitude of 1 and an offset of 2.

By default, the enable is set to True so that the Output is the moving average of the Input signal. Over time the moving average value will get closer to the offset of the input signal.

Click on the Front Panel Stop button to stop the VI.

 

navigation bar