I have searched through the other threads and not found information to solve our switch delay.
Our team is trying to implement two USB cameras (Microsoft HD3000). We only want to stream one image at a time to the dashboard. The modifications we have made are to VisionProcessing (duplicate camera setup for USB 1 camera, True/False.vi to switch between USB 0 and USB1 to select camera name), GetImageSafe, and Dashboard (True/False switch to select USB 0 or USB 1).
The problem is that it takes ~13 seconds to switch from USB 0 to USB 1 or vice versa. The Camera Swap button on the Dashboard is used to switch between the two USB cameras. I monitored some of the points in the SendImagestoPC and found that most of the time there is error 56. Just as the swapped image appears the error clears and then returns to error 56.
The errors are:
ERROR -1074360319 IMAQdx Start Acquisition.viNI-IMAQdx: (Hex 0xBFF69001) Internal error
ERROR -1074360310 IMAQdx Open Camera.viNI-IMAQdx: (Hex 0xBFF6900A) Camera is already in use.
ERROR -1074360316 IMAQdx Stop Acquisition.viNI-IMAQdx: (Hex 0xBFF69004) Invalid camera session
ERROR -1074360317 IMAQdx Get Image2.viNI-IMAQdx: (Hex 0xBFF69003) Invalid pointer
The delay and errors seem to be from the GetImageSafe vi.
Unfortunately the forum will not allow me to post attachments.