get_framegrabber_param🔗
Short description🔗
get_framegrabber_param — Query specific parameters of an image acquisition device.
Signature🔗
get_framegrabber_param( framegrabber AcqHandle, string Param, out string Value )
Description🔗
The operator get_framegrabber_param returns specific parameter
values for the image acquisition device specified by AcqHandle. The
standard parameters listed below are available for all image acquisition
devices. Additional parameters may be supported by a specific image
acquisition device. A list of those parameters can be obtained with the
query 'parameter' via info_framegrabber.
Standard values for Param, see open_framegrabber:
-
'name' Name of the image acquisition interface.
-
'horizontal_resolution' Horizontal resolution of the image acquisition device.
-
'vertical_resolution' Vertical resolution of the image acquisition device.
-
'image_width' Width of the specified image part.
-
'image_height' Height of the specified image part.
-
'start_row' Row coordinate of upper left corner of specified image part.
-
'start_column' Column coordinate of upper left corner of specified image part.
-
'field' Selected video field or full frame.
-
'bits_per_channel' Number of transferred bits per pixel and image channel.
-
'color_space' Color space of resulting image.
-
'generic' Generic value with device-specific meaning.
-
'external_trigger' External triggering ('true'/ 'false').
-
'camera_type' Type of used camera (interface-specific).
-
'device' Device name of the image acquisition device.
-
'port' Port the image acquisition device is connected to.
-
'line_in' Camera input line of multiplexer (optional).
Attention🔗
For a multithreaded application,
info_framegrabber, open_framegrabber, and
close_framegrabber are executed exclusively.
get_framegrabber_param runs in parallel with all non-exclusive
operators inside and outside of this group.
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🔗
AcqHandle (input_control) framegrabber → (handle)
Handle of the acquisition device to be used.
Param (input_control) string(-array) → (string)
Parameter of interest.
Default: 'revision'
Suggested values: 'bits_per_channel', 'camera_type', 'color_space', 'continuous_grabbing', 'device', 'external_trigger', 'field', 'generic', 'grab_timeout', 'horizontal_resolution', 'image_available', 'image_height', 'image_width', 'line_in', 'name', 'port', 'revision', 'start_column', 'start_row', 'vertical_resolution', 'volatile'
Value (output_control) string(-array) → (string / real / integer / handle)
Parameter value.
Result🔗
If the image acquisition device is open and the specified parameter
is supported, the operator get_framegrabber_param returns the
value 2 (H_MSG_TRUE). Otherwise an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
open_framegrabber, set_framegrabber_param
Possible successors
grab_image, grab_data, grab_image_start, grab_image_async, grab_data_async, set_framegrabber_param, close_framegrabber
See also
open_framegrabber, info_framegrabber, set_framegrabber_param
Module🔗
Foundation