Example
Last updated
Last updated
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.
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.
Select the Agent and click Configure. Keep the default Collection.
Enter the input data's sample frequency and apply the changes. In this case, the data has a 100Hz sampling rate.
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.
Click Publish.
Let's look at the Live Data View. The transformed data is printed.
Data Stream
C0mp|ex123
Sample waveform data