01-30-2006 12:03 PM
01-30-2006 12:44 PM
01-30-2006 03:03 PM
Thanks for the reply Lynn. I am encouraged that you don't see any major issues with my approach.
The circular buffer is implemented in the package of VI's from Measurement Computing, and each of their VI's is mostly a Code Interface Node which I assume makes calls to their driver routines. About the only detail I've gotten from them so far is that the buffer is initialized once at the start of the acquisition and there is no zeroing of data in the buffer before it is written to each time. Increasing the size of the buffer reduces the frequency of the problem because it takes longer to reach the end of the buffer, but if I increase the machine load, by maximizing or minimizing the Windows calculator, for example, just before the program gets to the end of the buffer (which I can tell because I'm applying a sine wave to one of the channels and charting the data as it is returned from my SubVI), I can almost always induce the problem to occur.
I guess I really have to wait for the MCC tech support person to get back in touch with me to get more details on how their VI's work.
01-30-2006 03:22 PM
It's hard to tell without seeing the toplevel VI, but I suspect a dataflow issue that creates a race condition.
Are you absolutely sure that all critical nodes are correctly lined up by data dependency or sequence structures?
01-30-2006 04:17 PM
01-30-2006 05:06 PM