![]() |
IDS peak comfortC
v1.1.0
|
Modules | |
| Flash start delay property | |
| Flash end delay property | |
| Flash duration property | |
Data Structures | |
| struct | peak_flash_mode |
| peak Flash mode More... | |
Macros | |
| #define | PEAK_FLASH_MODE_EXPOSURE_ACTIVE |
| peak Flash mode preset: Exposure active on flash output More... | |
| #define | PEAK_FLASH_MODE_ACQUISITION_ACTIVE |
| peak Flash mode preset: Acquisition active on flash output More... | |
| #define | PEAK_FLASH_MODE_GLOBAL_START_WINDOW |
| peak Flash mode preset: Global start window on flash output More... | |
Enumerations | |
| enum | peak_flash_reference { PEAK_FLASH_REFERENCE_INVALID, PEAK_FLASH_REFERENCE_EXPOSURE_ACTIVE, PEAK_FLASH_REFERENCE_GLOBAL_START_WINDOW, PEAK_FLASH_REFERENCE_ACQUISITION_ACTIVE } |
| peak Flash reference More... | |
Functions | |
| peak_access_status | peak_Flash_GetAccessStatus (peak_camera_handle hCam) |
| Query the flash feature access status. More... | |
| peak_status | peak_Flash_Enable (peak_camera_handle hCam, peak_bool enabled) |
| Enable/Disable the flash. More... | |
| peak_bool | peak_Flash_IsEnabled (peak_camera_handle hCam) |
| Get the enabled status of the flash. More... | |
| peak_access_status | peak_Flash_Mode_GetAccessStatus (peak_camera_handle hCam, peak_flash_mode flashMode) |
| Query the flash mode access status. More... | |
| peak_status | peak_Flash_Mode_Set (peak_camera_handle hCam, peak_flash_mode flashMode) |
| Set the flash mode. More... | |
| peak_status | peak_Flash_Mode_Get (peak_camera_handle hCam, peak_flash_mode *flashMode) |
| Get the flash mode. More... | |
Flash related functions and types.
| #define PEAK_FLASH_MODE_ACQUISITION_ACTIVE |
peak Flash mode preset: Acquisition active on flash output
Initialize a peak_flash_mode with this preset and pass it to peak_Flash_Mode_Set to configure a flash signal for the acquisition duration.
See the following example code.
| #define PEAK_FLASH_MODE_EXPOSURE_ACTIVE |
peak Flash mode preset: Exposure active on flash output
Initialize a peak_flash_mode with this preset and pass it to peak_Flash_Mode_Set to configure a flash signal for the exposure time.
See the following example code.
| #define PEAK_FLASH_MODE_GLOBAL_START_WINDOW |
peak Flash mode preset: Global start window on flash output
Initialize a peak_flash_mode with this preset and pass it to peak_Flash_Mode_Set to configure a flash signal for the global start window duration.
See the following example code.
| enum peak_flash_reference |
peak Flash reference
The flash reference specifies which operation is represented by the flash signal.
| peak_status peak_Flash_Enable | ( | peak_camera_handle | hCam, |
| peak_bool | enabled | ||
| ) |
Enable/Disable the flash.
Sets the flash to enabled or disabled.
A flash can be enabled or disabled if there is no running acquisition only.
| [in] | hCam | The camera handle. |
| [in] | enabled | The desired enabled status. PEAK_TRUE for enabled, PEAK_FALSE for disabled. |
hCam is an invalid camera handle. | peak_access_status peak_Flash_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the flash feature access status.
Provides the current access status for the flash feature.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
hCam is an invalid camera handle. | peak_bool peak_Flash_IsEnabled | ( | peak_camera_handle | hCam | ) |
Get the enabled status of the flash.
Queries whether the flash is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | hCam | The camera handle. |
| peak_status peak_Flash_Mode_Get | ( | peak_camera_handle | hCam, |
| peak_flash_mode * | flashMode | ||
| ) |
Get the flash mode.
Reads the current flash mode.
| [in] | hCam | The camera handle. |
| [out] | flashMode | The flash mode. |
flashMode is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_Flash_Mode_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_flash_mode | flashMode | ||
| ) |
Query the flash mode access status.
Provides the access status for the given flash mode.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | flashMode | The flash mode. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
flashMode is an invalid flash mode. Check peak_flash_reference and peak_io_channel. hCam is an invalid camera handle. | peak_status peak_Flash_Mode_Set | ( | peak_camera_handle | hCam, |
| peak_flash_mode | flashMode | ||
| ) |
Set the flash mode.
Changes the flash mode.
The properties of the flash will be reset to the following default values:
| [in] | hCam | The camera handle. |
| [in] | flashMode | The flash mode. |
flashMode is an invalid flash mode. Check peak_flash_reference and peak_io_channel. hCam is an invalid camera handle. flashMode contains an invalid parameter, which can never be set.