LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the maximum sample rate using DAQ6024

Hello, I am a new comer in LabVIEW. I want to write an Application using LabVIEW 8.0(windows) and DAQ6024E PCMCIA card. This application should measure 16 analog voltage inputs simultaneously using the inputs of the DAQ6024 card. At the same time, the application should display the measurement results in a waveform chart. My questions are:
1. Is that possible that the sample rate goes to 100Samples/sec (or 500 Samples/sec) for every channel? What is the maximum sample rate that is possible?
2. If yes, which function should I use for the sampling? ( i have an application using DAQmx "Analog 1D Waveform N channel 1 Sample". The timing is controlled by a while loop. But it seems that this application only works properly with 20 Samples/s. My laptop has a centrino 1.6G CPU and 512MB RAM) .
Thanks a lot!

0 Kudos
Message 1 of 7
(3,182 Views)

Hello molo511,

your card has maximum sample rate = 200 kS/s. 

For your purposes search Labview NIDAQmx examples - Hardware input output -> Analog measurement -> Voltage ->
Cont Acq&Graph Voltage-Int Clk.vi

Just select all channels you want to acquire and set sample rate. Then run.

Message Edited by ceties on 10-17-2006 06:40 PM

LV 2011, Win7
0 Kudos
Message 2 of 7
(3,171 Views)
Ceties and molo511,
 
I agree with Ceties that the maximum sample rate = 200 kS/s for a 6024 and the example he points to, is the best for the requirement
 
But keep in mind that: this the maximum sampling rate that your ADC can achieve.
 
In an E series card, all your AI channels share a common ADC.
 
And here is the catch!Smiley Wink
 
If you scan two channels, then the Maximum sample rate = 200Ks/sec / 2 = 100kS/sec.
 
Similiarly for 'n' channels, Maximum sampling rate = 200/n Ks/ sec.
 
Hope this helps
 
Regards,
Dev

Message Edited by devchander on 10-17-2006 11:23 PM

0 Kudos
Message 3 of 7
(3,159 Views)
Yep, thats true. This card has only one ADC and if measuring 16 channels the sample rate is 200/16=12.5kS/s
LV 2011, Win7
0 Kudos
Message 4 of 7
(3,149 Views)
Thanks a lot ceties and devchander!Smiley Happy
I have  written a program according to the example, and it works at 500 Samples/sec!Smiley Happy
But  now I get another problem. I want to save all the sample values in a spreadsheet file or  a "txt" file and display them in a XY-diagram. For example, if I measure 2 channels with 100 samples/sec for 4 seconds, then I need a txt file with 2 column and 400 lines. Every column means one channel.
Wenn I only read one value at one time with "DAQmx Read"(N Channel single sample), it's easy to get the value  and  save it  in a spreadsheet file as above-mentioned.
The problem is, if I read 10 values one time with "DAQmx Read"(N Channel N Samples), the 10 value are bundled together in the waveform format. How can I split this 10 values in single values and save it in a spreadsheet file one after another?
Thanks! 

Message Edited by molo511 on 10-19-2006 05:57 AM

0 Kudos
Message 5 of 7
(3,136 Views)
Hello man,
You don't need to read waveform, just read 2D of DBL.
See attached VI. I didn't test it with DAQ card, but it should work.

Message Edited by ceties on 10-19-2006 08:08 AM

LV 2011, Win7
0 Kudos
Message 6 of 7
(3,121 Views)
You've also got the Export Waveforms to Spreadsheet File function. If you use this, then you also save the time data.
0 Kudos
Message 7 of 7
(3,115 Views)