Functions for configuring camera or sensor specific parameters.
Hardware specific features can be accessed using the generic functions FG_set_special_option() and FG_get_special_option(). The desired feature is specified using a property name. Most properties have an integer value which can be read and written.
Platform and sensor specific properties are described on the following pages:
|
UINT32 DLL_FG_API | FG_get_special_option (const char *option, INT64 *result) |
| Returns a special camera property value.
|
UINT32 DLL_FG_API | FG_set_special_option (const char *option, INT64 arg) |
| Configures a special camera property.
|
◆ FG_get_special_option()
UINT32 DLL_FG_API FG_get_special_option |
( |
const char * | option, |
|
|
INT64 * | result ) |
Returns a special camera property value.
- Parameters
-
option | Property name |
result | Pointer for stroring the property value |
- Returns
- FG_ERROR_CODE_NoError (0) for success, other values indicate an error (see eFG_ERROR_CODE)
◆ FG_set_special_option()
UINT32 DLL_FG_API FG_set_special_option |
( |
const char * | option, |
|
|
INT64 | arg ) |
Configures a special camera property.
- Parameters
-
option | Property name |
arg | Property value |
- Returns
- FG_ERROR_CODE_NoError (0) for success, other values indicate an error (see eFG_ERROR_CODE)
- Example:
- The following example configures the VisionCam XM to use the Multiplexer output 2 as trigger signal.
@ FG_CAMERA_TYPE_X_X_IMAGO_Vxx_AUTO
IMAGO VisionCam/Sensor (automatic)
Definition FG_CameraInterface.h:54
@ FG_TRIGGER_MODE_HARDWARE
Hardware triggered mode.
Definition FG_CameraInterface.h:166
UINT32 DLL_FG_API FG_install_camera(enum eFG_CAMERA_TYPE camera_type,...)
Opens and initializes the camera.
Definition FG_CameraInterface.cpp:278
UINT32 DLL_FG_API FG_set_trigger_mode(enum eFG_TRIGGER_MODE trigger_mode)
Sets the trigger mode.
Definition FG_CameraInterface.cpp:849
UINT32 DLL_FG_API FG_set_special_option(const char *option, INT64 arg)
Configures a special camera property.
Definition FG_CameraInterface.cpp:972