
Gocator Line Profile Sensors: User Manual
Tools and Native Drivers • 574
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’)
To clear data buffers::
set_framegrabber_param(AcqHandle,'XmlCommand','GenTL/ClearData\n')
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.
Summary of Contents for Gocator 2130
Page 250: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 250...
Page 262: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 262 2D View 3D View...
Page 263: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 263 Measurement Panel...
Page 279: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 279 Measurement Panel...
Page 285: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 285...
Page 292: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 292 Measurement Panel...
Page 298: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 298 2D View 3D View...
Page 305: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 305 2D View 3D View...
Page 309: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 309 2D View 3D View...
Page 586: ...Gocator Line Profile Sensors User Manual Specifications 587 Dimensions Envelope...
Page 588: ...Gocator Line Profile Sensors User Manual Specifications 589 Envelope...
Page 590: ...Gocator Line Profile Sensors User Manual Specifications 591 Dimensions Envelope...
Page 592: ...Gocator Line Profile Sensors User Manual Specifications 593 Dimensions Envelope...
Page 594: ...Gocator Line Profile Sensors User Manual Specifications 595 Dimensions...
Page 595: ...Gocator Line Profile Sensors User Manual Specifications 596 Envelope...
Page 597: ...Gocator Line Profile Sensors User Manual Specifications 598 Dimensions...
Page 598: ...Gocator Line Profile Sensors User Manual Specifications 599 Envelope...
Page 600: ...Gocator Line Profile Sensors User Manual Specifications 601 Dimensions...
Page 601: ...Gocator Line Profile Sensors User Manual Specifications 602 Envelope...
Page 603: ...Gocator Line Profile Sensors User Manual Specifications 604 Dimensions...
Page 604: ...Gocator Line Profile Sensors User Manual Specifications 605 Envelope...
Page 608: ...Gocator Line Profile Sensors User Manual Specifications 609 Dimensions...
Page 609: ...Gocator Line Profile Sensors User Manual Specifications 610 Envelope...
Page 611: ...Gocator Line Profile Sensors User Manual Specifications 612 Dimensions...
Page 612: ...Gocator Line Profile Sensors User Manual Specifications 613 Envelope...
Page 615: ...Gocator Line Profile Sensors User Manual Specifications 616 Dimensions...
Page 616: ...Gocator Line Profile Sensors User Manual Specifications 617 Envelope...