This example acquires images from a gige or usb camera using the IMAQdx driver which is part of the Vision Acquisition Software. It's possible to toggle between multiple cameras by selecting the camera name input.
Some USB camera drivers are not capable of acquiring from two cameras simultaneously. Since the IMAQdx driver goes through the camera driver, if the camera driver is unable to acquire from multiple cameras simultaneously, then IMAQdx will not be able to acquire from these cameras simultaneously.
But if you would simple like to be able to toggle between multiple USB camera, you can use the following example for it.
Vision Acquisition Software 2009 "or compatible"
LabVIEW 2009 "or compatible"
GIGe or USB 2.0 Camera
Steps to Implement or Execute Code
1.) Make sure the required software is installed and activated
2.) Test the camera using Measurement & Automation Explorer (MAX)
3.) Close MAX and open "Multiple USB Camera Acquisition 2009.vi"
4.) Select your camera under Camera Name
5.) Run the LabVIEW program
Additional Information or References
Note: To toggel between multiple cameras please select different cameras using the "Camera Name" input.