how cam start the trigger

4 vues (au cours des 30 derniers jours)
mohamad almasi
mohamad almasi le 31 Juil 2016
Modifié(e) : Scott Harris le 16 Juin 2021
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 commentaires
mohamad almasi
mohamad almasi le 31 Juil 2016
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 le 1 Août 2016
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.

Connectez-vous pour commenter.

Réponses (3)

kingston lui
kingston lui le 23 Mar 2017
HI,I met the same problem. Have you found out the solution?

Taiem Hasan
Taiem Hasan le 27 Avr 2018
ii also have same error...if any 1 have the solution thn plz send it

Scott Harris
Scott Harris le 16 Juin 2021
Modifié(e) : Scott Harris le 16 Juin 2021
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

Catégories

En savoir plus sur MATLAB Support Package for IP Cameras dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by