10-03-2005 04:14 AM
10-04-2005 05:10 AM
hi Sarang
PXI 6031 is an Eseries card and has a single ADC which all AI channels share.
As you rightly understand, while using 2 channels, the max scampling rate you can configure will be 50kS/sec.
The max possible sampling rate for a channel in a scan list = maximum scan rate of card / by number of channels in the scan list.
regards
Dev
10-04-2005 06:18 AM
10-04-2005 03:38 PM
Hello Sarong,
Don't forget the Nyquist Theorem (this gets lots of people). With a 20KHz signal, you have to sample at at least 40KHz to avoid aliasing. While 40KHz is the minimum rate needed to reconstruct the signal, I would recommend sampling at 80-100KHz for better resolution.
The values of each input is application dependent, below is a description of what each input does.
The "Samples per Channel" input on the DAQmx Timing VI creates a buffer for your data. When acquiring a continuous signal, it is better to leave this unwired and the driver will set this.
The "Rate" input on the DAQmx Timing VI is the sampling rate - for your application it needs to be greater than 40KHz.
The "Samples to Read" on the DAQmx Read VI specifies how many samples to retrieve from the buffer at one time. You can choose to read a certain number of samples or if you leave this unwired you will retrieve all the samples available in the buffer.
Hope this helps!
10-05-2005 02:07 AM
Hey Micaela,
Thanks for replying. I tried out from 40K-80K but i am not getting the waveform continuously on Charts.....I really don't understand why ... my main problem is i have to aquire signal from 400 - 20KHz .....so maximum frequency component is 20Khz ......hence according to nyquist the sampling frequency comes around 40KHz ....
if you can send me the sample program it would be nice.....i am using PXI 6031E
thank you
10-05-2005 09:43 AM
10-05-2005 09:48 AM
10-06-2005 03:17 AM
hi sarang,
Using a graph will help you as chart stores values and uses virtual memory
I would suggest one more thing.
Althrough Labview DasqMx will automatically allocate a suitable buffer size for continous acquisition, i would advise you to try using a AI buffer of suitable size, preferably 4 times the sampling rate.
if you could tell what error you were getting, it would be a help.
regards
Dev