|
Re: Code check ASAP
I don't use LabView myself, so I am not sure on what the best way to do it is, but here is how I would do it in a text-based language:
Create a boolean called "homeHasBeenPressed" that is initially false.
When the home button has been pressed, set that boolean to true.
if (homeHasBeenPressed)
doStuff();
I've always had a bit of a distaste for LabView's lack of variables, but you should be able to take the above and apply it to LV without too much trouble.
|