ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

specific range

Solved!
Go to solution

Hi,

 

I have acquired some data(Magnitude versus frequency), I want to just select the points which are in specific range(their frequency.....X-axis), for example I want to filter the signal only for the points which are between 20Hz and 30Hz. Does anybody know how can I do that?

I used "In range and coerce", but it gives the "lower limit" for the points which are not in the rang. I don't want it to pick that points.

I'd appreaciate it.

 

Thanks

Petar

0 Kudos
Message 1 of 5
(5,371 Views)
Solution
Accepted by Petar2015

Hello, 

 

I think you could try using a For Loop instead of the "In Range and Coerce" function. You just input your data into the For Loop, and using a conditional tunnel you can compare the data that you want. I attached a picture of a little example I created for you to see. 

 

 

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

Thanks so much, It was really helpful.

 

Petar

0 Kudos
Message 3 of 5
(5,342 Views)

You are welcome!

0 Kudos
Message 4 of 5
(5,339 Views)

2015-03-28_coerce.PNG

0 Kudos
Message 5 of 5
(5,315 Views)