how cam start the trigger
古いコメントを表示
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 年 7 月 31 日
mohamad - have you read through the working with triggers to see how to set a Manual Trigger (which may be what you are doing)? Do you have to configure the trigger type with
triggerconfig(vidobj, 'manual')
?
mohamad almasi
2016 年 7 月 31 日
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
kingston lui
2017 年 3 月 23 日
0 投票
HI,I met the same problem. Have you found out the solution?
Taiem Hasan
2018 年 4 月 27 日
0 投票
ii also have same error...if any 1 have the solution thn plz send it
カテゴリ
ヘルプ センター および 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!