View Single Post
  #6   Spotlight this post!  
Unread 08-01-2013, 12:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,072
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: [FTC]: Encoder programming in labview for teleop

Quote:
Originally Posted by Robobuff1.0 View Post
I would like to execute a code once when I click a button on the controller. Like when I click button 1 on the controller I want the arm to move to the specified enconder position and stay there until I press another button to retract it. I just need an example to work with.
When you press the first button, your code should set the PID setpoint to whatever position you want the arm to go to.

When you press the other button, your code should set the setpoint to whatever position corresponds to "retract".

Does your version of LabVIEW have examples? That would be a great place to look.

Here's another good resource:

http://team358.org/files/programming...2009-/LabVIEW/



Reply With Quote