Re: DAQmax read error: Error 200279



Hi Brad,


I took a look at your VI and do think that you could benefit
from using a producer/consumer design pattern. You might also consider
replacing the DAQ Assistant with using the lower level DAQmx VI?s. Using the
lower level VI?s correctly will be more efficient than the DAQ assistant. Also
to decrease overhead in the VI try to eliminate all or at least most of the
local variable usage and the stacked sequence structures. Use data flow to
control when things execute instead of the sequences. If you need data transferred
between iterations of a loop use shift registers instead of local variables.
Local variables are much less efficient than just connecting items together
with wires. Below are links to some great resources on these topics.


<a href="http://zone.ni.com/devzone/cda/tut/p/id/2835"; target="_blank">Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your
Data Acquisition Applications</a>


<a href="http://zone.ni.com/devzone/cda/tut/p/id/3023"; target="_blank">Application Design Patterns: Producer/Consumer</a>


<a href="http://zone.ni.com/devzone/cda/tut/p/id/7592"; target="_blank">Tutorial: Timing, Shift Registers, and Case Structures</a>


Let me know if you have any questions and take care.


Thanks,
.