Basler Camera Uživatelský manuál Strana 178

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 244
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 177
Features AW00098504000
168 Basler ace Camera Link
Setting Stacked Zone ImagingUsing Basler pylon
You can set the parameter values associated with stacked zone imaging from within your
application software by using the Basler pylon API. The following code snippets illustrate using the
API to set up two zones.
// Enable stacked zone imaging
Camera.StackedZoneImagingEnable.SetValue( true );
// Set the width and offset X for the zones
Camera.Width.SetValue( 200 );
Camera.OffsetX.SetValue( 100 );
// Set zone 1
// Select the zone
Camera.StackedZoneImagingIndex.SetValue( 1 );
// Enable the selected zone
Camera.StackedZoneImagingZoneEnable.SetValue( true );
// Set the offset Y for the selected zone
Camera.StackedZoneImagingZoneOffsetY.SetValue( 100 );
// Set the height for the selected zone
Camera.StackedZoneImagingZoneHeight.SetValue( 100 );
// Set zone 2
// Select the zone
Camera.StackedZoneImagingIndex.SetValue( 2 );
// Enable the selected zone
Camera.StackedZoneImagingZoneEnable.SetValue( true );
// Set the offset Y for the selected zone
Camera.StackedZoneImagingZoneOffsetY.SetValue( 250 );
// Set the height for the selected zone
Camera.StackedZoneImagingZoneHeight.SetValue( 200 );
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.1 on page 19.
Zobrazit stránku 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 243 244

Komentáře k této Příručce

Žádné komentáře