Initializing Image Acquisition with FLIR Black Fly camera
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mike
el 11 de En. de 2021
Comentada: Mike
el 19 de En. de 2021
I am using Image Acquisition tools set with a FLIR Blackfly S BFS-U3-515SM camera. In my code I perform the following steps to initialize:
% Connect camera
cam = videoinput('mwspinnakerimaq', 1, 'Mono12Packed');
camProps = getselectedsource(cam);
% Set exposure and Gain
camProps.ExposureAuto = 'Off';
camProps.GainAuto = 'Off';
camProps.ExposureTime = 30001;
The first time I run this code after conencting the camera (USB3) I get the following error message:
Attempt to modify currently read-only or inaccessible property: ExposureTime.
Use IMAQHELP(OBJ, 'ExposureTime') for information.
If I run IMAQTOOL, select my camera in Mono 12 bit packed mode, and then click on "Start Preview" I see the image, and the camera is clearly working properly. I next click on "Stop Preview" and then I exit IMAQTOOL.
Once I have previewed the image in IMAQTOOL the above code suddenly works.
Is there an initialization step I am missing?
0 comentarios
Respuesta aceptada
Anshika Chaurasia
el 19 de En. de 2021
Hi Mike,
You can refer to the following similar MATLAB Answer post:
Hope it helps you!
Más respuestas (0)
Ver también
Categorías
Más información sobre GigE Vision Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!