03-08-2011 08:16 AM
05-02-2011 06:47 PM
Mr. Yuan
I was able to get the sample rate to 5 hz by using the DAQmx timing moduale. I still have not figured out how to get it into high speed mode.
I set up outside a while loop by creating a task (Create Task DAQmx), seting the timing(stopwatch logo DAQmx), and then starting it (Start DAQmx). Inside a while loop I had the read DAQmx. After the while loop I cleared the task.
Please let me now if you figured out how to get the 9217 into high speed mode.
thx
Kevin
11-10-2011 08:06 PM
Hi, Kevin
Thanks for your information. I took a class on the DAQ hardware and it helped a lot.
It turned out the High Speed mode should be set up through "Property Node" and configued before when programming.
Zhi
02-17-2014 08:11 AM
Hello,
I have the same problem. Can you give me a example, how you solve it, please?
02-17-2014 03:42 PM
02-18-2014 12:37 AM
Yes, I know this, but 1 sample still takes over 400 ms for 2 channels (without High speed mode 1600 ms). I though, Dzyndys has a better solution.
02-18-2014 08:41 PM - edited 02-18-2014 08:41 PM
Hi mishhell,
Are you starting the task once per sample? (Or letting it auto-start?) That would significantly increase your sample time. Make sure you're calling DAQmx Start only once, and measure how long it takes to call DAQmx Read. Once the task is started in high-speed mode, each call to DAQmx Read should take about 2.5 ms * number of channels.
If you're already calling DAQmx Start only once, please post a code snippet demonstrating the problem and relevant info about your configuration (OS, DAQmx version, chassis model number).
Brad
02-20-2014 06:54 AM
Now is everything OK. Problem was in the combination Timing setting and High speed setting together. Thanks a lot.