DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Dasylab Experiment Sample rate -v- Block Size

I am using DasyLab 6.0, Windows XP and an Omega DAQP-12 analog PCMCIA card.  I am monitoring a noisy input and want to filter this noise out.  By using the frequency analizer, I found the noise is centered around 300 Hz.  I wanted to sample the input at 1000Hz and use the Average Module, set to average 250, to generate a 4 Hz filtered output to be used by the rest of the worksheet.  My problem is when I set the Experiment Sampling Rate to 1000Hz and Block size to 1 the DAQP-12 provided no output and I would get a Daq buffer overflow error.  I figured DasyLab couldn't read the card buffer that fast so I bumped the Block size to 250 and reduced the Average to 1 block.  This did give me data from the card, but didn't give me the expected average or the reduced data rate to 4 Hz for the rest of the worksheet.  My question is how can I make this work?
0 Kudos
Message 1 of 2
(7,836 Views)
I think I figured it out.  I used the Data Window Module with a Vector Length set to 1 to convert the Experiment Setup Block size of 250 to a Block size of 1.  Then I used an Average Module with Average Samples set to 250 to give me the 4 Hz data output I wanted to the rest of the Worksheet.
0 Kudos
Message 2 of 2
(7,822 Views)