|
Re: Programming Window Motor with Timer
Here's an example. It's a VI snippet, so you can just drag it into a LabVIEW block diagram and it'll be live code. It's designed to drop into Teleop. Change the RefNum names to match what you opened in Begin.vi.
The motor will run when the button is pressed, and it will continue running for one second after the button is released. If that's not what you wanted, there are a couple of simple modifications that can change the behavior.
|