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.
logicnests.vi (23.7 KB)
logicnests.vi (23.7 KB)
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.
logicnests.vi (23.7 KB)
logicnests.vi (23.7 KB)
loading the basketballs and possibly shooting them
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.
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.
This seems like a great place to use a state machine.
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.
rollerswitch.vi (10.3 KB)
rollerswitch.vi (10.3 KB)