Go to Post It definitely looked like a penalty, but in FRC if it looks like a penalty and smells like a penalty, well, unfortunately it might not be. - Basel A [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 15-02-2011, 21:12
Brandon_L Brandon_L is offline
The color orange triggers me
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,191
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Compressor wont run at all

I triple checked the wiring and then some.

The programming seems right, I looked it up on here and found this thread:
http://www.chiefdelphi.com/forums/sh...ad.php?t=91742
and did whats in it, and it still doesn't work

Programming:
in the begin vi, compressor open then the pink wire and the error to compressor start, then the same two wires to refnum set, setting the name to "Compressor". Then the error from the refnum into the error out.

Wiring:
pwm from a spike (inserted so the black wire is on the same side as the "B", theres no clear markings so thats my guess even though I tried turning it around to.) and runs to the relay in the sidecar. Spike has power on input (V) and the other end goes to the + and - wires from the compressor.

The pressure sensor has a pwm attached to it, with the ground and signal on the two terminals (Does it matter which one goes where?). The other end of the pwm is in the Digital I/O pins
__________________
FRC 2495 - Hamilton West Robotics [2007-2014]
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2011, 21:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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: Compressor wont run at all

The Open Compressor specifies the same DIO used for the pressure sensor.
PWM black wire to the outside of the Digital Sidecar?

Open Compressor specifies the same Relay you have the Spike connected to? Black wire on the PWM out of course.

It doesn't matter which pressure sensor terminal gets connected to black or white PWM wire.

You can also test the compressor using a limit switch in place of the pressure sensor.
The Relay indicator LEDs on the Digital Sidecar should light green when the compressor is supposed to be on.

The Driver Station is enabled I assume.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2011, 22:01
Brandon_L Brandon_L is offline
The color orange triggers me
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,191
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Compressor wont run at all

Quote:
Originally Posted by Mark McLeod View Post
The Open Compressor specifies the same DIO used for the pressure sensor.
PWM black wire to the outside of the Digital Sidecar?

Open Compressor specifies the same Relay you have the Spike connected to? Black wire on the PWM out of course.
Correct, signal wire on the inside of the sidecar for both. The code does have a constant with the same numbers as to where there wired to.

Quote:
It doesn't matter which pressure sensor terminal gets connected to black or white PWM wire.

You can also test the compressor using a limit switch in place of the pressure sensor.
The Relay indicator LEDs on the Digital Sidecar should light green when the compressor is supposed to be on.
I didn't even know that those were lights. No, the lights are not coming on. Does the spike have to be plugged in for the light to come on? (as in, if I were to have it plugged in the wrong spot, say 4, and the code says 3, will 3 light up?)

Ill have to try the limit switch tomorrow.

Quote:
The Driver Station is enabled I assume.
Of course. There was one time, when playing with the wiring to figure it out, that I had the DIO going into the spike, which when as soon as the robot was powered up the compressor would start (Which tells me at least the spike and compressor are good)
__________________
FRC 2495 - Hamilton West Robotics [2007-2014]
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2011, 23:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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: Compressor wont run at all

The Relay LEDs don't care if anything is actually plugged in.
The unused ones get put into service as simple status indicators all the time. Just like the unused Solenoid module lights.

So you could use a limit switch alone to test if your code is operating correctly just by the Relay output lights.

If you do suspect your code, I'd suggest running the LabVIEW compressor example project. That should run with a simple IP change.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2011, 23:52
Brandon_L Brandon_L is offline
The color orange triggers me
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,191
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Compressor wont run at all

We'll do this first thing tomorrow. Thanks for everything!
__________________
FRC 2495 - Hamilton West Robotics [2007-2014]
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2011, 21:42
Brandon_L Brandon_L is offline
The color orange triggers me
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,191
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Compressor wont run at all

We got it working, we had to do the compressor code our self, something with the compressor start wouldn't work. We checked it and it cuts off at the right psi
__________________
FRC 2495 - Hamilton West Robotics [2007-2014]
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
Reply With Quote
  #7   Spotlight this post!  
Unread 18-02-2011, 10:38
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Compressor wont run at all

At your Regional, an inspector will perform the following check to ensure the Compressor is programmed and wired correctly:
Test 1:
Turn on the Robot. The Compressor should start. The Pressure gauge should increase to 120 psi. At 120 psi the Compressor should shut off.
Test 2:
Discharge System. The Compressor should start. Short the terminals of the pressure switch (meaning that it will never be an "open-circuit"). The Pressure gauge should increase to about 125 psi. At about this psi the relief valve should open venting any extra air.

This is the process they followed last year, although my psi numbers could be off slightly. I would verify this works for you guys to make sure all your wiring,programming and plumbing is good.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 18-02-2011, 11:07
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: Compressor wont run at all

Quote:
Originally Posted by DavidGitz View Post
...Short the terminals of the pressure switch...
Because of this test, it would be a good idea to make sure the pressure switch is in a place where the inspector can get to the terminals. It would also be a good idea not to use heat-shrink tubing to insulate them. Last year I think we ended up shorting the DIO pins because it was easier than getting down into the robot and untaping the terminals (and having to retape them later).
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 08:10.

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