|
Re: Help Solenoid Programming
(kinda) same problem bro.
We have the air compressor hooked up to a tank hooked up to a solenoid hooked up to a piston-type-firing-thing. We know the solenoid works because we can push the button, and the piston thing shoots out, then back.
I have REALLY basic code for solenoids. Basically:
I have a get ref. for solenoids outside THE loop in robot main. inside, i wired a boolean switch(i can change it to true/false on the front panel) to the Solenoid Set.vi
When we run the code, the piston thing doesn't shoot out, so it is a code error. Just like team2987 said above, a screenshot of working solenoid code would help us tremendously.
Edit(cause i know someone will tell me this): yes, everything IS wired correctly.
And I do not have any examples installed in LabView(either that, or i cant find em), so i cannot test the "solenoid with compressor example vi" and see if it works.
__________________
Team 1403 Cougar Robotics
2009-2011 Programming Captain
2010
NJ-Regional - Chairmans Award
Last edited by umangv620 : 18-02-2010 at 18:05.
|