info_framegrabberπ
Short descriptionπ
info_framegrabber β Query information about the specified image acquisition interface.
Signatureπ
info_framegrabber( string Name, string Query, out string Information, out string ValueList )
Descriptionπ
The operator info_framegrabber returns information about the image
acquisition device Name. The desired information is specified via
Query. A textual description according to the selected
topic is returned in Information. If applicable,
ValueList contains a list of supported values. Up to now,
the following queries are possible:
-
'bits_per_channel': List of all supported values for the parameter
BitsPerChannel, seeopen_framegrabber. -
'camera_type': Description and list of all supported values for the parameter
CameraType, seeopen_framegrabber. -
'color_space': List of all supported values for the parameter
ColorSpace, seeopen_framegrabber. -
'defaults': Interface-specific default values in
ValueList, seeopen_framegrabber. -
'device': List of all supported values for the parameter
Device, seeopen_framegrabber. -
'external_trigger': List of all supported values for the parameter
ExternalTrigger, seeopen_framegrabber. -
'field': List of all supported values for the parameter
Field, seeopen_framegrabber. -
'general': General information (in
Information). -
'generic': Generic value with device-specific meaning, see
open_framegrabber. -
'horizontal_resolution': List of all supported values for the parameter
HorizontalResolution, seeopen_framegrabber. -
'image_height': List of all supported values for the parameter
ImageHeight, seeopen_framegrabber. -
'image_width': List of all supported values for the parameter
ImageWidth, seeopen_framegrabber. -
'info_boards': Information about actually installed boards or cameras. This data is especially useful for the auto-detect mechanism of the Image Acquisition Assistant in HDevelop.
-
'line_in': List of all supported values for the parameter
LineIn, seeopen_framegrabber. -
'parameters': List of all interface-specific parameters which are accessible via
set_framegrabber_paramorget_framegrabber_param. -
'parameters_readonly': List of all interface-specific parameters which are only accessible via
get_framegrabber_param. -
'parameters_writeonly': List of all interface-specific parameters which are only accessible via
set_framegrabber_param. -
'port': List of all supported values for the parameter
Port, seeopen_framegrabber. -
'revision': Version number of the image acquisition interface.
-
'start_column': List of all supported values for the parameter
StartColumn, seeopen_framegrabber. -
'start_row': List of all supported values for the parameter
StartRow, seeopen_framegrabber. -
'vertical_resolution': List of all supported values for the parameter
VerticalResolution, seeopen_framegrabber.
Please check also the directory doc/html/reference/acquisition
for documentation about specific image grabber interfaces.
Attentionπ
For a multithreaded application,
info_framegrabber, open_framegrabber, and
close_framegrabber are executed exclusively. Thus,
they block the concurrent execution of each other, but run in
parallel with all non-exclusive operators outside of this group.
On Windows Systems, error dialog boxes from the operating system can occur when dependency modules of the interface are not found, e.g., the according SDK was not installed. The occurrence of the error boxes can be controlled by setting Windowsβ Error Mode. Please refer to the description of SetErrorMode within the Windows MSDN documentation.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
Name (input_control) string β (string)
HALCON image acquisition interface name, i.e., name of the corresponding DLL (Windows) or shared library (Linux).
Default: 'File'
Suggested values: 'ABS', 'ADLINK', 'AlkUSB3', 'Andor', 'BitFlow', 'Crevis', 'DahengCAM', 'DirectFile', 'DirectShow', 'Ensenso-NxLib', 'File', 'FocalSpecLCI', 'GenICamTL', 'GigEVision2', 'GingaDG', 'Ginga++', 'GStreamer', 'heliCamC3', 'KeyenceLJ', 'KeyenceVJ', 'LinX', 'LPS36', 'LuCam', 'MatrixVisionAcquire', 'MediaFoundation', 'Metavision', 'MILLite', 'MultiCam', 'O3D3xx', 'Opteon', 'PhoXi', 'PixeLINK', 'RealSense', 'SaperaLT', 'Sentech', 'SICK-3DCamera', 'SICK-ScanningRuler', 'SiliconSoftware', 'TWAIN', 'uEye', 'USB3Vision', 'Video4Linux2', 'VRmUsbCam'
Query (input_control) string β (string)
Name of the chosen query.
Default: 'info_boards'
List of values: 'bits_per_channel', 'camera_type', 'color_space', 'defaults', 'device', 'external_trigger', 'field', 'general', 'generic', 'horizontal_resolution', 'image_height', 'image_width', 'info_boards', 'parameters', 'parameters_readonly', 'parameters_writeonly', 'port', 'revision', 'start_column', 'start_row', 'vertical_resolution'
Information (output_control) string β (string)
Textual information (according to Query).
ValueList (output_control) string-array β (string / integer / real)
List of values (according to Query).
Exampleπ
(HDevelop)
* Select a suitable image acquisition interface name AcqName
info_framegrabber(AcqName,'port',Information,Values)
* Open image acquisition device using the default settings, see
* documentation of the actually used interface for more details
open_framegrabber(AcqName,1,1,0,0,0,0,'default',-1,'default',-1.0, \
'default','default','default',-1,-1,AcqHandle)
grab_image(Image,AcqHandle)
close_framegrabber(AcqHandle)
Resultπ
If the parameter values are correct and the specified image acquisition
interface is available, info_framegrabber returns the value
2 (H_MSG_TRUE). Otherwise an exception is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
Possible successors
See also
Moduleπ
Foundation