Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx slower traditional daq

Hello,

 

I 'm migrating from traditional Daq to Daqmx, all is OK concerning the accuracy of the measurement but I have a serious problem of measurement time

Indeed, My Daqmx measurement is significiantly slower than trad Daq

 

For example, a acquisition of 100 samples à 100kHz (with a PCI-6052) :

Trad Daq = 3ms (via Daq_Op);

Daqmx = 16ms (via DaqmxReadAnalogF64);

 

Thanks by advance for response

Sincerely

0 Kudos
Message 1 of 8
(3,661 Views)

Hi,

 

Do you need to reconfigure the hardware before each acquisition?   Or are you repeating the acquisition with the same parameters? 

You will be able to speed up DAQmx performance if you use the DAQmx Control VI  with the "Commit" operation to pre-program your hardware outside the main loop. 

 

 

 

0 Kudos
Message 2 of 8
(3,640 Views)

Hi,

thanks for your response.

To respond to your question, I don't reconfigure the hardware each time, I make a loop of measurement as follow (I program in C ANSI):

Daqmx : for (i=0;i<1000;i++) DaqmxReadAnalogF64(TaskHandle,-1,10,0,TabMeasurement,100,&NbSamples,NULL);     => 15000ms

Trad Daq : for (i=0;i<100;i++) Daq_Op(1,0,1,TabMeasurement,1000,100000);            => 3000ms

 

But, I notice an important thing :

I 've launched the .exe on 2 different PC (with different software configuration):

- On the first one with Daqmx 8.6.0f5 and driver PCI-6052 2.1.0f1 : 15ms per measurement (traditional daq : 3ms/meas)

- On the second one with Daqmx 7.4.0f0 and driver  PCI-6052 1.9.0f0 : 3ms per measurement (as traditional daq)

 

So the problem seems to come from Daqmx 8.6.0f5, Have you information about that ???

Thanks

Regards

Nicolas Carteron

0 Kudos
Message 3 of 8
(3,617 Views)

Sorry for the mistake

Trad Daq : for (i=0;i<1000;i++) Daq_Op(1,0,1,TabMeasurement,1000,100000); => 3000ms

0 Kudos
Message 4 of 8
(3,613 Views)

Hello,

 

I have few question about your configuration:

What is your OS? What is your version of CVI? What is your hardware configuration?

 

Why do you need to use daqmx if you application work with daq trad?

 

Best regards.

0 Kudos
Message 5 of 8
(3,571 Views)

Hi,

 

Here is my Hard/Software configuration :

OS : XP

CVI : 8.5.1

Hardware : PCI-6052

 

For information, I use a C ANSI Visual Studio project to make this validation (and not CVI).

I need to use Daqmx because, firstly our policy is to upgrade our soft following the new software release (so Daqmx) and, mainly we will have to use PCI-6251 cards (or equal) that only support Daqmx.

 

For information, my experimented collegue said to me that there was a same problem with the 6.x Daq (slower than ealier version) 

Regards 

0 Kudos
Message 6 of 8
(3,564 Views)