RoboLab Events Example

RoboLab allows the setup, monitoring, and decoding of up to 15 events. This case shows two events, but suggests a method for handling more.

The two sensors used are a light sensor on port 2 and a touch sensor on port 3.

The only lego parts required are the RCX, a light sensor, a touch sensor, and 1 wire for the touch sensor.

The program uses subvis (sub programs) that are also provided. (Just click on the icon in the program.)

Robot wiring

RCX ConnectionInput or Output
A not used
B not used
C not used
1 not used
2 light sensor
3 touch sensor

RoboLab Event Example Blue event setup SubVi Yellow event setup SubVi Increment counter SubVi Show containers 7,6,5, and 4 SubVi Increment counter SubVi Show containers 7,6,5, and 4 SubVi Increment counter SubVi Increment counter SubVi
Doug Frevert