The Robot Framework with Game Code has code in Autonomous Independent to read the line sensors and follow the line. However, the DIO ports are never opened. The solution is to open them in begin and add them to the refnum registry.
See the following thread at the NI FIRST forums:
http://decibel.ni.com/content/thread/8816?tstart=0