Go to Post Snow Blower Motor? Forget the water game, how about a snow game? - Gary Dillard [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
  #2   Spotlight this post!  
Unread 16-02-2009, 15:44
Chaos in a Can Chaos in a Can is offline
Joel Spadin
FRC #1736 (Robot Casserole)
Team Role: Programmer
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Peoria, IL
Posts: 58
Chaos in a Can is an unknown quantity at this point
Send a message via MSN to Chaos in a Can
Re: Major compressor question

I'm not too sure about the solenoid example vi, but if you are using the advanced framework, the easiest way to set up the compressor is to put a Compressor Open.vi and then a Compressor Start.vi in Begin.vi.
If you add a CompressorDevRef to RobotData.ctl, you can then wire the CompressorDevRef of the compressor Open to the compressor Start and then into your RobotData in Begin.vi.
Then, place a Compressor Close.vi in your Finish.vi and wire the CompressorDevRef from RobotData into it.

If you are using the basic framework, place a Compressor Open.vi and a Compressor Start.vi to the left of the top while loop in Basic Robot Main.vi.
Place a Compressor Close.vi to the right of the loop (near Drive Close and Joystick Close).
Finally, wire the CompressorDevRef from Compressor Open to Compressor Start and wire the CompressorDevRef from Compressor Start through the while loop and out the other side to the Compressor Close.

You shouldn't have to to anything more than open the compressor and start it. It will handle itself if you open it with the correct pressure switch and relay channels.

Hope that helps!
__________________
2006 Xerox Creativity Award
2007 General Motors Industrial Design Award
2008 Judges' Award
2009 Chrysler Team Spirit Award

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Air Compressor Question Jrocklz Pneumatics 4 17-01-2008 21:36
Air Compressor Wireing question Bochek General Forum 7 11-01-2007 21:34
Running just the compressor (was: free compressor) sciguy125 Pneumatics 15 06-02-2006 18:23
pic: Major CD47-Bot Extra Discussion 2 16-04-2003 13:49
compressor and light question... archiver 2001 5 24-06-2002 00:47


All times are GMT -5. The time now is 21:41.

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