Go to Post Engineers crave and demand facts, and won't reach a conclusion without them. - Richard Wallace [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 16-02-2009, 12:28
star_lancer's Avatar
star_lancer star_lancer is offline
Programming Addict
AKA: Mike Berney
FRC #2346 (CRASH)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Kansas City
Posts: 30
star_lancer is a jewel in the roughstar_lancer is a jewel in the roughstar_lancer is a jewel in the rough
Send a message via AIM to star_lancer Send a message via Yahoo to star_lancer
Question Major compressor question

Do i need the solenoid from the compressor with solenoid example vi, I am running a lot of solenoids in the main program, and Just need to know whether or not I need that solenoid from the example in the program. Also, exactly where in the main vi do I put the compressor program?
__________________
If you found anything I said helpful, please click the scales next to my post. I really appreciate those reputation points.
Team 2346 - Build, test, panic, repeat.
Reply With Quote
  #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
  #3   Spotlight this post!  
Unread 16-02-2009, 16:43
star_lancer's Avatar
star_lancer star_lancer is offline
Programming Addict
AKA: Mike Berney
FRC #2346 (CRASH)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Kansas City
Posts: 30
star_lancer is a jewel in the roughstar_lancer is a jewel in the roughstar_lancer is a jewel in the rough
Send a message via AIM to star_lancer Send a message via Yahoo to star_lancer
Re: Major compressor question

that's great and all, but how do I get the pressure switch to work then?
__________________
If you found anything I said helpful, please click the scales next to my post. I really appreciate those reputation points.
Team 2346 - Build, test, panic, repeat.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2009, 22:48
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: Major compressor question

Quote:
Originally Posted by star_lancer View Post
...how do I get the pressure switch to work then?
If you connect its pneumatic port to the high-pressure (120 PSI) part of your pneumatic piping, the pressure switch works without any further effort required on your part.

Prepare an appropriate length of servo ("PWM") cable by cutting the male (with pins) end off and leaving the female (with holes) end connected to the cable. Wire one of the pressure switch's terminals to the black wire of the cable and the other terminal to the white wire, leaving the red wire disconnected (and suitably insulated with electrical tape to prevent its 5 volt power from touching anything by accident). Plug the end of the cable into the DIGITAL I/O port on the Digital Sidecar that matches the port number you told the Compressor Open VI.
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

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

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