09-12-2009 10:25 AM
09-12-2009 10:38 AM
09-12-2009 10:41 AM - edited 09-12-2009 10:43 AM
Put a small while loop in that detects when the value has changed. For good measure, you should also have it detect the stop button.
You could also have an event structure in the loop with infinite timeout.
09-12-2009 10:58 AM
Thanks guys but I still don't know where to put the sequence structure.
I have a while loop and inside the while loop, there is a sequence structure with 2 phases. My numeric control is in the first phase and that's the only thing in that first phase. Second phase is comparing with a random number.
Where should I put the event structure?
09-12-2009 11:00 AM
09-12-2009 11:00 AM
09-12-2009 11:03 AM
09-12-2009 11:24 AM
Could you give a little bit more informations about the purpose of the VI? I understand that you want to limit the number of trials. The user have to enter a number (dbl) between 1 and 5 or any number? This number is compared to a U8 (1..5) and you want to know how many time the guess was correct for X trials? This is correct?
JM
09-12-2009 11:25 AM
09-12-2009 11:42 AM
Evertyhing moves inside the the event "numeric" including the verification of the max number of iteration.
JM