08-07-2006 07:25 AM
08-07-2006 07:48 AM
Multithreading will not make excell open faster but using concurrency you can have more than one operation operate ate different speeds. The nice thing about the produce consumer model is that the if the consumer is slow or unreliable (freeses up) the producer doesnt care and will continue. To use a queue is very simple, 1. create the queue, name it(optional) and give it a data type (ie int, array of floats ...) in the produce loop use the enqueue vi to add items as needed to the queue, in the consumer dequeue these items (using a timeout = -1 the loop will wait for a new item and not consume resources) the consumer can process the data acquired in the producer loop.
08-07-2006 07:57 AM