12-08-2006 01:12 AM - edited 12-08-2006 01:12 AM
Message Edited by SiPHER on 12-08-2006 01:13 AM
12-08-2006 02:35 AM
12-08-2006 04:20 AM
Yes, you are doing this way too complicated. There is no need to use inner loops and local variables. Think about it, the only difference between the three modes is the number of acquisitions, everything else is the same and can share the same code. First of all, you should use the outer loop and timeout case to run the data generation and you won't get stuck inside inner loops. The event structure is always ready to execute!
Attached is a simple code skeleton. See if it all makes sense to you.
Other issues:
Remember, you can use text labels for slides. There is no need to use free text for that. If you have an event structure, you don't need any other wait statements in the outer loop.
12-08-2006 10:37 AM