You are right. It does not generate a mouse event, just a value
changed event. The only way this example would work is to change the
listbox event to value changed.
I think the problem is you loop is running as fast as it can and using
all of your CPU time. Try adding a small delay(10ms). It should
respond better.
Actually, You can do this with an event structure. If you uncheck
"lock front panel until the event case completes", the event will
start the code and return to the main program before the vi finishes.
It won't respond to the same event (if you trying, it seems to stack
them up and will execute whe
When you add or edit an event structure, there is a checkbox in the
lower left hand corner. The defualt is checked, which will lock the
front panel until the event is finished. Unchecking it will allow
other event cases to be called even before that case is finished.
You might try moving the "Saving Data" led off the graph. I know in
Windows that when you have controls overlapping it can slow things
down quite a bit. I also have found WinXP to be slower than older
Windows versions, especially if you don't have at least 500 MB of
memory.