03-09-2006 07:32 AM
03-09-2006 08:48 AM
The issus is that the write to file dialog is modal and is a synchronous call so that your state machine will freeze until this dialog is closed. You can move your call to its own thread so that your state machine will continue to run but this will require some code reworking. It is best to keep things like daq and control in their own thread/loop to run concurrently with the GUI thread. Use a synchronize methos to communicate between the threads.
Paul
03-09-2006 08:50 AM
03-10-2006 11:14 AM