Log in

View Full Version : T-Shirt Launcher VI Problem


Dillonboy8
19-01-2013, 15:29
Hey!

I am programming a T-Shirt Launcher and had to set up a program to launch the T-Shirt out of and air cannon. I used digital output and I am completely SURE that it is the program.Thanks!

My Teleop VI: http://postimage.org/image/5uj6eh0jl/

team3039
19-01-2013, 19:53
I'm sorry but can you explain your errors? I don't think I understand what you're asking, please be a little more specific.

Dillonboy8
19-01-2013, 20:13
No errors, the air cannon won't "click" when it's supposed to when I pull the trigger.

team3039
19-01-2013, 21:22
Well that sounds like a problem! How is your t-shirt cannon made, electrically? What's device takes the digital output and energizes the cannon?

Dillonboy8
19-01-2013, 21:38
I am not completely sure at the moment but I think it's an air compressor.

team3039
19-01-2013, 21:58
Unfortunately I can't find a solution to your problem if I don't know how it works. If it does use an air compressor, you would need to power a relay, that would energize the air compressor.

Dillonboy8
19-01-2013, 22:22
We tried that, but the only time it would "click" was when I enabled/disabled teleop in the driver station.

Alan Anderson
19-01-2013, 23:24
What is it that is supposed to make the "click"? Is it a relay, a pneumatic solenoid valve, an electromechanical actuator or some sort, or what?

How do you have it wired to the controller? Is it powered by a Spike relay, directly connected to a DIO pin, or what?

If you can show us a schematic, or maybe even just a photo of the connection, we might be able to help make the software talk to the hardware the way you want it to.

My last question is not important to the problem you're having, but I'm curious: Why are you using a Select function to turn a boolean into a numeric 0/1, then using that number as the select input of a Case block, instead of just using the boolean to choose the case directly? Are you expecting to add more cases in the future?