02-04-2013 12:42 AM
I'am a research scholar . I'am doing a work which needs a constant voltage reading from the DAQ 6009 card. Now whatever its giving is highly (for my work) fluctuating. So I need a averaged data from it for a interval of 100ms or something. Can I do it through daq assistant VI or outside I have to do or is there any way to solv ethis problem please reply.
Solved! Go to Solution.
02-04-2013 04:05 AM
Hi perumpadapu,
I usually stay away from ExpressVIs, so I would suggest this:
Set a channel to read continuously with a sample rate of 1kHz, read 100 samples per DAQmxRead (resulting in a read operation each 100ms) and calc the average of those values...
02-04-2013 04:52 AM
can you send a sample working program from screen shot I'am not able to make out what to do.I expect help
02-04-2013 04:55 AM - edited 02-04-2013 04:56 AM
Hi perumpadapu,
this is a snippet!
And it's very basic, using only functions from the top-level DAQmx palette...
02-04-2013 04:59 AM
After DAQ assistant we have to make this program, Please reply
02-04-2013 05:02 AM
Hi perumpadapu,
if you really want to stick with your DAQ assistent you should set sample rate and number of read samples the same way I did and put in the average calculation as I did.
I do not recommend using ExpressVIs...
02-04-2013 05:19 AM
No other options other than this, because i need to average the sum of four signals from DAQ to 100ms, is it possible with this program. I had adjusted the sample rate and the frequency, but then also averaging is not happening. So please help me in this regard
02-04-2013 05:50 AM
02-04-2013 10:22 PM
I'am sending the program which I wrote for aquisition, so please help me
02-05-2013 02:03 AM
Hi perumpadapu,
yo did set sample rate and blocksize to get 100ms blocks of data? Really?
Then why are both set to "1k"? That way you will get data each second...
Then I told you to use the Mean function to calc averages. Did you even tried that?