|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Compressor With Spike Problems
We kept having the same problem. It was very intermittent. Sometimes the compressor would run, sometimes not. We swapped out the digital side car and then checked each of the cables to ensure that they were not broken in the middle. In the end we rewrote the Compressor Control loop to something much simpler.
See attachment Compressor.bmp for our code. The compressor runs correctly now. Good luck. |
|
#2
|
|||||
|
|||||
|
Re: Compressor With Spike Problems
All,
It seems like yogi knows he doesn't have a pressure switch and can't use the compressor control loop at the moment. I think he's just trying to get the compressor to run to check out his relay wiring and the compressor. So he's just running the compressor as you would for any other Spike actuated motor. I presume he'll rectify the pressure switch and control loop issues one he gets a pressure switch. yogi, If you could upload your Begin.vi and Teleop.vi or post screenshots, that would really help. Other questions: What's your robot signal light doing while you're trying this? Do you have drive code or something that IS working and this compressor relay is the only thing that's not? Do you have 12V power wired to you sidecar? It doesn't really work without power. |
|
#3
|
||||
|
||||
|
Re: Compressor With Spike Problems
Quote:
[EDIT] Update after running the code posted by Chris: So far, so good! (Yay!) I want to see it run consistently for another programming session to be certain, but it looks like the WPI compressor control loop VI does not work. Last edited by jcbc : 19-02-2013 at 23:38. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|