open_framegrabber

<< Click to Display Table of Contents >>

Navigation:  3rd Party Interfaces > 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 (with CameraType: 'Stereo', 'Monocular')

['', '<serial_number>', '<eeprom_id>']

''

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

By default the first detected Stereo/Monocular device is referenced.

Device (with CameraType: 'Item')

['','<node_path>']

''

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

By default the the root of the tree is referenced.

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.

If the Value of the Device with type 'Stereo' or 'Monocular' can be interpreted as eeprom id, it will be used as one. Eeprom ids are integer values from 1 to 254.