- How do I use container.ctl?
There is, of course, always the case where it is useful to use more than the standard three containers. In this case it is useful to define your own container using container.ctl. All of the containers have their own designation, starting with red they number 0, 1, 2, ... and so on. This is wh ...
- Create a program that will use the touch sensor to control the direction of the motors.
Use loops so that you can make your motors switch directions every time you press the touch sensor. Change the value "20" to the number of loop cycles you require. ses
- Create a pair of RCX to RCX communication programs, using mail to remotely control a vehicle.
1. Have RCX1 beep and wait for the touch sensor. After the touch sensor is pushed in it sends mail to RCX2. 2. Have RCX2 turn Motor A on for 2 seconds when it receives the mail from RCX1. ses
- Why is there a blank picture when I click on define sensor in vision center?
When you click on define sensor you might only see a blank image. This occurs because the image windows in vision center are blank when you open it. The user needs to snap a picture to use while developing the operations for the sensors. Click where the pointer is shown above, on the snap ima ...
- How do I export data from investigator to EXCEL?
1. Go to the upload data section of ROBOLAB 2. Select File -> Export -> Page 3. Choose the data set you want to export to excel 4. Run EXCEL and within EXCEL select File -> Open 5. Select the file you exported from ROBOLAB 6. Follow the text import wizard's instructions ses
- How do I data log two things at once in ROBOLAB?
To data log with more than one sensor in ROBOLAB you just have to make sure that you initialize each sensor and start and stop the data logging for each data set you want to record. You can start and stop data logging for different sensors at the same time or at different times. Here is an exa ...
- During installation of ROBOLAB 2.5.4 I get a message to reboot. What should I do?
Please ignore the request to reboot until you see the message, “ROBOLAB 2.5.4 has finished installation.” If you have rebooted before the installation was completed, please install ROBOLAB 2.5.4 again in order to ensure it is installed properly on your computer.
- How can I tell which event has been triggered?
If you have more than one event, and only one event land, they all land at the same place. However, this does not mean that there is no point in having multiple events. Instead, this brings up the issue of how to tell which event has been triggered. To determine which event is being triggered, u ...
- Is there any way to get a floating point value (decimal) into a container?
No. There is no way to get a floating point (decimal value) into a container in ROBOLAB. Containers only support integers. Below is a program demonstrating this constraint: AG ses
- Can I change the display on the NXT during my ROBOLAB program?
Yes. With the Change View icon in the NXT Commands folder in ROBOLAB, you can change the display on the NXT. The display can be changed from its regular view to sensor values, motor speeds or the data log graph. ks
- When I use the "stop" command in ROBOLAB 2.9, the motors only coast to a stop. How can I command the NXT motors to stop on a dime?
In the initial version of ROBOLAB 2.9, the stop comand does not work properly. The NXT motors coast to a stop rather than stopping abruptly. There is a way to program around this bug in Inventor so that the motors will stop abruptly without reversing direction: 1. Insert an "Optimize" function ...
- My program won't do what I told it to do!
If the program seems to skip over a task, most likely there was no 'wait for' condition after the tasks in the program. This means that the tasks in the program were run, but so fast that it appears the program is doing nothing. For example, assume there is a program in which motors A and C mov ...
- How can I change the pitch of a note?
Changing the octave will change the pitch of a note. Below are two C notes played one octave above middle C and one C note played two octaves above middle C: You can also wire in a 'play any note' function and wire in the frequency and duration of the note to be played: See the question "Cre ...
- Using the Timer and RCX Display
The RCX display block, found in the "RCX Communications" palette, is a great way to see what data the RCX is taking in. It can be used to show readouts of container or sensor values, and even the RCX's internal timer. The program below is for a simple stopwatch. It uses one touch sensor to star ...
- How do I configure a container?
Unlike other programming languages, containers do not need to be declared. However, you still need to give them values. For example, to set the blue container to a value of ten you use the fill container command, with a constant of 10 wired in: If you are doing multiple operations to the same ...
- Create a program that can send large values through the RCX mail system.
Mail values are limited to 255. However, the program below is a sample of a simple method to get around that. This is the send program: This is the receive program: The program breaks the big number into three two digit sections and then puts it back together on the other side. The pro ...
- Which touch sensor data logging icon should I use in ROBOLAB?
There are three different touch sensor data logging icons. All of the icons can be found under the Investigator folder. Each one is useful for different applications. The first icon is the NXT Initialize Touch Sensor Logging icon. This logs a value of 1 whenever the touch sensor is pushed i ...
- What is the difference between the timer and the clock?
The RCX has four ways of timing: three onboard timers and one clock. The clock measures time in minutes whereas the timers can be used to measure down to .01s second intervals. This makes the timers more accurate, which is convenient for timing rapidly occurring events. AG ses
- Is it possible to use the same VI to load programs on two different RCXs?
The best way to use one load one VI onto multiple RCXs is to use multiple IR towers. Wire in the advanced RCX start signs and make sure to wire in the correct port values: AG ses
- I'm using Mac OS X 10.4, and ROBOLAB crashes whenever I try to open a file from a library. What should I do?
There is a bug in NI LabVIEW software (the engine behind ROBOLAB) that causes Macs running OS X 10.4 to crash when you try to open a file from a library. The error you will read something like "THMutexCreate." The only way to avoid this error is to not use the "multicolumn view" in the File -- ...