View Single Post
  #1   Spotlight this post!  
Unread 09-03-2015, 15:35
bacarpenter bacarpenter is offline
Lead programmer (2 years)
AKA: Baylee Carpenter
FRC #2197 (Las Pumas)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2014
Location: Indiana
Posts: 19
bacarpenter is an unknown quantity at this point
Exclamation Need help with logic

I'm trying to make a program that will make three motors turn until the lifts they are controlling hit the limit switch we have at the bottom of the lifts. I need the lifts to go in order from the lowest to the highest lift (we have encoders) As of currently I've been putting logic into periodic tasks but I can't seem to get it to work. Anyone have any ideas?
I posted the code that I'm currently using, this is a vi I made that is inside of periodic tasks
Attached Thumbnails
Click image for larger version

Name:	Program.png
Views:	75
Size:	180.3 KB
ID:	18581  

Last edited by bacarpenter : 09-03-2015 at 15:48.
Reply With Quote