08-13-2012 04:03 PM
Hello,
I am using a PCIe-6320 that I am polling the ADC, in a very simple while loop. The time per iteration of the while loop is approx. 9 millisec. While the interation time of the while loop without reading the DAC is 10 microseconds. That is huge difference. Any thoughts, I am trying to poll at about 4 kilohertz which I would think would not be a problem. BTW I am only reading one channel.
Regards,
Mike
Solved! Go to Solution.
08-13-2012 04:43 PM
Mike,
Are you calling DAQmx Start prior to the loop which performs your read?
Dan
08-13-2012 08:46 PM
08-14-2012 07:50 AM
Yes
08-14-2012 07:51 AM
Software, let me give harware timed a try. Thanks. It just seems so odd that just doing a simple read would take so long.
08-14-2012 09:36 AM
One other thing that you may want to try for your software timed task. In the DAQmx Channel Property Node, navigate to Analog Input->General Properties->Advanced->Data Transfer And Memory->Memory Mapping for Programmed IO Enable. Set this property to true.
Dan
08-14-2012 09:45 AM
That's cool I will try that too.