Basler A400K Manual de usuario Pagina 130

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 194
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 129
Features
122 Basler aviator Camera Link
Setting an Auto Function AOI Using Basler pylon
You can select an Auto Function AOI and set the X Offset, Y Offset, Width, and Height parameter
values for the Auto Function AOI from within your application software by using the pylon API. The
following code snippet illustrates using the API to select Auto Function AOI one and to get the
maximum allowed settings for the Width and Height parameters. The snippet also illustrates setting
the X Offset, Y Offset, Width, and Height parameter values.
// Select auto function AOI 1
// Set position and size of the selected auto function AOI
Camera.AutoFunctionAOISelector.SetValue( AutoFunctionAOISelector_AOI1 );
Camera.AutoFunctionAOIOffsetX.SetValue( 0 );
Camera.AutoFunctionAOIOffsetY.SetValue( 0 );
Camera.AutoFunctionAOIWidth.SetValue( Camera.AutoFunctionAOIWidth.GetMax() );
Camera.AutoFunctionAOIHeight.SetValue( Camera.AutoFunctionAOIHeight.GetMax() );
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 4 on page 45.
Setting an Auto Function AOI Using Direct Register Access
To set the X Offset, Y Offset, Width, and Height for Auto Function 1 via direct register access:
Set the value of the Auto AOI 1 Left register to set the X offset.
Set the value of the Auto AOI 1 Top register to set the Y offset.
Set the value of the Auto AOI 1 Width register to set the width.
Set the value of the Auto AOI 1 Height register to set the height.
To set the X Offset, Y Offset, Width, and Height for Auto Function 2 via direct register access:
Set the value of the Auto AOI 2 Left register to set the X offset.
Set the value of the Auto AOI 2 Top register to set the Y offset.
Set the value of the Auto AOI 2 Width register to set the width.
Set the value of the Auto AOI 2 Height register to set the height.
For more information about changing settings via direct register access, see Section 4 on page 45.
Vista de pagina 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 193 194

Comentarios a estos manuales

Sin comentarios