Error when setting exposure time
16 次查看(过去 30 天)
显示 更早的评论
I use this to grab the camera I am using,
app.vidobj = imaq.VideoDevice('gentl', 1, 'Mono8');
Then I want to set the exposure time.
relase(app.vidobj);
app.vidobj.DeviceProperties.ExposureTime = 14000;
But I am getting an error:
Unable to set the 'ExposureTime' property of class 'DeviceProperties' because it is read-only.
Any idea what is wrong?
I can change the gamma setting with the same code but with no error.
The camera is a FLIR USB3 camera if that makes any difference.
1 个评论
dpb
7 minutes 前
What is wrong is you're trying to set a read-only property.
If this is a frame grabber, you probably can only set a frame rate.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 National Instruments Frame Grabbers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!