Vimba C GigE external trigger

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

/// Declaration
VmbHandle_t         cameraHandle = NULL;  
                                    
/// Select ExposureStart trigger
VmbFeatureEnumSet( cameraHandle, "TriggerSelector", "FrameStart");

/// Select Input1 as trigger source
VmbFeatureEnumSet( cameraHandle, "TriggerSource", "Line1");

/// Configure rising edge trigger
VmbFeatureEnumSet( cameraHandle, "TriggerActivation", "RisingEdge");

/// Enable Trigger
VmbFeatureEnumSet( cameraHandle, "TriggerMode", "On");



Zurück zur Übersicht