05-15-2012 05:46 AM
Hey guys,
I do not know if anyone can help me.
I am working with a PCI-6221 data acquisition board on a simple system which collects the voltage data from a capacitor. I just wanna take the voltage points during the capacitor´s discharge, which lasts 60ms aprox. I would like to take at least 10points, so it would be necessary to acquire every 6ms. I have tried it with a proucer-consumer format, but I face data overwritten troubles.
Can anyone tell me if it is possible to do this? As far as I know, the average time response of Windows is tipically of 10ms, so I think I cnnot do this without a real time module. Could you tell me which would be the minimum time interval between samples acquired?
Thanks in advance
05-15-2012 06:27 AM
The most important thing when asking something about data acquisition is to tell what hardware you are using!
Christian
05-15-2012 07:11 AM
@Christian_M wrote:
The most important thing when asking something about data acquisition is to tell what hardware you are using!
Christian
Christian He has mentioned it as PCI-6221.
Jmhf,
It would be better if you can post the code that you have done for this.
05-15-2012 07:17 AM
@P Anand wrote:
@Christian_M wrote:
The most important thing when asking something about data acquisition is to tell what hardware you are using!
Christian
Christian He has mentioned it as PCI-6221.
Jmhf,
It would be better if you can post the code that you have done for this.
ups. Thank you Anand!
Well then simply create a finite Task with the number of samples and sample rate you want to acquire based on the example named "Acq&Graph voltage-Int Clk.vi" which could be found using the Example Finder.
Christian
05-15-2012 07:24 AM
And can I reach as high rates as I told? I want to take one point every 6ms!!!, queue them and then process them.
05-15-2012 07:54 AM
6ms means 167 Hz. The 6221 maximum rate is 250.000 Samples/s, so yes.