Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Timing in Labview (http://www.chiefdelphi.com/forums/showthread.php?t=104701)

ThisIsSparta 16-03-2012 19:15

Timing in Labview
 
This year our shooter requires ~1.5 seconds to warm up before the rollers feeding the shooter can be activated, and the way it is set up now, the driver has to remember this to have the shooter be consistent. Forgetting this has caused problems by not letting the shooter warm up, resulting in completely missing the goal. I see the best way to do this is with a timed control, having the shooters spin up for 1.5 seconds, then having the rollers run for 2 seconds after the shooter has started upon a single button push. All of the programming I've ever need to do for the teleop control was simple joystick-->element programming, only having the element activated when a button/axis is pushed, and release when the button/axis is let go. I have no idea how to implement the timing idea in Labview, so can someone please give an example on how to do this? Thanks in advance for any help!

Ether 16-03-2012 20:21

Re: Timing in Labview
 
Quote:

Originally Posted by ThisIsSparta (Post 1145052)
I have no idea how to implement the timing idea in Labview, so can someone please give an example on how to do this? Thanks in advance for any help!

You need to use a state machine or a parallel task.

Read these links:

http://www.chiefdelphi.com/forums/sh...36#post1130036

http://www.chiefdelphi.com/forums/sh...43#post1120343

http://www.chiefdelphi.com/forums/sh...225#post933225

http://www.chiefdelphi.com/forums/sh...96#post1094796

http://www.chiefdelphi.com/forums/sh...21#post1094821

http://www.chiefdelphi.com/forums/sh....php?p=1128481




All times are GMT -5. The time now is 11:13.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi