Go to Post If I find a student on my team who came through FIRST having learned nothing more then he wanted to go to MIT, I'll give my self a pat on the back and start counting down to kickoff. - Andy A. [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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:27.

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