how cam start the trigger

조회 수: 4 (최근 30일)
mohamad almasi
mohamad almasi 2016년 7월 31일
편집: Scott Harris 2021년 6월 16일
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
mohamad almasi
mohamad almasi 2016년 7월 31일
hi geoff it's my appreciate to see you again in helping me, actually yes as you mentioned me I checked it but it seems doesn't can rescue me
Geoff Hayes
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개)

kingston lui
kingston lui 2017년 3월 23일
HI,I met the same problem. Have you found out the solution?

Taiem Hasan
Taiem Hasan 2018년 4월 27일
ii also have same error...if any 1 have the solution thn plz send it

Scott Harris
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

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by