Go to Post Winning or losing on the field has nothing to do with this success. - E. Wood [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 30-01-2010, 19:02
ElanaC's Avatar
ElanaC ElanaC is offline
Registered User
FRC #2557 (SOTAbots)
Team Role: Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Tacoma
Posts: 2
ElanaC is an unknown quantity at this point
Send a message via AIM to ElanaC
solenoid with compressor vi

We are using the solenoid with compressor vi, and we were trying to get the compressor to run. The problem is that the compressor turns on when we enable the driver station, but turns off immediately. We can not figure out what is making that happen. Any help would be nice. We just want the compressor to turn on, run until 120 psi and then turn off. Then come back on again if it is below 120 psi. Why is it starting and stopping?
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2010, 20:13
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,713
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: solenoid with compressor vi

Anything interesting happening with the Robot Status Light (RSL) on the Digital Sidecar? It should be mostly on for a second or two, with a very brief blink off.
Any messages on the Driver Station Diagnostics tab?

There are status LEDs next to the Digital Sidecar Relays where you should be controlling your compressor from. These will tell you if it's a code problem or a hardware problem.

What do the LEDs next to your PWM connection to the Spike controlling the compressor show?
LED off - means the code has turned off the compressor
LED on - means the code wants the compressor on

Is the Spike status light orange or green/red while this is happening?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2010, 23:16
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,112
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: solenoid with compressor vi

Quote:
Originally Posted by ElanaC View Post
We just want the compressor to turn on, run until 120 psi and then turn off. Then come back on again if it is below 120 psi. Why is it starting and stopping?
Tell us how you have the compressor and pressure switch connected, both electrically and pneumatically. Show us how your code is controlling it. Then we might be able to tell you why it's doing what it's doing. We might also be able to tell you if there's something you should change to make it do what you want it to.
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2010, 16:34
AmandaMay AmandaMay is offline
lead programmer
FRC #2557 (SOTA Bots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Tacoma Wa
Posts: 13
AmandaMay is an unknown quantity at this point
Re: solenoid with compressor vi

So we checked the diagnostics tab and it says that our watchdogs have expired, we are not sure what this means, or what to do. They continue to expire 1-13 some of them expire twice. I am a programmer on the team.
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2010, 17:18
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,713
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: solenoid with compressor vi

Don't worry about the Watchdogs too much for now. They have have some odd behavior that NI is working to make better.

Using the Solenoid with compressor example, do you start it from the front panel?

Are you running the Driver Station in the same Developer account where you have LabVIEW running? Don't switch user accounts to run the Driver Station.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2010 at 17:21.
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2010, 17:31
AmandaMay AmandaMay is offline
lead programmer
FRC #2557 (SOTA Bots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Tacoma Wa
Posts: 13
AmandaMay is an unknown quantity at this point
Re: solenoid with compressor vi

We are running it from the front panel and we don't switch accounts. We tried "run continuously" with the same result. The compressor still turns off. The light on the digital sidecar turns off as soon as we enable the code. and we don't have any lights next to our PWM connection to the Spike controlling the compressor.
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2010, 17:38
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,713
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: solenoid with compressor vi

Quote:
Originally Posted by AmandaMay View Post
The light on the digital sidecar turns off as soon as we enable the code, and we don't have any lights next to our PWM connection to the Spike controlling the compressor.
The Digital Sidecar status (RSL) going off is why the compressor stops.
If the RSL is off, nothing will run.
Do the other voltage status LEDs on the Digital Sidecar look good?
It could be a wiring short circuit with something attached to the Digital sidecar that makes it shutdown.

When the RSL goes off what does the Driver Station statuses show then?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 31-01-2010, 17:50
AmandaMay AmandaMay is offline
lead programmer
FRC #2557 (SOTA Bots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Tacoma Wa
Posts: 13
AmandaMay is an unknown quantity at this point
Re: solenoid with compressor vi

The only light that ever comes on on our digital sider car is the one labeled 5v I don't know if that's the RSL you are talking about.
6v and bat never turn on.
The driver station doesn't change except the watchdog errors.
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2010, 17:54
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,713
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: solenoid with compressor vi

Well there's a problem.

Do you have the Digital Sidecar power wired to the Power Distribution Panel?
It needs one of the loose white Wago connectors on one end, and the other end of the wires go into a set of the small red/black Wago connectors on the Power Distribution Panel.

I'll see if I can find a photo...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2010 at 18:24.
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2010, 18:07
AmandaMay AmandaMay is offline
lead programmer
FRC #2557 (SOTA Bots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Tacoma Wa
Posts: 13
AmandaMay is an unknown quantity at this point
Re: solenoid with compressor vi

We don't think we do have our digital sidecar wired to the power distribution board. it is wired to the Crio throuh the ribbon cable. A photo would be great. My programming team has recently been trying to do all of the wiring as well as programming and we are a little confused.
Reply With Quote
  #11   Spotlight this post!  
Unread 31-01-2010, 18:24
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,713
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: solenoid with compressor vi

Here's what it should look like when it's operating correctly.

The power LEDs on the left should all be on.
The Robot Status LED (RSL) is the really bright one on the other side of the power connector.

As a programmer, the RSL is the light you look at first.
off = off
blinking = disabled
long on/short off = teleop
solid = autonomous
Attached Thumbnails
Click image for larger version

Name:	DSC2.jpg
Views:	195
Size:	148.6 KB
ID:	8455  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2010 at 18:30.
Reply With Quote
  #12   Spotlight this post!  
Unread 31-01-2010, 18:24
AmandaMay AmandaMay is offline
lead programmer
FRC #2557 (SOTA Bots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Tacoma Wa
Posts: 13
AmandaMay is an unknown quantity at this point
Re: solenoid with compressor vi

Thank you a bunch Mark. Our coach helped with the wiring for the side car and we have it doing what we needed!! We are very thankful for your assistance. I am a little embarrassed that I did not realize that was our problem.
Reply With Quote
  #13   Spotlight this post!  
Unread 31-01-2010, 18:25
AmandaMay AmandaMay is offline
lead programmer
FRC #2557 (SOTA Bots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Tacoma Wa
Posts: 13
AmandaMay is an unknown quantity at this point
Re: solenoid with compressor vi

New mission, make the festo work
Reply With Quote
  #14   Spotlight this post!  
Unread 31-01-2010, 18:30
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,713
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: solenoid with compressor vi

More wiring for the programmers...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #15   Spotlight this post!  
Unread 07-02-2010, 09:43
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: solenoid with compressor vi

Hey i was just wondering how did you code the pressure switch. Is there a sub Vi for that? I have the spike working, and I need the pressure switch to turn the air compressor on and off.
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
Solenoid Wiring and Compressor Help BurtGummer Electrical 16 17-02-2010 14:25
How to program solenoid and compressor? Jason F Java 8 08-02-2010 15:15
1482 Help with Compressor Rinaldi 427 General Forum 7 31-01-2007 07:46
Help With Compressor Code fred Programming 6 21-01-2005 17:40
Problem with compressor Nick R. Pneumatics 3 21-02-2003 10:51


All times are GMT -5. The time now is 08:52.

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