AW00123409000 Features
Basler ace USB 3.0 337
You can manually adjust the line pitch from within your application software by using the Basler
pylon API. The following code snippet illustrates using the API to set the parameter values. As an
example, the settings are consistent with the example given above (32-byte alignment):
// Enable the line pitch feature and get informed about the enabling
camera.LinePitchEnable.SetValue(true);
bool b = camera.LinePitchEnable.GetValue();
// Read the current line pitch
int64_t i = camera.LinePitch.GetValue();
// Set the minimum required line pitch
camera.LinePitch.SetValue(384);
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 61.