alliedvision / gst-vimbasrc

Official vimbasrc element for use of Vimba with GStreamer
Other
10 stars 9 forks source link

Triggering with Vimbasrc #26

Open nirushka opened 1 year ago

nirushka commented 1 year ago

Hi,

We are using Alvium 1800 U-319 USB3 camera with vimbasrc and we would like to understand how to use an external triggering. There are no examples or explanations for that.

I see that there are some elements in the vimbasrc but I can't understand their use: 1) triggerselector 2) triggermode 3) triggersource 4) triggeractivation

Our main goal is to send a hardware signal to the camera in order to start the grabbing process (we can send a trigger for each frame as well) Furthermore, should we connect to the camera GPIO in order to do this?

Teresa-AlliedVision commented 11 months ago

Hi, the features correspond to the GenICam features of the camera. Have a look at the Feature Reference for the cameras to see the possible settings and what they do. For Alvium cameras: https://cdn.alliedvision.com/fileadmin/content/documents/products/cameras/various/features/Alvium_Features_Reference.pdf

In the pipeline it should look like this: gst-launch-1.0 vmbsrc camera=DEV_00012D013844 triggeractivation=RisingEdge triggermode=On triggerselector=FrameStart triggersource=Line0 exposureauto=Once ! video/x-raw,format=GRAY16_LE ! videoconvert ! queue ! autovideosink