We currently have a two usb camera setup. One for tracking and one for general vision. We want to toggle the view between the two cameras on the dashboard. We tried creating a global variable from teleop to the vision vi with no luck controling the view. We did look through the previous threads on this issue.
This is how I did. There is a little delay between the press and the change, but very minimal.
olidem123 way is how we finally got it to work. You have to make your own dashboard.