LEGO Engineering

> ROBOLAB Software | | | | | | | |
ROBOLAB Software rss button
( 3 7)     «« | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | | »»
:
  1. questionI keep getting the error message "You have a While loop Jump without a Land," but I don't have any jumps or lands in my program.
    The mistake in your program may actually be that you have a fork split without a fork merge. ROBOLAB does not have an error message specific to forks, so the "Jump without a Land" error appers for non-merged forks as well as for omitted landings. For more information about wiring forks, see the ...

  2. questionHow do I wire task splits?
    Task splits allow the RCX and NXT to execute two tasks at the same time. Here is an example of how to use a task split: The biggest mistake people make is to try to simply connect the wires instead of using the task split icon: The other major problem people have is attempting to merge tasks: ...

  3. questionWhat is the difference between the wait for light and wait for brighter commands?
    The major difference between the wait for light and the 'wait for brighter' is that 'wait for brighter' is a relative command and 'wait for light' is an absolute command. 'Wait for brighter' waits until the value of the light sensor changes by a specified amount (the default is 5), and 'wait for ...

  4. questionWrite a program to make a car drive forward until the touch sensor has been pressed 4 times.
    Use the "Loop While Number of Touches and Releases is Less Than" icon. A sample solution is below. Note: the modifier is 8 because 4 depressions of the touch sensor also includes 4 releases. ses

  5. questionHow do I use Piano Player?
    With the RCX, Piano Player is a convenient way to create musical tones instead of wiring in each individual note in the program. It is accessed through Projects -> Piano Player. Click on the keys to create a song. You can hear it played either on the computer or on the RCX by selecting the i ...

  6. questionHow do I do algebra with containers?
    There are many available functions to do simple operations to containers. The following multiplies the value of the blue container by five. This means that there needs to be a value in the blue container already. You can also use the values of other containers. For example, the following divid ...

  7. questionHow many containers are there?
    There are 48 containers available. Containers 0, 1 and 2 correspond to the Red, Blue, and Yellow containers respectively. Containers 3-22 correspond to user-defined 'generic' containers. Containers 23-47 correspond to task-specific containers used for data logging and other task-specific variabl ...

  8. questionMy camera is plugged in, but ROBOLAB can't recognize it.
    Drivers may need to be installed or ROBOLAB may need a restart. 1. Make sure that your camera drivers have been installed. If you are using Windows 2000, there are camera drivers available on the ROBOLAB CD under the "Support Material" directory. If you are using a Mac, camera drivers can be do ...

  9. questionWhy won't the ROBOLAB Internet Server connect over the internet?
    Problem: The ROBOLAB Internet Server will not connect over the internet, even if it works on a LAN. Solution: By default, the ROBOLAB server is configured to use port 3239. Changing this value requires manually opening the default.prf file in a text editor and typing in a new value. You will ne ...

  10. questionWhat is a task split?
    A task split creates a line of code that is executed simultaneously with another line of code. As a consequence, hardware conflicts can occur if both tasks are trying to control the same output device at the same time. The following code compiles and executes, but there is a conflict because m ...

  11. questionHow do I edit a wired in number?
    There are many different tools that can be used to edit various features in ROBOLAB. To cycle through them, you can tap the TAB key or click on Window -> Show Tool Palette to see the toolbar containing the tools. The tool used to edit text (and add comments) is selected in the screen shot be ...

  12. questionCreate an echo-locator.
    Similar to a bat with a sonar echo locator, this program uses light to measure distance, with sound as a feedback. Using your RCX or NXT, and a light sensor, develop your own echo locator. Part 1: This program should use the light sensor value to determine the frequency of the note played. The ...

  13. questionHow do I use wait for container / timer / clock?
    There are many different 'wait for' commands, all of which can be found in the 'wait for' menu. Timers pause the program until the time has changed by a specified value. Likewise, the 'wait for' commands pause the program until a specified event occurs. For example, in the following piece of co ...

  14. questionHow do I log multiple data sets in ROBOLAB Investigator 4 and 5?
    Logging multiple data sets is exactly like logging individual data sets except you need to remember to initialize, start, and stop logging all of the data sets that you want to use. Here is a very simple example where two data sets are logged at the same time: Here is a slightly more compl ...

  15. questionHow do I save multiple ROBOLAB programs on the NXT, or rename rbl?
    To save multiple ROBOLAB programs to the NXT, you need to use the Begin NXT icon instead of the normal Begin icon. The icon is found in the NXT Commands folder. When placed in your program the icon will have a pink box wired to it where you can write a name for your program. When you run your pr ...

  16. questionROBOLAB Training Missions Download Error
    RoboLab Training Missions Download Error (version 2.5.2) If the error occurs in the Training Missions only and does not interfere with your ability to download programs in RoboLab, try the following: 1. Locate the RoboLab folder on your machine where the program was installed. 2. Copy (don' ...

  17. questionMy subroutine is not working.
    Motor B is programmed to run as a Subroutine, but it will not turn on until you tell it to. Make sure to insert the Subroutine icon into the top string at the point where you want the subroutine to run. ses

  18. questionWhat is an event?
    An event is something that the program monitors for, no matter what else is going on. For this reason it is very useful to use events to get out of infinite loops created by jumps. The example below is a simple example of when to use events. The car goes in a square until its light sensor rea ...

  19. questionRun motor A for 10s.
    ses

  20. questionHow can a program be written to tell the difference between even and odd numbers?
    It would be possible to have the RCX or NXT count up to the number with a container, toggling between even and odd, but that wouldn't be as rapid a solution for very large values to test. This part of the program tests whether or not the value in the red container is even or odd. The yellow con ...

( 3 7)     «« | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | | »»

Home | About Us | Contact Us

© 2013 Center for Engineering Educational Outreach, Tufts University
© 2013 The LEGO Group. All rights reserved.