Icon & Quick Hints | Examples |
![]() Begin Hints: Always start an Inventor program with this command. This command will work with all hardware (NXT, RCX, Control Lab). | ![]() |
![]() End Hints: Always end an Inventor program with this command. Each task will need its own end command. This command will work with all hardware (NXT, RCX, Control Lab). | ![]() |
![]() Motor A forward Hints: Use this if you have a motor connected to port A that will be spinning in the forward direction. If you want the motor to spin the other way, use the Motor A Reverse command. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Motor A reverse Hints: Use this if you have a motor connected to port A that will be spinning in the reverse direction. If you want the motor to spin the other way, use the Motor A Forward command. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Lamp A Hints: Use this if you want the lamp connected to port A to turn on. Use the power level modifier to change it from bright (5) to dim (1). Without a modifier, the power level will be 5 (bright). | ![]() |
![]() Stop A Hints: Use this to stop the motor or lamp connected to port A by braking (abrupt stop). To get a more gradual stop, use the float command. | ![]() |
![]() Stop all Outputs Hints: Use this to stop the motors and / or lamps connected to all ports by braking (abrupt stop). To get a more gradual stop, use the float command. | ![]() |
![]() Play Sound Hints: Use this command to get an audio response from the RCX. Change sounds using the sound type drop down menu or a numeric constant modifier. This modifier must be an integer from 1 to 16. Each represents a pre-programmed sound. 1: Key-click, 2: Beep Beep, 3: Descending Sweep, 4: Rising Sweep, 5: Buzz, 6: Fast Rising Sweep, 7: Short Click, 8: Exception (error). Numbers 9-16 play the same sounds, but without the wait - i.e. the program continues while the sound is being played. | ![]() |
![]() Flip Direction Hints: Use this command if to flip the directions of the motors once they are on. Use the ports modifier to flip specific ports. Without a modifier, this command will flip the direction of all ports. This does NOT turn the motor on. It needs to be used in combination with a command that starts the motor or at a point in your program where the motor is already on. | ![]() |
![]() Float outputs Hints: Use this command if you want motors to come to a more gradual stop. This command will simply stop powering the motors. Use the ports modifier to float specific ports. Without a modifier, this command will float all ports. | ![]() |
![]() | ![]() |
![]() Motor C forward Hints: Use this if you have a motor connected to port C that will be spinning in the forward direction. If you want the motor to spin the other way, use the Motor C reverse command. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Hints: Use this if you have a motor connected to port B that will be spinning in the reverse direction. If you want the motor to spin the other way, use the Motor B forward command. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Hints: Use this if you have a motor connected to port C that will be spinning in the reverse direction. If you want the motor to spin the other way, use the Motor C forward command. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Hints: Use this if you want the lamp connected to port B to turn on. Use the power level modifier to change it from bright (5) to dim (1). Without a modifier, the power level will be 5 (bright). | ![]() |
![]() Lamp C Hints: Use this if you want the lamp connected to port C to turn on. Use the power level modifier to change it from bright (5) to dim (1). Without a modifier, the power level will be 5 (bright). | ![]() |
![]() Stop B Hints: Use this to stop the motor or lamp connected to port B by braking (abrupt stop). To get a more gradual stop, use the float command. | ![]() |
![]() Stop C Hints: Use this to stop the motor or lamp connected to port C by braking (abrupt stop). To get a more gradual stop, use the float command. | ![]() This piece of code would turn on the lamp connected to port C for one second and then turn it off. |
![]() Lamp Hints: Use this command to turn on lamps. The ports modifier allows you to choose which lamps you want to turn on. If no modifier is used, this command will turn on all ports. Use the power level command to change from 5 (bright) to 1 (dim). Without a modifier, the power level will be 5. | ![]() This piece of code would turn on lamps connected to ports A and C at power level 3. After 6 seconds, it would turn them off. |
![]() Stop Outputs Hints: Use this to stop motors or turn off lamps. This command abruptly stops motors by braking. To get a more gradual stop, use the float command. Use modifiers to choose which ports to stop. Without a modifier, this command stops all ports. | ![]() |
![]() Motor forward Hints: Use this to turn on the motor(s) in the forward direction. Use the ports modifier to choose which motors to turn on. Without a modifier, this command will turn on all ports. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Motor reverse Hints: Use this to turn on the motor(s) in the reverse direction. Use the ports modifier to choose which motors to turn on. Without a modifier, this command will turn on all ports. Use the power level modifier to change how fast the motor spins, from 1 (slow) to 5 (fast). Without a modifier, the power level will be 5 (fast). | ![]() |
![]() Hints: Use this icon when you want the motor to turn on in a random direction. This icon DOES turn the motor on. The default is to turn on all ports to power level 5. | ![]() |
![]() | ![]() This piece of code turns on motor A in the forward direction at full power for one second, then it changes to power level 3 for ten seconds and turns off. |
![]() Hints: This command just sets the direction to reverse. It does NOT turn the motor on. It needs to be used in combination with a command that starts the motor or at a point in your program where the motor is already on. If the motor is already going in the reverse direction, there will be no change. | ![]() |
![]() Hints: This command just sets the direction to forward. It does NOT turn the motor on. It needs to be used in combination with a command that starts the motor or at a point in your program where the motor is already on. If the motor is already going in the forward direction, there will be no change. | ![]() |
![]() Hints: Use this icon when you want the direction of the motor to be randomly selected. This does NOT turn the motor on. It needs to be used in combination with a command that starts the motor or at a point in your program where the motor is already on. | ![]() This piece of code turns motor A on in the forward direction and then randomly selects a direction for the motor (forward or backward), the motor runs for 10 seconds and is then stopped. |
![]() Turn Outputs On Hints: Use this command to turn on motors and lamps with their last power and direction settings. | |
![]() Motor Forward or Back Hints: Use this command when you want the speed and direction of the motor related to positive and negative numbers. | |
![]() Motor Power Hints: This command will turn on motors at a specified power level. Indicate the motors by using the port A, B, or C icons. To specify a power level, string in a numeric constant. 1to 100 are forward, 0 is stopped (no power), and -1 to -100 are backward. | |
![]() Motor Forward or Back String Hints: This command will turn on motors at a power level specified by a string. Indicate the motors by using the port A, B, or C icons (or encoder A, B, or C in the NXT commands menu). To specify a power level, right-click (control-click for Mac users) on the lower right corner and choose Create Constant. This will allow you to type in the name of a string variable to use to control motor speed. | |