Basler raL2048-48gm User Manual Page 211

  • Download
  • Add to my manuals
  • Print
  • Page
    / 238
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 210
AW00118302000 Chunk Features
Basler racer GigE 201
Result.GetPayloadSize() );
int64_t frameCounter = Camera.ChunkFramecounter.GetValue();
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.
For more information about the pylon Viewer, see Section 3.1 on page 23.
Frame Counter Reset
Whenever the camera is powered off, the frame counter will reset to 0. During operation, you can
reset the frame counter via I/O input 1, I/O input 2, I/O input 3 or software, and you can disable the
reset. By default, the frame counter reset is disabled.
To use the frame counter reset:
Configure the frame counter reset by setting the counter selector to Counter2 and setting the
counter event source to FrameStart.
Set the counter reset source to Line1, Line2, Line3, Software or to Off.
Execute the command if using software as the counter reset source.
You can set the frame counter reset parameter values from within your application software by using
the pylon API. The following code snippets illustrate using the API to configure and set the frame
counter reset and to execute a reset via software.
// configure reset of frame counter
Camera.CounterSelector.SetValue( CounterSelector_Counter2 );
Camera.CounterEventSource.SetValue( CounterEventSource_FrameStart );
// select reset by signal on input line 1
Camera.CounterResetSource.SetValue( CounterResetSource_Line1 );
// select reset by signal on input line 2
Camera.CounterResetSource.SetValue( CounterResetSource_Line2 );
// select reset by signal on input line 3
Camera.CounterResetSource.SetValue( CounterResetSource_Line3 );
// select reset by software
Camera.CounterResetSource.SetValue( CounterResetSource_Software );
// execute reset by software
Camera.CounterReset.Execute();
// disable reset
Camera.CounterResetSource.SetValue( CounterResetSource_Off );
Page view 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 237 238

Comments to this Manuals

No comments