|On this page…|
If you are having trouble using the Image Acquisition Toolbox™ software with an IEEE® 1394 (FireWire) camera, using the toolbox's dcam adaptor, follow these troubleshooting steps:
With previous versions of the Image Acquisition Toolbox, the files for all of the adaptors were included in your installation. Starting with version R2014a, each adaptor is available separately through the Support Package Installer. In order to use the Image Acquisition Toolbox, you must install the adaptor that your camera uses, in this case, the DCAM support package. See Image Acquisition Support Packages for Hardware Adaptors for information about installing the adaptors.
Make sure the camera is compliant with the IIDC 1394-based Digital Camera (DCAM) specification. Vendors typically include this information in documentation that comes with the camera. If your digital camera is not DCAM compliant, you might be able to use the winvideo adaptor. See Windows Video Hardware for information.
Make sure the camera outputs data in uncompressed format. Cameras that output data in Digital Video (DV) format, such as digital camcorders, cannot use the dcam adaptor. To access these devices, use the winvideo adaptor. See Windows Video Hardware for information.
Make sure you specified the dcam adaptor when you created the video input object. Some IEEE 1394 (FireWire) cameras can be accessed through either the dcam or winvideo adaptors. If you can connect to your camera from the toolbox but cannot access some camera features, such as hardware triggering, you might be accessing the camera through a DirectX® driver. See Creating a Video Input Object for more information about specifying adaptors.
Note The toolbox only supports connections to IEEE 1394 (FireWire) DCAM-compliant devices using the CMU DCAM driver. The toolbox is not compatible with any other vendor-supplied driver, even if the driver is DCAM compliant.
To verify this, run the demo application provided by CMU, 1394CameraDemo.exe. This demo application is among the files you install from the CMU driver archive file when you install the CMU DCAM driver — see Installing the CMU DCAM Driver on Windows. To learn how to run the demo application, see Running the CMU Camera Demo Application on Windows.
If the demo application recognizes the camera, the camera is set up to use the CMU DCAM driver and is ready for use by the toolbox.
If the demo application does not recognize the camera, install the CMU DCAM driver. See Installing the CMU DCAM Driver on Windows for instructions.
If the demo application recognizes your camera, but the toolbox still does not, verify that the camera complies with the correct DCAM specification version for the camera and the correct DCAM CMU driver version required by the toolbox. For the correct information about supported hardware, visit the Image Acquisition Toolbox product page at the MathWorks Web site (www.mathworks.com/products/imaq).
The Image Acquisition Toolbox software supports acquiring data from IEEE 1394 (FireWire) cameras that support the IIDC 1394-based Digital Camera (DCAM) specification. To use a DCAM compliant camera, you must use the DCAM driver created by Carnegie Mellon University (CMU) to connect to these devices.
Note The CMU DCAM driver is the only DCAM driver supported by the toolbox. You cannot use vendor-supplied drivers, even if they are compliant with the DCAM specification.
To install the CMU DCAM driver on your system, follow this procedure:
where matlabroot represents the name of your MATLAB® installation directory.
You can also download the DCAM driver directly from CMU. Go to the Web site www.cs.cmu.edu/~iwan/1394 and click the download link.
On the first page of the installation wizard under Select components to install, select the first three items in the installation list, and click Next. On the second page of the wizard, accept the default location or browse to a new one, and click Install.
Note: To install the DCAM driver on a 32-bit Windows® 7 system, you must run the installation program as administrator. Open the folder containing the installer EXE file. Right-click on it and choose Run as administrator. If you do not do this, it will fail to install some of the necessary files.
You may need to get your camera recognized after installing the driver. If this happens, open Device Manager and select the camera software. Right-click it and choose Update Driver Software. Browse for the vendor driver software and install it.
The Carnegie Mellon University (CMU) DCAM driver distribution includes a camera demo application, named 1394CameraDemo.exe. The demo application is among the files you installed in the previous section.
You can use this demo application to verify whether your camera is using the CMU DCAM driver. The following describes the step-by-step procedure you must perform to access a camera through this demo application.
From the Camera Demo application, select Camera > Check Link. This option causes the demo application to look for DCAM-compatible cameras that are available through the IEEE 1394 (FireWire) connection.
The demo application displays the results of this search in a pop-up message box. In the following example, the demo application found a camera. Click OK to continue.
Select Camera > Init Camera. In this step, the demo application checks the values of various camera properties. The demo application might resize itself to fit the video format of the specified camera. If you see the following dialog box message, click Yes.
Note: If you are using 1394b, select Camera > 1394b Support, and then check the Maximum Speed option after choosing 1394b support. If you do not see 400 MB per second or higher, refer to the customer technical solution on that topic, http://www.mathworks.com/support/solutions/data/1-3LNN8U.html.
The demo application starts displaying live video in the window.