08-19-2009 01:46 PM
Just do the same things you are doing now. The Queue passes the data from the Read VI (in the Producer loop) to the Index array (in the Consumer loop). The blue wire is split by the queue into the two loops.
If you still have memory problems after that, then we can do some troubleshooting to determine where the bottleneck is located.
Lynn
08-19-2009 01:51 PM
08-19-2009 02:06 PM
Have you read the Knowledge Base article? Have you looked at the example? Have you tried it out so you understand how it works? Do that first, and forget about your specific code for the moment. Also, please re-read Lynn's comment:
The Producer loop (with the arcnet read) would run as fast as the data is received. The Consumer loop (User display and write to file) would run much slower.
08-21-2009 10:21 AM
Thanks very much for your helping guys. I could do the way that I was guessing. It's perfect. The producer/consumer is exactly what I was looking for.
Regards
Kito