There is a
tutorial on ni.com/frc that describes the steps to put the camera on the switch and how to change the dashboard to view that camera. It doesn't discuss doing the image processing on the laptop, but since LV code is highly portable, you can drag or copy/paste your code into the dashboard to feed from that camera, and then all you have to do is communicate back to the robot.
Doing the communications is much like doing the dashboard in reverse, but I'd suggest TCP instead of UDP, and it will only take about three icons on the laptop and three on the robot. You may benefit from looking at some TCP examples. Or look at the top row of TCP icons in the Connectivity/Protocols/TCP palette. One machine Opens the connections, the other listens. One machine writes and the other reads. Both close. The things you transfer need to be strings. The way that the dashboard does this is use the flatten to string and unflatten from string nodes.
Ask more questions if you are stuck.
Greg McKaskle