The LabVIEW code for the program is fairly simple.
The program takes an initial reading for the light sensor and has a loop that continually reads the sensor and compares its value to the initial value. If it sees the darker line it goes in reverse (which effectively turns the robot) and if it sees the lighter floor it continues moving forward.