Example

This example Data Stream demonstrates how to use the FFT Function to transform a signal from time domain to frequency domain to determine what component frequencies are present in the signal.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the FFT Function onto the canvas, link the input endpoint to the vibration data, the output to the printer, and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. Keep the default Collection.

Step 3: Configure Settings

Enter the input data's sample frequency and apply the changes. In this case, the data has a 100Hz sampling rate.

Step 4: Input Mapping

Select the FFT Function's input arrow and click Configure.

Map one of the parent Agent's output attributes to either the real or imaginary input. In this case, set the Real (Double) input to 'Value (Double)'. Click Apply, then Save.

Step 5: Results

Click Publish.

Let's look at the Live Data View. The transformed data is printed.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream

Last updated