Capturing images from an interframing GigE camera using the Image Acquisition toolbox

6 views (last 30 days)
Hello,
I am trying to use Matlab’s Image Acquisition Toolbox to acquire image data from a camera with Gige-interface. The camera that I use is an interframing CCD camera from Baumer Optronic (type: TXG50). With installation of the gige adaptor the camera is really fast connected via Matlab and immediately usable. What an amazing interface! However, there is still a problem that I cannot solve. Maybe somebody has been faced the problem.
The CCD interframe camera features a double shutter mode. This means that, in my case, after a trigger event two consecutive images can be recorded with a very short time delay in between (shorter than the standard framerate, for example a time delay of 1ms). For that mode the BoSequencer (property of the Baumer camera) is enabled and all other necessary sub-properties, e.g. the exposure time for each individual frame, is properly set (I did test it with the vendor’s software, there it works). However, with Matlab and the Image Acquisition tool (GUI), I cannot acquire any frame. When I start the measurement, the camera is waiting and waiting for the external trigger event. Nothing happens until termination of the measurement.
My general settings (part of it) are:
vid = videoinput(gige,1,Mono8);
triggerconfig(vid, hardware,DeviceSpecific,DeviceSpecific);
vid.LoggingMode = memory;
vid.FramesPerTrigger = 2; % I did also test 1 -> no effect
vid.TriggerRepeat = Inf; % I did also test 1 -> no effect
%
set(vid.Source,TriggerMode,On);
set(vid.Source,TriggerSource,Line0); % Line0 = external trigger input
%
% some settings regarding the double shutter mode (BoSequencer properties of the camera)
set(vid.Source, BoSequencerEnable, On) % in order to set the double shutter mode on
set(vid.Source, BoSequencerRunOnce,On);
set(vid.Source, BoSequencerFreeRun,Off);
% … some further settings like BoSequencerExposure … (the exposure for each frame is set separately )
set(vid.Source, BoSequencerStart,On);
%
start(vid)
Without the double shutter mode (BoSequencerEnable is set to ‘Off’) everything works fine, i.e. with or without trigger (software, external) and so forth.
Your help is really appreciated!
Many thanks in advance JoeKoe
PS: I'm using:
Toolbox version: 4.8 (R2014b, 30 days trial) MATLAB version: 8.4 (R2014b, 30 days trial) Installed adaptors: gentl, gige

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!