I am using the Image Acquisition Toolbox with the WINVIDEO adaptor in order to connect to my DCAM camera. The camera works fine in AMCap, and is in-focus when I first open a PREVIEW window in MATLAB. However, it goes out of focus, as though it were trying to focus on a point far in the distance.
In addition, if I send it an auto-focus command, the camera goes into focus, but then again goes out of focus when I execute the START or PREVIEW commands in MATLAB.
My camera connects to MATLAB via both a firewire cable, and through a separate cable to the serial port. The camera's "auto-focus" command is sent through the serial port.
Best Answer