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
Code Layout
Good code layout in LabVIEW Writing good code in LabVIEW Note: video created for LabVIEW 2012 and the MINDSTORMS Module for NXT
Toolbar and Diagram Tools
Toolbar and Diagram Tools useful for manipulation block diagrams Part 1: Toolbar Functions Toolbar and Diagram Tools useful for manipulation block diagrams Part 2: Diagram Tools Toolbar and Diagram Tools useful for manipulation block diagrams Part 3: Location of Toolbar and Diagram Tools in LabVIEW Note: video created for LabVIEW 2012 and the MINDSTORMS Module […]