Basler Pioneer User Manual page 92

Gige vision cameras
Table of Contents

Advertisement

Basler Network Drivers and Parameters
(9) Because the maximum number of resend requests has been sent and the last Resend
Response Timeout interval has expired, packet 1002 is now considered as lost.
(10) End of the frame.
(11) Missing packets at the end of the frame (2999 and 3000).
(12) Interval defined by the Packet Timeout parameter.
You can set the performance driver parameter values from within your application software by using
the pylon API. The following code snippet illustrates using the API to read and write the parameter
values:
// Get the Stream Parameters object
Pylon::IStreamGrabber* pStreamGrabber = Camera.GetStreamGrabber(0);
Camera_t::StreamParams_t &StreamParams =
dynamic_cast<Camera_t::StreamParams_t&>( *pStreamGrabber->GetNodeMap() );
// Write the ReceiveWindowSize parameter
StreamParams.ReceiveWindowSize.SetValue( 16 );
// Disable packet resends
StreamParams.EnableResend.SetValue( false );
// Write the PacketTimeout parameter
StreamParams.PacketTimeout.SetValue( 40 );
// Write the ResendRequestThreshold parameter
StreamParams.ResendRequestThreshold.SetValue( 5 );
// Write the ResendRequestBatching parameter
StreamParams.ResendRequestBatching.SetValue( 10 );
// Write the ResendTimeout parameter
StreamParams.ResendTimeout.SetValue( 2 );
// Write the ResendRequestResponseTimeout parameter
StreamParams.ResendRequestResponseTimeout.SetValue( 2 );
// Write the MaximumNumberResendRequests parameter
StreamParams.MaximumNumberResendRequests.SetValue( 25 );
For detailed information about using the pylon API, refer to the Basler pylon Programmer's Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters. (Note that the
performance driver parameters will only appear in the viewer if the performance driver is installed
on the adapter to which your camera is connected.)
82
Basler pioneer

Advertisement

Table of Contents
loading

Table of Contents