DCAM IEEE 1394 (FireWire) Hardware on Windows

Troubleshooting DCAM IEEE 1394 Hardware on Windows

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:

  1. Verify that your IEEE 1394 (FireWire) camera is plugged into the IEEE 1394 (FireWire) port on your computer and is powered up.

  2. 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.

  3. Verify that your IEEE 1394 (FireWire) camera can be accessed through the dcam adaptor.

    • 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.

  4. Verify that your IEEE 1394 (FireWire) camera is using the Carnegie Mellon University (CMU) DCAM driver version 6.4.6.

      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).

Installing the CMU DCAM Driver on Windows

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.

Installing the Driver

To install the CMU DCAM driver on your system, follow this procedure:

  1. Obtain the CMU DCAM driver files. The Image Acquisition Toolbox software includes the CMU DCAM installation file, 1394camera646.exe, in the directory

    matlabroot\toolbox\imaq\imaqextern\drivers\win32\dcam 

    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.

  2. 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.

    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.

Running the CMU Camera Demo Application on Windows

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.

  1. Select Start > Programs > CMU 1394 Camera > 1394 Camera Demo.

  2. The application opens a window, shown in the following figure.

  3. 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.

  4. 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.

  5. 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.

  6. Select Camera > Show Camera to start acquiring video.

    The demo application starts displaying live video in the window.

  7. To exit, select Stop Camera from the Camera menu and then click Exit.

Was this topic helpful?