How to enable trigger out signal of Basler USB 3.0 camera ?

31 ビュー (過去 30 日間)
Jenifer NG
Jenifer NG 2023 年 3 月 2 日
コメント済み: Carl Haugan 2023 年 5 月 2 日
Dear All,
I connect my Basler camera to matlab through GenTL toolbox.
Could anyone success to enable trigger out signal of Basler camera ? Please guide me
My camera is : Basler ace acA4112-20um
It has a function to generate trigger out signal base on 'Exposure Active'.
This is mycode export from Image Acquisition toolbox.
v = videoinput("gentl", 1, "Mono8");
info = imaqhwinfo(v);
width_res = info.MaxWidth;
height_res = info.MaxHeight;
v.ROIPosition = [width_res/2 height_res/2 1280 1280];
src = getselectedsource(v);
src.AutoTargetBrightness = 0.5019608;
src.ExposureTime = 1000;
src.LineSelector = "Line3";
src.LineMode = "Output";
img = getsnapshot(v);
Thanks and Regards!
Han

採用された回答

Vanshika Vaishnav
Vanshika Vaishnav 2023 年 3 月 9 日
Configure camera for FrameStart trigger mode and specify external triggering signal input line and desired trigger condition.
This requires setting the TriggerSelector first; once a TriggerSelector value is selected, setting a trigger property (for example, TriggerMode to 'on') applies only to the specified trigger mode (FrameStart).
for more information, refer this MATLAB answer:-
  1 件のコメント
Carl Haugan
Carl Haugan 2023 年 5 月 2 日
Hello, I read the original question as trying to use the camera's output line to indicate 'Exposure Active'.
I'm using a Ximea camera and would also like to use this functionality.
The question is marked as answered, but the link is to using the trigger input line, it doesn't seem to provide any insights into configuring camera output line.
Are there any examples showing the configuration of camera ouputs?
Thanks for any help,
Carl

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by