LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exercises for LabVIEW students?

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. Smiley Happy

0 Kudos
Message 1 of 4
(6,949 Views)

I would suggest to ask over in the NI FIRST Community. Good luck!

 

Also K12lab seems to have good information.

Message 2 of 4
(6,930 Views)

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.

Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(6,880 Views)

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.

0 Kudos
Message 4 of 4
(6,874 Views)