Log in

View Full Version : Compressor Help : weird issues


Dustin Shadbolt
04-03-2010, 19:38
We are working on a practice bot. Now when I have the compressor.vi called with the rest of the code (motors and what not) The compressor works but nothing else. If I remove the call for compressor.vi from teleop and auto the motors and jags work just fine... Any ideas of what could be causing the problem?

billbo911
04-03-2010, 20:03
We are working on a practice bot. Now when I have the compressor.vi called with the rest of the code (motors and what not) The compressor works but nothing else. If I remove the call for compressor.vi from teleop and auto the motors and jags work just fine... Any ideas of what could be causing the problem?

The compressor code should be initialized in the begin.vi, that's it. It doesn't need to be called anywhere else.

Dustin Shadbolt
04-03-2010, 20:06
Oh okay I see so just the open, start, and set ref? and I should be done with it?

Joe Ross
04-03-2010, 22:30
That's correct. The compressor starts a while loop that runs in parallel with your code. You never have to worry about it again.

kws4000
08-03-2010, 15:31
So does this mean it doesn't have to be called anywhere else except in the FINISH? I have it called in TELEOP and AUTO and keep getting the watchdog system error messages.

Mark McLeod
08-03-2010, 15:48
Get it out of Teleop and Auto.
It doesn't belong there.

Although, that's probably not going to help your System Error messages...