I only set that code up for Axis cameras. Yesterday I posted some code (link below) which will work for two USB cameras.
http://www.chiefdelphi.com/forums/sh...d.php?t=133771
*edit* sorry, I realized a better explanation was in order.
The Axis Cameras and USB Camera images are buffered by the Rio. How this buffering is accomplished is very different between the two. The Axis cameras stream JPG images to the RIO over the network. In order to minimum latency and memory requirements, the standard code continuously reads the images from the networkand buffers them. This buffer is passed by reference to the "send 2 PC" vi which transfers the image to the dashboard. The USB camera buffering is automatically handled in the background by either the driver of labview itself. In order to read the image, you just need to call the IMAQ vi which reads the image buffer. The samples provided are each specifically tailored to the camera types. The example provided in this thread is specifically tailored to switching between the Axis camera buffer references and sending this to the Send2PC vi. The USB one provided will close & reopen the camera (not a big issue due to small time delay).
It should be possible to combine the two into one function and automatically switch between them. I just haven't had the time to do so yet. In the mean time, I can only attempt type specific code. I do plan to improve these samples as I have time, but we have a week 1 event and we're going to be pressed as is.