11-06-2020 04:45 PM
Hello LabVIEW fans
I am trying to develop an FPGA vi that acquires 4 channels on a 9237 module.I would like outputs at 1kHz and 200Hz for different applications on the RT target.
I would like to have low delay so I chose the highest sampling frequency of 50 Khz and I downsample (with very simple averaging respectively on 50 and 250 points).
I wonder if you could comment on the code below
See also the attached vi.
11-08-2020 08:07 AM
What you mean with "I would like to have low delay"?
Even if you set data acquisition speed 1KHz, you'll send AO data "immideately" after you get a new point.
You need averaging only if AI data has jitting.
11-08-2020 01:51 PM
Hi Artem.SPb
By "low delay", I mean that I want to avoid the 20 ms delay inherent to module 9237 when you set sampling frequency to minimum, that is 1.6 kHz.
This is why I choose 50 kHz sampling frequency (0.8 ms delay) and I do averaging to downsample at 1 kHz. SO the obtained delay should be 0.8+1=1.8 ms.
11-08-2020 03:28 PM
I can't understand how did you get your time delays.
50 kHz => 0.02 ms, not 0.8
And if the sample rate is 1.6 kHz, then period = 0.625 ms.
How did you get 20ms?