LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DoneCallback event not called for NumSample > 1M

Hallo,
The system I am working with is a PXI with two modules: PXI-6433 and PXI-6422.
I am facing  problem when I try to acquire more than 1 milion samples per channel, basically the DoneCallback event is never called and the system is just waiting to finish its endless task.

The basic commads I use are:
DAQmxErrChk (DAQmxCreateAIVoltageChan(ai_Handle,txt,"",DAQmx_Val_Cfg_Default,-scale[i],scale[i],DAQmx_Val_Volts,NULL));
DAQmxErrChk(DAQmxCfgSampClkTiming(ai_Handle,"",SamplFreq,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,NumSampl));
DAQmxErrChk (DAQmxRegisterDoneEvent (ai_Handle, 0, DoneCallback, NULL));

The system is working fine as long as the NumSampl in the second command is <= 1.000.000
Is there any limitation to the number of sample / dimention of the analog input buffer?
Any possible solution to this problem?

Any help is apprciated.
Nicola.
0 Kudos
Message 1 of 3
(3,454 Views)
*bump*
0 Kudos
Message 2 of 3
(3,428 Views)
Are there any updates on this? I just ran into exactly the same problem with my PCI-6120 board (which has 64 MSample on-board memory, so that should be OK). I use a windows XP machine with the most recent driver set (Ni-DAQmx 8.8).
0 Kudos
Message 3 of 3
(3,246 Views)