12-15-2009 10:19 AM
Solved! Go to Solution.
12-15-2009 10:29 AM
Please post your VI.
I assume that you did not place the enter button within it's appropriate event case.
Norbert
12-15-2009 10:46 AM
i posted an example of what i need.
See the vi and this is what i need:
When boolean 3 is switched off, if i press enter button then the boolean is lit. If i switched off boolean 3 later and press the enter button then the boolean will lit off. I need the boolean to disable the enter button when it is pressed so that the boolean doesnt turn off again. Note dont tell me to use another while loop. I need one while loop (the outer one) and it shouldnt be disabled
12-15-2009 11:08 AM
12-15-2009 11:50 AM
12-15-2009 12:07 PM
12-16-2009 04:00 AM
Hi unknown19,
You might want to try the attached version as well. I modified your VI a bit more: you can use Stop button to stop the VI; and I used the Mouse Down? filter event of the Enter to disable the button and to discard the Mouse Down event if conditions are not met (i.e. boolean2 is on). You might need to change the logic a little if it does not work exactly as you expect.
I hope this helps.
Regards,
Barna