Go to Post I was dragged to the first team meeting in September my freshman year and a week later, found myself at Fall Classic. Needless to say, after experiencing the heat of a competition, I was in love. ... Robotics has become far more than just that. I get to do the coolest thing in the world. - Audrey Chu [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 23-01-2012, 20:19
dcarswell's Avatar
dcarswell dcarswell is offline
FRC Mentor/Old Dominion University
AKA: DeAndre Carswell
FRC #3359 (Royal Robotics)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Portsmouth, VA
Posts: 36
dcarswell is an unknown quantity at this point
COMPRESSOR PROGRAMMING HELP

Hello,

Our team is trying to program the robot so that when we turn it on, the compressor fills up the tanks until it reaches the max psi it is supposed to go, and then with a press of a button the solenoid opens and the piston goes forward. And everytime the tank goes under pressure, it refills.

This is the code I have so far. .Could you give me some extra insight unto what I am doing wrong..



Thank you, very much



Uploaded with ImageShack.us

Last edited by dcarswell : 23-01-2012 at 20:41.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2012, 22:44
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: COMPRESSOR PROGRAMMING HELP

The code's in the wrong vi.

Some of it belongs in Begin.vi and one piece belongs in Periodic Tasks.vi

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2012, 23:34
dcarswell's Avatar
dcarswell dcarswell is offline
FRC Mentor/Old Dominion University
AKA: DeAndre Carswell
FRC #3359 (Royal Robotics)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Portsmouth, VA
Posts: 36
dcarswell is an unknown quantity at this point
Re: COMPRESSOR PROGRAMMING HELP

Thank you very much .
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2012, 18:07
bbsoccergamer's Avatar
bbsoccergamer bbsoccergamer is offline
Registered User
AKA: Lee Knepper
FRC #0703 (Phoenix)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2001
Location: Saginaw, MI
Posts: 9
bbsoccergamer is an unknown quantity at this point
Send a message via AIM to bbsoccergamer
Re: COMPRESSOR PROGRAMMING HELP

You Sir deserve a bunch of cookies, this worked for us as well!
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2012, 18:36
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: COMPRESSOR PROGRAMMING HELP

I like cookies...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2012, 04:47
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Post Re: COMPRESSOR PROGRAMMING HELP

Hey,
We are also using pneumatics this year. But we havent programmed any pneumatics. We couldnt understand what control loop is? Can anyone please help us?
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2012, 09:13
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: COMPRESSOR PROGRAMMING HELP

It's just something that you're supposed to put inside Periodic Tasks and forget about it. It takes care of stopping the compressor when the pressure sensor turns on.
Reply With Quote
  #8   Spotlight this post!  
Unread 29-01-2012, 12:56
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Exclamation Re: COMPRESSOR PROGRAMMING HELP

We got our compressor working by this code however our solenoids dont work. Any suggestions or recommendations??
Reply With Quote
  #9   Spotlight this post!  
Unread 29-01-2012, 17:10
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: COMPRESSOR PROGRAMMING HELP

Quote:
Originally Posted by cilginbilgin View Post
We got our compressor working by this code however our solenoids dont work. Any suggestions or recommendations??
It is generally bad practice to use Open inside teleop. Instead, use Open in Begin, then insert to a RefNum Registry Set and give it a name. In Teleop, use Refnum Registry Get. Then give it a command. See how the default code has the joystick and RobotDrive. All you have to do is use the same palette as what you're working with.

Try the Compressor With Cylinder example, see if it works. Don't forget to change the RT CompactRIO Target IP address by changing its properties.
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 22:23.

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