Wow what a discussion! I looked at state machine basics, but i just don't want a loop to run over and over again to check which state is given from the initializer loop... I am not at work and can't test anything. But my display and record loops should be set on and off from a third loop, i just want to seperate these things. About the global and race conditions, i think it will come in handy to put all your front panel object references in a global, so you have access to them at all times without having all wires everywhere, i overcome the race condition by using a sequence when i want to write or read certain properties of the FPObjects. But maybe wires give a better overview of flow control...? I'm not yet familiar with queues and notifiers, but i was going to implement them. At least for passing data from the display loop to the record loop, recording takes place every 2048 x 107 samples (1 sec) and displaying takes place every 40 ms (for smooth update).
Merry Christmas BTW!
Best regards,
Thijs