Go to Post The MAINTENANCE of teams is just as important as the growth. Starting a new team is not always the answer. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 12-02-2015, 16:23
TBots TBots is offline
Registered User
FRC #3350
 
Join Date: Sep 2014
Location: Texarkana
Posts: 39
TBots is an unknown quantity at this point
Re: Programming a limit switch for two buttons

This is what our limit switch looks like: https://encrypted-tbn3.gstatic.com/i...r0xYWMp2FzsgSw

We have one at the top of our robot that becomes closed when the arms hit it. We may or may not add one to the bottom of the robot for the same effect. We are using talon via PWM. The arms are controlled to go up and down with two separate buttons on a PS3 controller. We are using labview.

We haven't tested anything with the limit switch since we've not been able to complete the programming. The main problem is that we can't figure out how to combine the examples titled switch and limit switch. One appears to show both the begin and teleop stages, but the other only show teleop. We can't figure out how to allow our motor to stop when the switch is true.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi