MATLAB: Do I receive an error that I am unable to write to DCAM registers using the CMU DCAM adaptor and Image Acquisition Toolbox

acquireavtcameradcamdevicefirewireformatframegetsnapshotimageImage Acquisition Toolbox

I am using an AVT FireWire camera with the CMU DCAM adaptor to acquire image frames. The following code has been used to initialize and create a video input object:
imaqreset;
vid = videoinput('dcam', 1, 'F7_RGB24_3272x2469_mode1');
Despite that the video format is supported by the device I sometimes receive this error message:
??? Error using ==> videoinput.videoinput at 315
The FORMAT specified is not supported by this device. See
IMAQHWINFO(ADAPTORNAME).
At other times when I then acquiring an image frame using the GETSNAPSHOT function:
frame = getsnapshot(vid);
I receive this error message:
??? Error using ==> imaqdevice.getsnapshot at 63
dcam: Cannot write to the DCAM camera registers.

Best Answer

This is an issue with the firewire interface hardware and how the CMU DCAM driver interfaces it. Choose a FireWire card that is known to be compatible with the AVT camera and that works more reliably with it.
AVT has tested and qualified the FireWire cards at the top of the list on:
<http://www.goavt.com/accessories.asp>