Clear Filters
Clear Filters

how to control basler camera frame rate

3 views (last 30 days)
Does someone is able to control the frame high frame rate of balser camera as well as to trigg it by hardware ?

Answers (1)

Prasad Mendu
Prasad Mendu on 18 Jul 2016
Edited: Prasad Mendu on 18 Jul 2016
To control the frame rate, first access the device's video source using 'getselectedsource' function and then configure the device's frame rate. Refer to the example below as a reference:
% Access an image acquisition device.
vidobj = videoinput('winvideo', 1);
% Access the device's video source and configure the device's frame rate.
% FrameRate is a device specific property, therefore, it may not be supported by
% some devices.
frameRate = 30;
src = getselectedsource(vidobj);
src.FrameRate = num2str(frameRate);

Community Treasure Hunt

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

Start Hunting!