01-31-2006 07:31 AM
01-31-2006 08:38 AM
Hi Paul
I favour a state machine where there are three states
1. Application Load
This really queues up all the commands I would exercised before settling down to the main application loop.
This has the main producer consumer using events where all queue additions are serviced.
3. Application Unload
Tidy up the application before closing.
I would imagine this is similiar to you adding to event queue dynamically. I am pretty sure that this is something that you would be familiar with as this is something I learned from reading and the forum here. Just thought I would chip in and share.
Example attached in 7.1
cheers
David
01-31-2006 01:57 PM
02-01-2006 02:25 AM
Hi Paul
I haven't really looked or used at dynamic events so I wanted to have a quick look at it.
I have attached a vi that dynamically raises two initialisation events before reaching the main event loop. Is this similiar to method that you were talking about before?
David
02-01-2006 02:01 PM
02-02-2006 01:17 AM
This thread has been quiet. I was looking forward to learning some different ideas.
Anyway.... Previous VI's in 7.0 posted.