T-Shirt Launcher VI Problem

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/

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.

No errors, the air cannon won’t “click” when it’s supposed to when I pull the trigger.

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?

I am not completely sure at the moment but I think it’s an air compressor.

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.

We tried that, but the only time it would “click” was when I enabled/disabled teleop in the driver station.

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?