Hello!
based on examples in the help section, I made a circuit with DAQmx blocks. This circuit is quite simple - it generates a waveform and writes it to a buffer.
I works quite well up to the point that my sample clock rate exceeds 10,000 (10 thousand!?). Then When I stop executing my program Error 200040 appears -
buffer underflow. Suggested cause: Sample clock rate too high so set-up times can't be achieved. At 10,000?! Even when I take a standard example from the
help it is stuck at 10,000.
So I checked the card I use: NI 6024E with a rate up to 200k Samples per second. I checked the channel settings. According to the test panel button in the Measurement & Automation Explorer under 'tools', Clockrates up to at least 200k are possible. But when I change them to those values and run my program again it does not seem to matter.
The sample clock rate is derived from the waveform info from the daqmx generator block. So I cutted this line and made a sample rate control directly on the daqmx clock block.
However this seems to be ignored - even do no waveform info enters the clock?!
Only suggestion I found on the the NI forums was, try to update the daqmx driver. I use daqmx driver version 8.0, and run labview 7.0.
This clock rate seems to be fixed at a very low value, 10,000, like a default value, but I can't seem to change or influence it.
Who knows the solution to this problem or has some suggestions I haven't already tried?
Bob
Atttached you find my circuit