Vimba .NET C# GigE external trigger

This C# sample code for the Vimba .NET API shows how to configure the external trigger mode of GigE cameras.
During continuous acquisition, each frame should be triggered by an external signal with rising edge on Input1.

/// Declaration
AVT.VmbAPINET.Camera camera;

/// Select ExposureStart trigger
camera.Features["TriggerSelector"].EnumValue = "FrameStart";

/// Select Input1 as trigger source
camera.Features["TriggerSource"].EnumValue = "Line1";

/// Configure rising edge trigger
camera.Features["TriggerActivation"].EnumValue = "RisingEdge";

/// Enable trigger
camera.Features["TriggerMode"].EnumValue = "On";



Back to list