External Triggering of Image Acquisition
7 次查看(过去 30 天)
显示 更早的评论
Hello everybody,
I have met a problem regarded to the triggering of the camera using Image Acquisition toolbox. If anyone can help me, that would be great, thanks in advance.
So, I am using a JAI camera which connected through 'gentl' adaptor. I would like to trigger the acquisition via an external button trigger (home-builded). The day of seeking did not bring me any idea of how to come up with a solution.
As far as I understood I need to use hardware Triggertype rather than a manual one, however, I cannot understand how to get TriggerCondition and TriggerSource which are the DeviceSpecific. Should I know the Trigger properties from the producer (workshop)? Or should I define them by myself?
Thank you.
0 个评论
回答(1 个)
Jeremy
2019-7-31
I don't have any experience with JAI cameras and might be of little help, but I had the same problem with FLIR cameras, for which the hardware trigger is not straigthforward to set in Matlab.
If you haven't tried yet, I would start by just opening the "videosource" object by double-clicking it from the workspace.
Cam = videoinput('gentl');
CamSource = Cam.Source; % ← This "videosource"
This displays an interface in which you can see the different parameters and their accepted values... and try to identify the one that could be the hardware trigger, which you would then have to change accordingly, on top of changing the "normal" trigger properties as you suggested. It could require to change several values (e.g. one to select the input line, and one to enable "external triggers").
You could also look into the SDK manual from JAI to try and find some clues, but it would probably be easier to directly contact someone from JAI and ask for the property names.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!