AW00097603000 Image Acquisition ControlBasler aviator GigE 697.3.3 Setting The Acquisition Start Trigger Mode andRelated ParametersYou can set the Trigger Mode and Trigger Source parameters for the acquisition start trigger andalso set the Acquisition Frame Count parameter value from within your application software byusing the Basler pylon API.The following code snippet illustrates using the API to set the Trigger Mode to on, the TriggerSource to software, and the Acquisition Frame Count to 5:// Set the acquisition mode to continuous(the acquisition mode must// be set to continuous when acquisition start triggering is on)Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );// Select the acquisition start triggerCamera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );// Set the mode for the selected triggerCamera.TriggerMode.SetValue( TriggerMode_On );// Set the source for the selected triggerCamera.TriggerSource.SetValue ( TriggerSource_Software );// Set the acquisition frame countCamera.AcquisitionFrameCount.SetValue( 5 );The following code snippet illustrates using the API to set the Trigger Mode to on, the TriggerSource to line 1, the Trigger Activation to rising edge, and the Acquisition Frame Count to 5:// Set the acquisition mode to continuous(the acquisition mode must// be set to continuous when acquisition start triggering is on)Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );// Select the acquisition start triggerCamera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );// Set the mode for the selected triggerCamera.TriggerMode.SetValue( TriggerMode_On );// Set the source for the selected triggerCamera.TriggerSource.SetValue ( TriggerSource_Line1 );// Set the activation mode for the selected trigger to rising edgeCamera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );// Set the acquisition frame countCamera.AcquisitionFrameCount.SetValue( 5 );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.