We are running Java and
this post helped us. We added the code in robotInit() (Iterative Robot) and we had a USB camera image displayed in the standard dashboard while the robot was connected to the driver station, even when disabled. This code should be portable to C++ also.