how cam start the trigger
11 次查看(过去 30 天)
显示 更早的评论
Hi, please help me , how can I start trigger in these .m file? those it have specific syntax or somthing else . my matlab is r2012a and i attach my .m file.
Error using imaqdevice/trigger (line 49)
OBJ must be running before TRIGGER is used.
Error in start (line 101)
trigger([vid1 , vid2]);
thanks for devote your time for me.
3 个评论
Geoff Hayes
2016-8-1
Unfortunately, I don't have the Image Acquisition Toolbox so cannot provide much more help. Perhaps someone more familiar with this toolbox will be able to.
回答(3 个)
Scott Harris
2021-6-16
编辑:Scott Harris
2021-6-16
For those still looking, initialize the camera before trying to trigger it:
cam = videoinput('gentl', 1); %specify video object
triggerconfig(cam, 'manual'); %allow for manual frame triggering
start(cam) %initialize
trigger(cam); %trigger
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Point Grey Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!