LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Butterworth filter in myRIO 1900

I am reading force sensing resistor (FSR) and single axis load cell data using myRIO inside a timed loop running at 10,000 Hz. I wanted to filter these data to remove noise using Butterworth filter. I don't know how to use it. Please help me on the same.

0 Kudos
Message 1 of 5
(3,007 Views)

Hi srikesh,

 

I don't know how to use it

Apparently you know how to use them - they are already in your code…

 

So what is the real question/problem here?

Did you read the LabVIEW help for that filter function? Did you wire ALL inputs as needed?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,994 Views)

Apparently. I don't know about the other inputs that are required to be provided to the filter like sampling frequency, low cutoff, and order.

0 Kudos
Message 3 of 5
(2,990 Views)

Hi srikesh,

 

I don't know about the other inputs that are required to be provided to the filter like sampling frequency, low cutoff, and order.

You wrote you run those functions in a loop at 10kHz: this would be your sampling frequency. (Do you really run this at 10kHz?)

 

Cutoff frequency and filter order depends on your requirements: you should know them. In fact you should know your requirements before even starting to code! And you should know the basics on filter functions: I guess you have some books at hand or are able to use Wikipedia…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,986 Views)

Yes, I do run it at 10 KHz.

0 Kudos
Message 5 of 5
(2,976 Views)