![]() |
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.
|
Re: timing in program
in auto or telop?
|
Re: timing in program
auto
|
Re: timing in program
1 Attachment(s)
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. |
Re: timing in program
thank you.
|
| All times are GMT -5. The time now is 09:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi