Sorry, I may have led you down the wrong path.
If all you're trying to do is get the image to show on the default dashboard, I think you just need to configure your camera correctly.
I could be wrong, but you shouldn't need special code on the cRIO unless you're trying to process images locally on it.
See these links:
http://wpilib.screenstepslive.com/s/...manual-id=8559
http://wpilib.screenstepslive.com/s/...view-dashboard
Sorry I cant be of more help, I don't have any hardware here to test with at the moment and we have used smart dashboard in the past, and it's as simple as adding a widget and pointing it to the right IP:
Getting started w/ smartdashboard
http://wpilib.screenstepslive.com/s/...sion-installer