![]() |
IDS peak comfortC v1.8.0
|
Functions | |
| peak_access_status | peak_Focus_GetAccessStatus (peak_camera_handle hCam) |
| Query the focus access status. | |
| peak_status | peak_Focus_GetRange (peak_camera_handle hCam, uint32_t *minFocus, uint32_t *maxFocus, uint32_t *incFocus) |
| Get the current range of valid focus values. | |
| peak_status | peak_Focus_Set (peak_camera_handle hCam, uint32_t focus) |
| Set the focus value. | |
| peak_status | peak_Focus_Get (peak_camera_handle hCam, uint32_t *focus) |
| Get the focus value. | |
Focus related functions and types.
| peak_status peak_Focus_Get | ( | peak_camera_handle | hCam, |
| uint32_t * | focus | ||
| ) |
Get the focus value.
Reads the current focus value.
| [in] | hCam | The camera handle. |
| [out] | focus | The focus value. |
focus is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_Focus_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the focus access status.
Provides the current access status for the focus 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_status peak_Focus_GetRange | ( | peak_camera_handle | hCam, |
| uint32_t * | minFocus, | ||
| uint32_t * | maxFocus, | ||
| uint32_t * | incFocus | ||
| ) |
Get the current range of valid focus values.
Queries the current range of valid values for the manual focus feature.
| [in] | hCam | The camera handle. |
| [out] | minFocus | The minimum focus value. |
| [out] | maxFocus | The maximum focus value. |
| [out] | incFocus | The focus value increment. |
minFocus, maxFocus, and incFocus is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Focus_Set | ( | peak_camera_handle | hCam, |
| uint32_t | focus | ||
| ) |
Set the focus value.
Writes the desired focus value.
| [in] | hCam | The camera handle. |
| [in] | focus | The focus value to set. |
focus is out of range. Check the range of valid values via peak_Focus_GetRange. hCam is an invalid camera handle.