AW00118508000 Acquisition Control
Basler racer Camera Link 88
Checking the Maximum Allowed Line Rate
You can use the Basler pylon API to read the current value of the ResultingLineRateAbs parameter
from within your application software using the Basler pylon API. The following code snippet
illustrates using the API to get the parameter value:
// Get the resulting line rate
double resultingLps = camera.ResultingLineRateAbs.GetValue();
The ResultingLineRateAbs parameter takes all camera settings that can influence the line rate into
account and indicates the maximum allowed line rate given the current settings.
You can also use the Basler pylon Viewer application to easily read the parameter.
For more information about the pylon API and the pylon Viewer, see Section 3.1 on page 26.
When using direct register access, you work with the "resulting line period" rather than the line
acquisition rate. Once the resulting line period is known, the maximum allowed line acquisition rate
can be determined by:
Check the value of the Resulting Line Period Raw register.
The Resulting Line Period Raw register takes all of camera settings that can influence the line
period into account and indicates the minimum allowed line period given the current settings.
A value in a raw register is simply an integer value with no units. To determine what the actual line
period will be, you must multiply the value in the raw register by the camera’s time base. The time
base on racer cameras is 100 ns.
For example, if you read the Resulting Line Period Raw register and find that its value is 10000, the
resulting line period would be 1 ms (10000 x 100 ns = 1 ms).
For more information about direct register access, see Section 3.2 on page 28.
To determine the resulting line period via direct register access:
Max Line Acquisition Rate
1
Resulting Line Period in Seconds
----------------------------------------------------------------------------------------=