Image Acquisition Control AW0009760300078 Basler aviator GigE7.4.1.3 Setting The Frame Start Trigger Mode and Related ParametersYou can set the Trigger Mode and related parameter values for the frame start trigger from withinyour application software by using the Basler pylon API. If your settings make it necessary, you canalso set the Trigger Source parameter.The following code snippet illustrates using the API to set the Trigger Mode for the frame starttrigger to on and the Trigger Source to input line 1:// Select the frame start triggerCamera.TriggerSelector.SetValue( TriggerSelector_FrameStart );// Set the mode for the selected triggerCamera.TriggerMode.SetValue( TriggerMode_On );// Set the source for the selected triggerCamera.TriggerSource.SetValue ( TriggerSource_Line1 );The following code snippet illustrates using the API to set the Acquisition Mode to continuous, theTrigger Mode to off, and the Acquisition Frame Rate to 60:// Set the acquisition mode to continuous frameCamera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );// Select the frame start triggerCamera.TriggerSelector.SetValue( TriggerSelector_FrameStart );// Set the mode for the selected triggerCamera.TriggerMode.SetValue( TriggerMode_Off );// Set the exposure timeCamera.ExposureTimeAbs.SetValue( 3000 );// Enable the acquisition frame rate parameter and set the frame rate. (Enabling// the acquisition frame rate parameter allows the camera to control the frame// rate internally.)Camera.AcquisitionFrameRateEnable.SetValue( true );Camera.AcquisitionFrameRateAbs.SetValue( 60.0 );// Start frame captureCamera.AcquisitionStart.Execute( );You can also use the Basler pylon Viewer application to easily set the parameters.For more information about the pylon API and the pylon Viewer, see Section 3 on page 21.