
AW00118501000 Acquisition Control
Basler racer Camera Link 67
Using Basler pylon to Check the Maximum Allowed Line Rate
You can use the Basler pylon API to read the current value of the Resulting Line Rate Abs
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 Resulting Line Rate Abs 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 15.
Using Direct Register Access to Check the Maximum Allowed Rate
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:
To determine the resulting line period:
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 1 µs.
For example, if you read the Resulting Line Period Raw register and find that its value is 10000, the
resulting line period would be 10000 µs (10000 x 1 µs = 10000 µs).
For more information about direct register access, see Section 3.2 on page 19.
MaxLine Acquisition Rate
1
Resulting Line Period in Seconds
----------------------------------------------------------------------------------------=
Kommentare zu diesen Handbüchern