open_framegrabber

<< Click to Display Table of Contents >>

Navigation:  Halcon Interface > Operators >

open_framegrabber

This operator is used to create an acquisition handle.

 

Parameters

open_framegrabber ('Ensenso-NxLib', 0, 0, 0, 0, 0, 0, 'default', 0, ColorSpace, Generic, 'false', CameraType, Device, 0, 0, AcqHandle)

Parameter

Values

Default

Description

ColorSpace

'Raw', 'Rectified'

'Raw'

Specifies if the Raw or Rectified image is returned by the 'grab_image' operator.

Generic

[-1, 'auto_grab_data=0', 'auto_grab_data=1', 'parallel_execution=0', 'parallel_execution=1']

-1

Activate/deactivate the 'auto_grab_data' and 'parallel_execution' flag. By default 'auto_grab_data' is activated and 'parallel_execution' is deactivated. See the 'grab_data' and Executing Commands topics for more information on the effects.

Note: You need at least version 1.9 of the NxLib to use the parallel execution.

CameraType

'Stereo', 'Monocular', 'Item'

'Stereo'

Describes the type of the handle.

Device

['', '<serial_number>', '<node_path>']

''

Specifies to which node / camera the handle is going to refer to.

Depending on the type of the handle, this will be by default either the root node or the first detected Stereo/Monocular device.

AcqHandle



A variable where the created handle is stored.

 

Additional Infos

If the created handle is of type 'Stereo' or 'Monocular', the referred device will be automatically opened.