Just now I run it, one error came to pass:
Error-1073807253 occurred at VISA Read in pc_1.vi
VISA:(Hex 0xBFFF006B) A framing error occurred during transfer.
The other issue is that the save file dialoge window pops up all the time.
When I changed the outcome of the while condition to continue, it seemed to work smoothly, but the file is empty. I ran it step wise, and found that the code first came to the read loop/consumer then went to write/producer loop, and finally stuck to write/producer loop.
On that note, I'd like to know to:
should I need a Wait until function to guide the code to first run producter then consumer?
should I set the queue size as the same as VISA Read buffer size?
Thanks a lot.
win2
Message Edited by win2suse on 05-03-2007 01:41 PM