10-11-2007 12:34 PM
10-12-2007 04:01 AM
10-16-2007 10:40 AM
10-17-2007 06:10 AM
10-17-2007 07:48 AM
10-17-2007 07:59 AM
10-18-2007 08:45 AM
09-10-2009 10:18 PM
I have a similar problem. I need to run three different vis on the same computer, all using the CompactDAQ. Each vi has a DAQ while loop, that writes and reads to some of the channels (each vi is using different channels from the CompactDAQ).
When I run more than one vi, the readouts get jumpy. I have checked perfmon and the processor is not overly taxed, so I am assuming that the different vis are trying to read and write to the CompactDAQ simultaneously, causing slow reading and writing. All channels in MAX are configured for 'on demand' (maybe this is a problem?).
How would I use Norbert B's Synchronize Timed Structure.PNG to provide a timing source for the loops?
Would I need to use a global variable for the input to the notifier terminal of the wait on notification?
Any advise is appreciated.
09-11-2009 09:19 AM
I think you figured out your issue already. I believe it is due to timing collisions in the hardware while trying to service the same device asynchronously from multiple directions. You may want to repost this question to the DAQ forums to get a better response. When you do, be sure to include the hardware and software you are using. Without this information, troubleshooting will be difficult. Just guessing, you may be able to solve your problem by streaming data from your device continually and reading the stream when you need to. Watch out for latency issues with this approach. You can stream to any good singleton data object (single-element queue, functional global, or data value reference).