Gocator Line Profile Sensors - User Manual
Tools and Native Drivers • GenTL Driver • 453
Procedures
Description
To schedule a
sensor
to start after a delay (ticks or microseconds), pass
GenTL/Sensor
in
the first call to
set_framegrabber_param
, followed by the remaining calls to the
function as described in the previous example:
set_framegrabber_param( AcqHandle, ‘XMLSettings’, ‘GenTL/Sensor’)
Generating Halcon Acquisition Code
Halcon lets you insert acquisition code into your code in the IDE.
To generate acquisition code:
1.
In Halcon, in the
Assistants
menu, click
Open New Image Acquisition
.
2.
In the dialog that opens, in the
Code Generation
tab, set
Acquisition Mode
to
Asynchronous Acquisition
.
3.
Under
Acquisition
, click
Insert Code
to generate the code that will open the acquisition device.
To handle cases when the
grab_image
function times out while waiting for data, add a
try-catch
statement around the
grab_image
function code.
After the example code is generated, you should add a
catch
instruction to bypass the acquisition
timeout event, and use the
function to extract information from the returned
image.
An example,
Continuous_Acq.hdev
, is included in the
Examples/Halcon
directory and is shown
below:
Summary of Contents for Gocator 2100 Series
Page 197: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 197 ...
Page 215: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 215 ...
Page 462: ...Gocator Line Profile Sensors User Manual Specifications Sensors 462 Dimensions Envelope ...
Page 464: ...Gocator Line Profile Sensors User Manual Specifications Sensors 464 Envelope ...
Page 466: ...Gocator Line Profile Sensors User Manual Specifications Sensors 466 Dimensions Envelope ...
Page 468: ...Gocator Line Profile Sensors User Manual Specifications Sensors 468 Dimensions Envelope ...
Page 470: ...Gocator Line Profile Sensors User Manual Specifications Sensors 470 Dimensions ...
Page 471: ...Gocator Line Profile Sensors User Manual Specifications Sensors 471 Envelope ...
Page 473: ...Gocator Line Profile Sensors User Manual Specifications Sensors 473 Dimensions ...
Page 474: ...Gocator Line Profile Sensors User Manual Specifications Sensors 474 Envelope ...
Page 476: ...Gocator Line Profile Sensors User Manual Specifications Sensors 476 Dimensions ...
Page 477: ...Gocator Line Profile Sensors User Manual Specifications Sensors 477 Envelope ...
Page 479: ...Gocator Line Profile Sensors User Manual Specifications Sensors 479 Dimensions ...
Page 480: ...Gocator Line Profile Sensors User Manual Specifications Sensors 480 Envelope ...
Page 484: ...Gocator Line Profile Sensors User Manual Specifications Sensors 484 Dimensions ...
Page 485: ...Gocator Line Profile Sensors User Manual Specifications Sensors 485 Envelope ...
Page 487: ...Gocator Line Profile Sensors User Manual Specifications Sensors 487 Dimensions ...
Page 488: ...Gocator Line Profile Sensors User Manual Specifications Sensors 488 Envelope ...
Page 491: ...Gocator Line Profile Sensors User Manual Specifications Sensors 491 Dimensions ...
Page 492: ...Gocator Line Profile Sensors User Manual Specifications Sensors 492 Envelope ...
Page 506: ...Gocator Line Profile Sensors User Manual Specifications Master Hubs 506 Master 810 Dimensions ...