Solved!

low pass filter behaviour when dequeued

Afternoon,

Undertaking a big upgrade of our Dyno VIs to include details about signal quality and better noise filtering.

I've got a producer/consumer set up to try and keep the data acquisition loop nice and fast/uncluttered but I'm not sure if i am misunderstanding the use or timing of queues or if something really obvious i'm missing.

 

I've made and example vi of of the problem, and a vi of what i would expect the low-pass filter to to do in a single loop. You can clearly see the effect on the filtered signal (red dotted). Changing the dequeue timeout makes the filter work as expected but stops the power spectrum working. 

 

Simulate signal directly replacing the hardware (nothing else changed with queue etc)

 

Hopefully something obvious i'm missing with the use of queues,so any help would be greatly received.

 

Kind regards

 

Martin

0 Kudos
(839 Views)