Thread: sample code
View Single Post
  #2   Spotlight this post!  
Unread 30-01-2010, 23:57
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: sample code

Quote:
Originally Posted by johncap100 View Post
Is there anyone that would be willing to share a vi of the arcade motor control with button and/or triggers set up to control two spikes? I am a neophyte with labview and any help would be greatly appreciated
thanks john
Here's one example using a Select function. If you want do something a little more complicated you may want to use a Case structure instead of the Select.

Also, depending on what you want the Spike to do, you could change the On and Off constants to and of the available values (i.e. Forward, Reverse, On, Off) as desired.
Attached Files
File Type: vi Teleop.vi (20.9 KB, 46 views)
Reply With Quote