How To Setup An External Trigger In Image Acquisition Toolbox for a Point Grey Grasshopper3

1 vue (au cours des 30 derniers jours)
I have a Grasshopper3 GS3-U3-23S6M USB camera and I would like to trigger continuous recording with an external signal.
I am using MATLAB 9.6 (R2019a), the Image Acquisition Toolbox version 6.0 and the Image Acquisition Toolbox Support Package for Point Grey Hardware.
I have version 2.11.3.121 of Flycap, which came with the toolbox support package.
I have an Arduino set up to deliver an external signal to GPIO3
In matlab I set:
vio = videoinput('pointgrey', 1, 'F7_Mono12_1920x1200_Mode0');
triggerconfig(vio, 'hardware','risingEdge','externalTriggerMode15-Source3');
vio.FramesPerTrigger = Inf;
vio.TriggerRepeat = Inf;
src.TriggerParameter = 1024;
This works perfectly when setup using Flycap2, however when I use Matlab the camera does not start acquiring images when the external trigger is sent.
I have re-installed both flycap and the point grey image Acquisition Toolbox Support Package
I have tried both GPIO0 and 3 as external sources,
I have tried all trigger modes
  2 commentaires
Faber Octavianus
Faber Octavianus le 13 Fév 2020
Hi,
I'm currently facing the similar problem in using Arduino for hardware triggering a point grey Grasshopper3 camera, have you found the solution to this and might want to share it? Thanks.
Ravi Umadi
Ravi Umadi le 15 Fév 2021
I have the exact same problem. I have tried everything, No solution.

Connectez-vous pour commenter.

Réponses (2)

wei zhang
wei zhang le 13 Sep 2019
I've met the same problem too...

wei zhang
wei zhang le 13 Sep 2019
Maybe because the MATLAB failed to hear the signal...
MATLAB used imaging toolbox to control camera, when you directly sent a signal to the camera via GPIO, the MATLAB just couldn't hear it...
Just a guess..
Maybe we should write a adaptor for that?...
  1 commentaire
Ravi Umadi
Ravi Umadi le 15 Fév 2021
Could you tell me more about how to fix this with an adapter? I need to get it working as it is critical for my project. Thanks you

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by