If you are having trouble using the Image
Acquisition Toolbox™ software
with an IEEE® 1394 (FireWire) camera, using the toolbox's
follow these troubleshooting steps:
Verify that your IEEE 1394 (FireWire) camera is plugged into the IEEE 1394 (FireWire) port on your computer and is powered up.
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 MATLAB® Add-Ons. 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.
Verify that your IEEE 1394 (FireWire)
camera can be accessed through the
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
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
To access these devices, use the
See Windows Video Hardware for information.
Make sure you specified the
when you created the video input object. Some IEEE 1394 (FireWire)
cameras can be accessed through either the
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.
Verify that your IEEE 1394 (FireWire) camera is using the Carnegie Mellon University (CMU) DCAM driver version 6.4.6.
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,
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 (
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.
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:
Obtain the CMU DCAM driver files. The Image
Acquisition Toolbox software
includes the CMU DCAM installation file,
in the directory
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.
Start the installation by double-clicking the .exe file.
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.
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
The demo application is among the files you installed in the previous
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.
Select Start > Programs > CMU 1394 Camera > 1394 Camera Demo.
The application opens a window, shown in the following figure.
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 > Select Camera and select the camera you want to use. The Select Camera option is not enabled until after the Check Link option has successfully found cameras.
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.
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.
Select Camera > Show Camera to start acquiring video.
The demo application starts displaying live video in the window.
To exit, select Stop Camera from the Camera menu and then click Exit.