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.
How Do I
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 […]
Here is how to make a front panel button that is a picture (by putting a picture behind a transparent button!).
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.
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 […]
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 […]
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, […]
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 […]
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 […]
These are some tutorials used in Fall 2013 when the class used the NXT brick (the previous LEGO MINDSTORMS before the EV3) on how to do NXT-to-NXT communication (both with Bluetooth and other techniques). NXT-to-NXT Communication: https://es93-06.k12engineering.com/2013/10/10/nxt-to-nxt-communication/ Send NXT Motor Commands: https://es93-06.k12engineering.com/2013/10/17/nxt-to-nxt-send-motor-commands/ Remote Control Example: https://es93-06.k12engineering.com/2013/10/17/remote-control-two-way-communication/
1) STEP 1: Create sound file using Audacity( http://audacity.sourceforge.net/ ) or similar program. Export the edited file in .wav format to your desktop. 2) STEP 2: In the Labview Front Panel, Create a path to the file ( Modern—String and Path— File Path). Use the Operate Value (finger) to locate (provide a path to) your sound file on the desktop. […]
You can create up to four linked EV3s (a “Master” and three layers of “Slaves”). Refer tutorial attached for instructions. To access sensor values on a sensor connected to a Slave, you need to use the “Sensor Port” constant. It is not possible to do this by simply “right-click > create constant” on the Read […]
Drive the speed of one motor by the amount of rotation of a second. This (version 1) directly inputs the value of the B motor into the power of the A motor. The “reset rotation” at the beginning of the code, before the start of the While Loop, just ensures when the program starts it […]
How to control the speed of a motor based on the value read on the light sensor. This (Version 1) reads the ambient light in the room and drives the power of the motor. It happens continuously and instantly. Covering up the light sensor (making it “go to zero”) will stop the motor; putting the […]