Thread: Relay Issues
View Single Post
  #1   Spotlight this post!  
Unread 15-02-2010, 18:14
Stealth Stealth is offline
Registered User
FRC #2073
Team Role: Programmer
 
Join Date: Nov 2007
Rookie Year: 2008
Location: Elk Grove
Posts: 17
Stealth is an unknown quantity at this point
Relay Issues

My team has been trying to get our compressor running for hours today but to no avail.

I've tried the compressor example in lab view and that didn't work. So now I have written a compressor code without using any compressor vi's.

The code reads in the digital input from the pressure switch and when it is not activated it sends out a constant of 2 to drive the relay in a forward direction (I don't know if that matters or not, I tried a 1 as well). When I run the code the value going into the relay is 2 but no light shows up on the digital side car. I have tried multiple side cars and multiple ribbon cables and nothing is working. The rest of the pwm's work but the relays will not.

Also this code is set in the 10ms look in the periodic tasks vi.

Thank you in advance,

Robert
Team 2073
Reply With Quote