Go to Post You have no idea how happy I am that so many are taking an interest into accomadating their off season competitions for pre-rookies. - Keith Chester [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-02-2011, 15:25
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Compressor not autostarting

We are having problems auto starting the compressor. Does anybody any snippet of code that can enable that.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-02-2011, 15:39
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Compressor not autostarting

What do you not understand about the compressor example?

(That's not intended as a put-down or as sarcasm. It's a real question, intended to find out more about what sort of help you need, and at what level of detail.)
Reply With Quote
  #3   Spotlight this post!  
Unread 28-02-2011, 15:51
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Re: Compressor not autostarting

Well we followed the instructions that came with the build kit and it activated the compressor but at the push of a button. We want to activate it automatically.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-02-2011, 16:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Compressor not autostarting

Quote:
Originally Posted by 3286 View Post
Well we followed the instructions that came with the build kit and it activated the compressor but at the push of a button.
What instructions are you referring to?

Quote:
We want to activate it automatically.
The quick answer is to place a Compressor Open function in Begin.vi, and wire its device reference output to a Compressor Start function. That'll do it.

You really ought to follow through and store the reference using a Compressor Refnum Set, so you can do a Refnum Get and a Close in the Finish.vi when the program completes. If you leave that step out, it's no big deal, since in normal operation the code never actually does complete.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-02-2011, 16:48
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,695
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Compressor not autostarting

If you hold the button for the compressor down, does it automatically shut off when the storage pressure gets to 110 psi (or so) on the gauge? If not, then the compressor module will not run the compressor since it doesn't detect the pressure sensor. An inspector will check this at competition, so be sure to test it yourself as well.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote
Reply


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 20:31.

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