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

조회 수: 6 (최근 30일)
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
Faber Octavianus
Faber Octavianus 2020년 2월 13일
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 2021년 2월 15일
I have the exact same problem. I have tried everything, No solution.

댓글을 달려면 로그인하십시오.

답변 (2개)

wei zhang
wei zhang 2019년 9월 13일
I've met the same problem too...

wei zhang
wei zhang 2019년 9월 13일
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
Ravi Umadi
Ravi Umadi 2021년 2월 15일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by