Log in

View Full Version : Team #3677 Control "teaser"


SenorZ
21-01-2012, 19:31
Can you guess what it's for?

PS: if it appears a little sloppy, its OK. This was written by one of my freshmen with very little LabVIEW experience... and it is not robot-ready.

kinganu123
21-01-2012, 20:08
loading the basketballs and possibly shooting them

DominickC
21-01-2012, 20:12
Well, it appears to be your ball collection control. You have three analog switches. Switch 3 detects the first ball to enter your chamber/holding apparatus, switch 2 detects the second, and switch 1 detects the third. Once switch 1 is tripped by the third ball, you stop your ball collection motors.

SenorZ
21-01-2012, 21:48
Not exactly, but that is the idea: two-stage collector. We decided on a collection method, and needed some logic put into LabVIEW. I'm sure my student will be happy to know his program is readable.

Joe Ross
21-01-2012, 23:47
This seems like a great place to use a state machine.

SenorZ
23-01-2012, 19:30
I'll do some research into the application of the state machine to our setup. Meanwhile, I did a little messing around and came up with this. Still a little sloppy, but I'm learning while the kids learn, too.

The grey circles represent ball positions, that trigger switches.