10-29-2011 06:11 AM
Hey. I'm in an FRC (FIRST Robotics Competition) team, and this year I get to teach the new kids how to program in LabVIEW. However, I'm having a tough time thinking about good execises that will help them practice the LV interface, programming basics and also some motor control or sensor reading. What can you suggest?
Cheers.
10-29-2011 02:57 PM - edited 10-29-2011 03:01 PM
I would suggest to ask over in the NI FIRST Community. Good luck!
Also K12lab seems to have good information.
10-31-2011 11:58 AM
Here is a good one for beginners
http://k12lab-support-pages.s3.amazonaws.com/lvbasichome1.html
But just look though the two cites altenbach suggested and find what will work best for you.
10-31-2011 12:10 PM
I put together a simple VI with a picture indicator and some joystick functions, so that by pushing the joystick the students could make a circle move around within the picture indicator. I then asked them to modify that VI so that things would happen when they push buttons on the joystick - for example, fill that circle with a color. Then make it a toggle, to see the difference versus having it happen only when the button is held down. Use the joystick throttle to make the circle grow and shrink. If your joystick has a rotation axis, simulate an omni-directional drive by changing the shape to a rectangle and then rotating it with the rotation axis. Depending on how advanced your students are, there are all sorts of options - add some momentum so that the circle slides to a stop when the joystick is released. Limit the travel to the edges (or make it bounce at the borders). Add a second ball that moves randomly - first in one axis, then across the entire area. Use the PID functions to have the first ball follow the randomly-moving one. There are all sorts of options that don't require a working robot.