How to enable two camera viewing?

I was wondering if there is anyway to enable two cameras on my robot to view from two different angles. If possible, how? We have USB controllers that hook into the roboRio and use Labview programming. Any help is appreciated.

I don’t know how to do it in Labview, but in Java you can just create two instances of the autostreaming object (one with 0 as the parameter, the other with 1).

My team was not satisfied with the very poor quality video required to avoid USB limitations, so we ended up toggling which object was “active” and streaming both on the same channel. This is probably much different in Labview since it uses different classes than those I mentioned in the first paragraph.


UsbCamera camera = CameraServer.getInstance().startAutomaticCapture(0);
UsbCamera camera = CameraServer.getInstance().startAutomaticCapture(1);
// etc.

For future programmers who have no idea what he’s on about.

For LabVIEW, just open the camera and store the refnum with a name. The server to publish the cameras is already in the template, and will show up on the dashboard. The compression and other settings can be set from the dashboard.

Greg McKaskle