Go to Post Action x (Passion Vision) = Goal - EricH [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 13-02-2011, 18:21
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
how to turn on the compressor?

we are a rookie team and i am in charge of the programming, so i have a question about how programming pneumatics. currently we have this part of the arm wired; the spike relay and the compressor have power, and the data port on the spike relay is going to relay channel 1. another member on the team wants me to make a program that will turn on the compressor. he says turning on the spike relay should be all that's required to do this. how would i program

this is what i have so far. https://picasaweb.google.com/lh/phot...t=d irectlink

thanks a lot
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2011, 19:04
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: how to turn on the compressor?

What you have is actually more than you need.
The compressor Open and Start go in Begin.vi and that's all you'll ever have to do. Start begins a never ending background task that constantly checks the pressure sensor and automatically turns the compressor on when pressure drops below 95psi, and turns it off when pressure rises above 115psi.
(the Enable doesn't do anything, it just lets you check to see if the compressor is running. But you aren't even checking in that code you have.)

You don't control the compressor spike relay directly.
It gets controlled based on the pressure sensor input and the robot inspectors will check for that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-02-2011 at 21:17.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2011, 20:31
Wolfgang Wolfgang is offline
Registered User
AKA: Mehmed
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2010
Location: Denver
Posts: 47
Wolfgang is an unknown quantity at this point
Re: how to turn on the compressor?

Enable is unneeded. Just refnum and start.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2011, 20:30
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
Re: how to turn on the compressor?

alright, i put the compressor open/compressor start/and the compressorrefnum (what do refnum vis do btw?) registry set vis in begin.vi after wiring them together. once i hit enable on the driver station this should turn on the compressor until it reaches 120 psi right?

also does the pressure switch need to be connected to the digital sidecar? one of our mentors says we should not need it to be connected because it is just a switch.

thanks for all the help
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2011, 23:41
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: how to turn on the compressor?

No, you need to connect the pressure switch to the DIO section of the digital sidecar. You specify the channel that you plug it into when you use the open block for the compressor.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2011, 07:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: how to turn on the compressor?

The pressure sensor is certainly "just a switch," however it is the switch that causes the compressor to turn on and off...
You really do need it as part of the compressor system.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 15-02-2011, 10:11
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: how to turn on the compressor?

The only reason you would not need to connect the pressure switch to the digital sidecar is if you wired the power for the compressor directly through the pressure switch. This is illegal because the switch can not handle the current drawn by the compressor. See <R72>
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:32.

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