timing in program

How do you make something happen after a certain amount of time for a certain amount of time. Say make a motor move for after 5 seconds for 5 seconds. Can you send me a pic? I am just trying to figure out how to use the timing vi’s.

in auto or telop?

auto

Here’s one way to do what you asked. The first frame of the flat sequence will wait for 5000 milliseconds before completing and letting the second frame begin. The second frame contains a while loop that will terminate after 101 iterations, with each iteration setting the motor speed and waiting for 50 milliseconds. The final frame of the sequence turns the motor off.

Using a flat sequence is overkill for something this simple, but it provides a framework for adding more steps if desired.

example.jpg


example.jpg

thank you.