Example

Below is an example Data Stream that demonstrates how to use the Signal Filter Function to filter out frequencies from a signal that are below a defined threshold.

The sample data file contains a signal which has both a 10Hz and a 20Hz component. Applying a Low-Pass filter of 15Hz effectively removes the 20Hz component, allowing only the 10Hz component to pass through.

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

Step 1: Add the Agent

Drag the Signal Filter Function onto the canvas, link the input endpoint to the vibration data, the output endpoint 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 Attributes

Set signal to the input field that contains the signal value. In this case, set signal to Value.

Step 4: Configure Settings

Set the filter. In this case, keep the filter as Low Pass.

Enter the Sample Frequency. In this case, the provided sample data has a sampling frequency of 100Hz.

Enter 15 for the Cutoff Frequency (Low). All frequencies below this threshold will be passed through the filter.

Step 5: Results

Apply the changes and save the Data Stream.

Click Publish.

Let's look at the Live Data View. Only the 10Hz component of the original signal is printed.

Files

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

Last updated