View Single Post
  #13   Spotlight this post!  
Unread 19-01-2015, 17:06
Luid101 Luid101 is offline
Registered User
FRC #3949
 
Join Date: Dec 2014
Location: Canada
Posts: 17
Luid101 is an unknown quantity at this point
Re: Linear Actuator Programming Help

Quote:
Originally Posted by Alan Anderson View Post
Is it outside all of the timed while loops in that vi, or is it inside one of them? If it's inside a while loop, which one is it in?
It was inside the "10 ms tasks" loop but in an attempt to reduce lag I changed the wait time on the timer to 5 ms.

Quote:
Originally Posted by Alan Anderson View Post
If you can tell me what you want the code to do, I'm sure I can show you an efficient way of telling LabVIEW how to do it. The phrase "toggle switch for the joystick input" isn't enough detail for me to know what you want.
We need the code on the left to make a button on the joystick toggle a Boolean value. Which we will use to tell the actuator to move or be stationary.
Reply With Quote