05-30-2006 04:23 PM
05-30-2006 04:50 PM
A timing function to do some sort of calculation? What sort of timing calculation do you want to do?
If, on the other hand, you are wondering how to pause your program in order to have the user move the cursors, then what you could do is use a while loop. Wire the waveform through the loop and have the cursor manipulation/calculation inside. Have a front panel Boolean called "Continue" wired to the while loop's conditional terminal. A state machine would also work great. After the acquisition, you go to a calculation state. Depending on a front panel Boolean again, the next state would either be itself or your continue state.