You can “scale” any content going into a Picture Control (e.g. scale up or scale down) using the ZoomFactor command. This will affect all images, coordinates, etc. The instructions for setting the ZoomFactor are written out on the Block Diagram of the attached VI.
Help Videos
Specify NXT/EV3
There is a function in the MINDSTORMS Module for LabVIEW that allows you to specify a particular NXT or EV3 connected to your computer. This is useful in Direct Mode only when you might have more than one brick connected (via USB or Bluetooth) and want different parts of your code to use particular functions […]
Changing Picture Button (Front Panel)
Here is how to make a front panel button that is a picture (by putting a picture behind a transparent button!).
Record and Playback Motors
How to record positions on the EV3 motor, store them in an array, and then play back. Using the LEGO MINDSTORMS EV3 and programmed in LabVIEW. Here is a higher-resolution version of the code shown in the video.
Midterm Exam Review Questions
Here is a practice exam. And the answers. Here are solutions to the midterm exam review questions LEGO MINDSTORMS and LabVIEW Exam Questions: Calculating Gear Ratios Related Help Videos: Gear Trains Part 1: https://www.youtube.com/watch?v=oc6KYnBu7AM Gear… LEGO MINDSTORMS and LabVIEW Exam Questions: Color Modes Related Help Videos: Color Sensor Part 1: https://www.youtube.com/watch?v=if1yk4WiaiQ Color Sensor Pa… LEGO […]
Front Panel Picture Control (v5)
Top Down Video Game
Front Panel Control (v4)
These tutorials explore further the options of loading in images into a Front Panel Control (background) and loading images on top of that (e.g. moving images in front of the background). Here is a backgroud loaded, and then a masked image moving in front. Here is the code to make the masked image move across […]
Front Panel Picture Control (v3)
This takes a Front Panel Picture Cotnrol and adds random balls (determined by the user before beginning) and moves them around the screen. The position and direction they are heading (x-pos, y-pos, x-dir, y-dir) is determined by the cluster values stored in an array (one cluster per ball). The direction, for both x and y, […]
Front Panel Picture Control (pt 2)
This code introduces arrays. It creates two different arrays: the first (for the horizontal position), is a constant array of 5 elements that are hard-coded/pre-set. The second (for the vertical position), randomly generates the five points (so different each time the code is run). Version one of the code controls a small dot on the […]
Front Panel Picture Control (pt 1)
This example shows how to draw circles on a Front Panel Picture Control and then control circles position via the LEGO motor. Location of Front Panel Picture Control (add to your Front Panel) Here is the “output” of the code, drawing two empty circles for eyes and then controlling (by the motor) the inner filled-in […]
Beeps and Displays (Debugging)
Using Beeps/Display for debugging: having the NXT make beeps or display to the screen can be helpful for debugging, especially in Remote Mode Part 1: Overvie… Using Beeps/Display for debugging: having the NXT make beeps or display to the screen can be helpful for debugging, especially in Remote Mode Part 2: Demonst… Note: video created […]
Highlight Execution
The Highlight Execution feature is helpful for tracing the execution of your program Part 1: Overview of the Highlight Execution feature The Highlight Execution feature is helpful for tracing the execution of your program Part 2: Demonstration of Highlight Execution in LabVIEW Note: video created for LabVIEW 2012 and the MINDSTORMS Module for NXT
Run Button and Debugging
Explanation of the Run Button and how to use it for debugging Part 1: Overview of Run Button and "broken arrow" error Explanation of the Run Button and how to use it for debugging Part 2: Demonstration of Run Button and "broken arrow" in LabVIEW Note: video created for LabVIEW 2012 and the MINDSTORMS Module […]
Context Help
Using the Context Help feature of LabVIEW for getting more information about functions Part 1: Overview of the Context Help Using the Context Help feature of LabVIEW for getting more information about functions Part 2: Context Help window within LabVIEW Note: video created for LabVIEW 2012 and the MINDSTORMS Module for NXT
Wiring Tricks
Wiring in LabVIEW Suggestions for maintaining good wires in LabVIEW Note: video created for LabVIEW 2012 and the MINDSTORMS Module for NXT