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.

请先登录,再进行评论。

回答(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?...

Community Treasure Hunt

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

Start Hunting!

Translated by