Skip to content

Test Patterns#

The Test Patterns camera feature allows you to check the camera's basic functionality and its ability to transmit images.

Test patterns can be used for maintenance purposes and failure diagnostics. They are generated by the camera itself, i.e., the optics and the image sensor of the camera are not involved in their creation.

Using the Feature#

Displaying Test Patterns#

To display a test pattern:

  1. Select a test pattern by setting the TestPattern parameter to one of the following values (if available):
  2. Acquire at least one image to display the selected test pattern. If you want to display the test pattern in the pylon Viewer, click the single or continuous shot button in the toolbar.

Available Test Patterns#

Depending on your camera model, the following test images are available:

Black#

Completely black test pattern.

White#

Completely white test pattern.

Test Image 1#

  • Consists of fixed diagonal gray gradients ranging from 0 to 255.
  • Is best suited for when the camera is configured for monochrome 8-bit output.

Test Image 2#

  • Consists of moving diagonal gray gradients ranging from 0 to 255. When a new image acquisition is triggered, the image moves left one pixel.
  • Is best suited for when the camera is configured for monochrome 8-bit output.

Test Image 3#

  • Consists of moving diagonal gray gradients ranging from 0 to 4095. When a new image acquisition is triggered, the image moves left one pixel.
  • Is best suited for when the camera is configured for monochrome 12-bit output.

Test Image 6#

  • Available on color cameras only.
  • Consists of moving diagonal color gradients.

Gray Diagonal Sawtooth#

  • Consists of fixed diagonal gray gradients ranging from 0 to 255.
  • Is best suited for when the camera is configured for monochrome 8-bit output.

Color Diagonal Sawtooth#

  • Available on color cameras only.
  • Consists of fixed diagonal color gradients.

Color Bar#

  • Available on color cameras only.
  • Consists of fixed vertical color bars.

Color Bar 2#

  • Available on color cameras only.
  • Consists of fixed vertical color gradients.

Specifics#

Show all camera models

Camera Model Available Test Patterns
a2A1920-51gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A1920-51gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A1920-51gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A1920-51gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A1920-160ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A1920-160ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A1920-160umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A1920-160umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2448-23gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2448-23gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2448-23gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2448-23gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2448-75ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2448-75ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2448-75umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2448-75umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2590-22gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2590-22gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2590-22gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2590-22gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2590-60ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2590-60ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2590-60umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2590-60umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2600-20gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2600-20gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2600-20gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2600-20gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2600-64ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2600-64ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2600-64umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2600-64umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2840-14gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2840-14gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2840-14gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2840-14gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2840-48ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2840-48ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A2840-48umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A2840-48umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A3840-13gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A3840-13gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A3840-13gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A3840-13gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A3840-45ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A3840-45ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A3840-45umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A3840-45umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4096-9gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4096-9gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4096-9gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4096-9gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4096-30ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4096-30ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4096-30umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4096-30umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4200-12gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4200-12gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4200-12gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4200-12gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4200-40ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4200-40ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4200-40umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4200-40umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4504-5gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4504-5gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4504-5gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4504-5gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4504-18ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4504-18ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A4504-18umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A4504-18umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5320-7gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5320-7gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5320-7gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5320-7gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5320-23ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5320-23ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5320-23umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5320-23umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5328-4gcBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5328-4gcPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5328-4gmBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5328-4gmPRO Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5328-15ucBAS Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5328-15ucPRO Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
a2A5328-15umBAS Black
White
Test Image 1
Test Image 2
Test Image 3
a2A5328-15umPRO Black
White
Test Image 1
Test Image 2
Test Image 3
acA640-90gc Test Patterns feature not available (see Test Images)
acA640-90gm Test Patterns feature not available (see Test Images)
acA640-90uc Test Patterns feature not available (see Test Images)
acA640-90um Test Patterns feature not available (see Test Images)
acA640-120gc Test Patterns feature not available (see Test Images)
acA640-120gm Test Patterns feature not available (see Test Images)
acA640-120uc Test Patterns feature not available (see Test Images)
acA640-120um Test Patterns feature not available (see Test Images)
acA640-121gm Test Patterns feature not available (see Test Images)
acA640-300gc Test Patterns feature not available (see Test Images)
acA640-300gm Test Patterns feature not available (see Test Images)
acA640-750uc Test Patterns feature not available (see Test Images)
acA640-750um Test Patterns feature not available (see Test Images)
acA720-290gc Test Patterns feature not available (see Test Images)
acA720-290gm Test Patterns feature not available (see Test Images)
acA720-520uc Test Patterns feature not available (see Test Images)
acA720-520um Test Patterns feature not available (see Test Images)
acA780-75gc Test Patterns feature not available (see Test Images)
acA780-75gm Test Patterns feature not available (see Test Images)
acA800-200gc Test Patterns feature not available (see Test Images)
acA800-200gm Test Patterns feature not available (see Test Images)
acA800-510uc Test Patterns feature not available (see Test Images)
acA800-510um Test Patterns feature not available (see Test Images)
acA1280-60gc Test Patterns feature not available (see Test Images)
acA1280-60gm Test Patterns feature not available (see Test Images)
acA1300-22gc Test Patterns feature not available (see Test Images)
acA1300-22gm Test Patterns feature not available (see Test Images)
acA1300-30gc Test Patterns feature not available (see Test Images)
acA1300-30gm Test Patterns feature not available (see Test Images)
acA1300-30uc Test Patterns feature not available (see Test Images)
acA1300-30um Test Patterns feature not available (see Test Images)
acA1300-60gc Test Patterns feature not available (see Test Images)
acA1300-60gm Test Patterns feature not available (see Test Images)
acA1300-60gmNIR Test Patterns feature not available (see Test Images)
acA1300-75gc Test Patterns feature not available (see Test Images)
acA1300-75gm Test Patterns feature not available (see Test Images)
acA1300-200uc Test Patterns feature not available (see Test Images)
acA1300-200um Test Patterns feature not available (see Test Images)
acA1440-73gc Test Patterns feature not available (see Test Images)
acA1440-73gm Test Patterns feature not available (see Test Images)
acA1440-220uc Test Patterns feature not available (see Test Images)
acA1440-220um Test Patterns feature not available (see Test Images)
acA1600-20gc Test Patterns feature not available (see Test Images)
acA1600-20gm Test Patterns feature not available (see Test Images)
acA1600-20uc Test Patterns feature not available (see Test Images)
acA1600-20um Test Patterns feature not available (see Test Images)
acA1600-60gc Test Patterns feature not available (see Test Images)
acA1600-60gm Test Patterns feature not available (see Test Images)
acA1920-25gc Test Patterns feature not available (see Test Images)
acA1920-25gm Test Patterns feature not available (see Test Images)
acA1920-25uc Test Patterns feature not available (see Test Images)
acA1920-25um Test Patterns feature not available (see Test Images)
acA1920-40gc Test Patterns feature not available (see Test Images)
acA1920-40gm Test Patterns feature not available (see Test Images)
acA1920-40uc Test Patterns feature not available (see Test Images)
acA1920-40ucMED Test Patterns feature not available (see Test Images)
acA1920-40um Test Patterns feature not available (see Test Images)
acA1920-40umMED Test Patterns feature not available (see Test Images)
acA1920-48gc Test Patterns feature not available (see Test Images)
acA1920-48gm Test Patterns feature not available (see Test Images)
acA1920-50gc Test Patterns feature not available (see Test Images)
acA1920-50gm Test Patterns feature not available (see Test Images)
acA1920-150uc Test Patterns feature not available (see Test Images)
acA1920-150um Test Patterns feature not available (see Test Images)
acA1920-155uc Test Patterns feature not available (see Test Images)
acA1920-155ucMED Test Patterns feature not available (see Test Images)
acA1920-155um Test Patterns feature not available (see Test Images)
acA1920-155umMED Test Patterns feature not available (see Test Images)
acA2000-50gc Test Patterns feature not available (see Test Images)
acA2000-50gm Test Patterns feature not available (see Test Images)
acA2000-50gmNIR Test Patterns feature not available (see Test Images)
acA2000-165uc Test Patterns feature not available (see Test Images)
acA2000-165um Test Patterns feature not available (see Test Images)
acA2000-165umNIR Test Patterns feature not available (see Test Images)
acA2040-25gc Test Patterns feature not available (see Test Images)
acA2040-25gm Test Patterns feature not available (see Test Images)
acA2040-25gmNIR Test Patterns feature not available (see Test Images)
acA2040-35gc Test Patterns feature not available (see Test Images)
acA2040-35gm Test Patterns feature not available (see Test Images)
acA2040-55uc Test Patterns feature not available (see Test Images)
acA2040-55um Test Patterns feature not available (see Test Images)
acA2040-90uc Test Patterns feature not available (see Test Images)
acA2040-90um Test Patterns feature not available (see Test Images)
acA2040-90umNIR Test Patterns feature not available (see Test Images)
acA2040-120uc Test Patterns feature not available (see Test Images)
acA2040-120um Test Patterns feature not available (see Test Images)
acA2440-20gc Test Patterns feature not available (see Test Images)
acA2440-20gm Test Patterns feature not available (see Test Images)
acA2440-35uc Test Patterns feature not available (see Test Images)
acA2440-35ucMED Test Patterns feature not available (see Test Images)
acA2440-35um Test Patterns feature not available (see Test Images)
acA2440-35umMED Test Patterns feature not available (see Test Images)
acA2440-75uc Test Patterns feature not available (see Test Images)
acA2440-75ucMED Test Patterns feature not available (see Test Images)
acA2440-75um Test Patterns feature not available (see Test Images)
acA2440-75umMED Test Patterns feature not available (see Test Images)
acA2500-14gc Test Patterns feature not available (see Test Images)
acA2500-14gm Test Patterns feature not available (see Test Images)
acA2500-14uc Test Patterns feature not available (see Test Images)
acA2500-14um Test Patterns feature not available (see Test Images)
acA2500-20gc Test Patterns feature not available (see Test Images)
acA2500-20gcMED Test Patterns feature not available (see Test Images)
acA2500-20gm Test Patterns feature not available (see Test Images)
acA2500-20gmMED Test Patterns feature not available (see Test Images)
acA2500-60uc Test Patterns feature not available (see Test Images)
acA2500-60um Test Patterns feature not available (see Test Images)
acA3088-16gc Test Patterns feature not available (see Test Images)
acA3088-16gm Test Patterns feature not available (see Test Images)
acA3088-57uc Test Patterns feature not available (see Test Images)
acA3088-57ucMED Test Patterns feature not available (see Test Images)
acA3088-57um Test Patterns feature not available (see Test Images)
acA3088-57umMED Test Patterns feature not available (see Test Images)
acA3800-10gc Test Patterns feature not available (see Test Images)
acA3800-10gm Test Patterns feature not available (see Test Images)
acA3800-14uc Test Patterns feature not available (see Test Images)
acA3800-14um Test Patterns feature not available (see Test Images)
acA4024-8gc Test Patterns feature not available (see Test Images)
acA4024-8gm Test Patterns feature not available (see Test Images)
acA4024-29uc Test Patterns feature not available (see Test Images)
acA4024-29um Test Patterns feature not available (see Test Images)
acA4096-11gc Test Patterns feature not available (see Test Images)
acA4096-11gm Test Patterns feature not available (see Test Images)
acA4096-30uc Test Patterns feature not available (see Test Images)
acA4096-30ucMED Test Patterns feature not available (see Test Images)
acA4096-30um Test Patterns feature not available (see Test Images)
acA4096-30umMED Test Patterns feature not available (see Test Images)
acA4096-40uc Test Patterns feature not available (see Test Images)
acA4096-40ucMED Test Patterns feature not available (see Test Images)
acA4096-40um Test Patterns feature not available (see Test Images)
acA4096-40umMED Test Patterns feature not available (see Test Images)
acA4112-8gc Test Patterns feature not available (see Test Images)
acA4112-8gm Test Patterns feature not available (see Test Images)
acA4112-20uc Test Patterns feature not available (see Test Images)
acA4112-20ucMED Test Patterns feature not available (see Test Images)
acA4112-20um Test Patterns feature not available (see Test Images)
acA4112-20umMED Test Patterns feature not available (see Test Images)
acA4112-30uc Test Patterns feature not available (see Test Images)
acA4112-30ucMED Test Patterns feature not available (see Test Images)
acA4112-30um Test Patterns feature not available (see Test Images)
acA4112-30umMED Test Patterns feature not available (see Test Images)
acA4600-7gc Test Patterns feature not available (see Test Images)
acA4600-10uc Test Patterns feature not available (see Test Images)
acA5472-5gc Test Patterns feature not available (see Test Images)
acA5472-5gm Test Patterns feature not available (see Test Images)
acA5472-17uc Test Patterns feature not available (see Test Images)
acA5472-17ucMED Test Patterns feature not available (see Test Images)
acA5472-17um Test Patterns feature not available (see Test Images)
acA5472-17umMED Test Patterns feature not available (see Test Images)
boA4096-93cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA4096-93cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA4112-68cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA4112-68cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA4500-45cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA4500-45cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA4504-100cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA4504-100cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA5320-150cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA5320-150cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA5328-100cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA5328-100cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA6500-36cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA6500-36cm Black
White
Test Image 1
Test Image 2
Test Image 3
boA8100-16cc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
boA8100-16cm Black
White
Test Image 1
Test Image 2
Test Image 3
daA1280-54lc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1280-54lm Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1280-54uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1280-54um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1600-60lc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1600-60lm Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1600-60uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1600-60um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1920-15um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1920-30uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1920-30um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA1920-160uc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
daA1920-160um Black
White
Test Image 1
Test Image 2
Test Image 3
daA2500-14lc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA2500-14lm Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA2500-14uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA2500-14um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
daA3840-45uc Black
White
Test Image 1
Test Image 2
Test Image 3
Test Image 6
daA3840-45um Black
White
Test Image 1
Test Image 2
Test Image 3
puA1280-54uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA1280-54um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA1600-60uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA1600-60um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA1920-30uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA1920-30um Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA2500-14uc Gray Diagonal Sawtooth
Color Diagonal Sawtooth
puA2500-14um Gray Diagonal Sawtooth
Color Diagonal Sawtooth

Sample Code#

// Select test image 1
camera.TestPattern.SetValue(TestImageSelector_Testimage1);
// Acquire images to display the selected test image
// ...
// (Insert your own image grabbing routine here.
// For example, the InstantCamera class provides the StartGrabbing method.)
INodeMap& nodemap = camera.GetNodeMap();
// Select test image 1
CEnumParameter(nodemap, "TestPattern").SetValue("Testimage1");
// Acquire images to display the selected test image
// ...
// (Insert your own image grabbing routine here.
// For example, the InstantCamera class provides the StartGrabbing method.)
// Select test image 1
camera.Parameters[PLCamera.TestPattern].SetValue(PLCamera.TestImageSelector.Testimage1);
// Acquire images to display the selected test image
// ...
// (Insert your own image grabbing routine here.
// For example, the InstantCamera class provides the StartGrabbing method.)
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Select test image 1 */
errRes = PylonDeviceFeatureFromString(hdev, "TestPattern", "Testimage1");
CHECK(errRes);
/* Acquire images to display the selected test image */
/* ... */
/* (Insert your own image grabbing routine here. */
/* For example, the InstantCamera class provides the StartGrabbing method.) */

You can also use the pylon Viewer to easily set the parameters.

Back to top