Error when setting exposure time
조회 수: 31 (최근 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
2025년 12월 18일 19:30
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!