Log in

View Full Version : Tuning off the compressor manually


jojoguy10
01-02-2015, 16:40
Hello,

I'm wondering if we can manually turn the compressor off without having the pressure sensor turn it off.

I want to have the compressor off when certain buttons are pressed and back on when they are released, but with the new PCM and the CAN integration, I'm not sure how to do this.

Thanks!

rsisk
01-02-2015, 16:41
You can still run it from a spike and turn it off

forbes
01-02-2015, 16:53
I believe these start and stop vi's should do it:

http://i.imgur.com/YaFo40m.png

jojoguy10
01-02-2015, 18:35
I believe these start and stop vi's should do it:

http://i.imgur.com/YaFo40m.png

This worked, but I had to work with it a bit.

Since (with the new 2015 Labview revision) I didn't create a compressor RefNum, I just created a constant from the INPUTS of those Start and Stop refnums and made the PCM ID 0 (like it is on our robot)

Worked perfectly. Thanks!