Standard Features AW00097603000
202 Basler aviator GigE
Configuring Sequence Sets and Advance Control Using Basler pylon
You can use the pylon API to set the parameters for configuring sequence sets from within your
application software.
The following code snippet gives example settings. It illustrates using the API to set the auto
sequence advance mode, set the total number of sequence sets to 2, set the numbers of
consecutive sequence set executions and populate sequence sets 0 and 1 by storing the sequence
parameter values from the active set in the sequence sets:
// Disable the sequencer feature
Camera.SequenceEnable.SetValue( false );
// Set the Auto sequence advance mode
Camera.SequenceAdvanceMode.SetValue( SequenceAdvanceMode_Auto );
// Set the total number of sequence sets
Camera.SequenceSetTotalNumber.SetValue( 2 );
// Select sequence set with index number 0
Camera.SequenceSetIndex.SetValue( 0 );
// Set up the first acquisition scenario (lighting, object position,
etc.) and
// adjust the camera parameters for the best image quality.
// Set the number of sequence set uses
Camera.SequenceSetExecutions.SetValue( 1 );
// Store the sequence parameter values from the active set in the
selected sequence
// set
Camera.SequenceSetStore.Execute( );
// Select sequence set with index number 1
Camera.SequenceSetIndex.SetValue( 1 );
// Set up the second acquisition scenario (lighting, object position,
etc.) and
// adjust the camera parameters for the best image quality.
// Set the number of sequence set uses
Camera.SequenceSetExecutions.SetValue( 4 );