View Full Version : Help with timing
ricechrisbtreat
21-03-2010, 18:01
I just have a quick question. How can I get a part of the robot`s code to start one or two seconds after another part finishes? I'm a noob when it comes to timing in labview. Thanks in advance.
Mark McLeod
21-03-2010, 18:10
Several ways:
You can tie the two actions together through a Time Delay vi (Programming -> Timing palette)
You can use a flat sequence structure (Programming -> Structures palette)
You can use a State machine (http://frcmastery.com/try-me/state-machines/)
You'll want to use a State Machine if you're implementing this in Teleop.
The others can be used if this is a stand-alone task that can be independently implemented in Periodic Tasks.vi
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.