![]() |
IDS peak comfortC
v1.2.0
|
Functions | |
| peak_bool | peak_GFA_Float_HasRange (peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName) |
| Check whether the valid values for the float feature with the given name are organized as a range. More... | |
| peak_status | peak_GFA_Float_GetRange (peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double *minFloatValue, double *maxFloatValue, double *incFloatValue) |
| Get the current range of valid values for the float feature with the given name. More... | |
| peak_status | peak_GFA_Float_GetList (peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double *floatList, size_t *floatCount) |
| Get the list of currently selectable values for the float feature with the given name. More... | |
| peak_status | peak_GFA_Float_Set (peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double floatValue) |
| Set the float feature with the given name. More... | |
| peak_status | peak_GFA_Float_Get (peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double *floatValue) |
| Get the float feature with the given name. More... | |
Generic float feature access related functions and types.
| peak_status peak_GFA_Float_Get | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | floatFeatureName, | ||
| double * | floatValue | ||
| ) |
Get the float feature with the given name.
Reads the current value of the float feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | floatFeatureName | The name of the float feature as a zero-terminated string. |
| [out] | floatValue | The value of the float feature. |
module is an invalid GFA module or floatFeatureName and/or floatValue are invalid pointers or floatFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).
| peak_status peak_GFA_Float_GetList | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | floatFeatureName, | ||
| double * | floatList, | ||
| size_t * | floatCount | ||
| ) |
Get the list of currently selectable values for the float feature with the given name.
Queries the list of currently selectable values for the float feature with the given name.
The list of selectable float values may depend on the camera configuration and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | floatFeatureName | The name of the float feature as a zero-terminated string. |
| [out] | floatList | Pointer to a user allocated array buffer to receive the float value list. If this parameter is NULL, floatCount will contain the current number of float values. The required size of floatList in bytes is floatCount x sizeof(double). |
| [in,out] | floatCount |
|
floatList is not NULL and the value of *floatCount is too small to receive the expected amount of data. module is an invalid GFA module or floatFeatureName and/or floatCount are invalid pointers or floatFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. | peak_status peak_GFA_Float_GetRange | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | floatFeatureName, | ||
| double * | minFloatValue, | ||
| double * | maxFloatValue, | ||
| double * | incFloatValue | ||
| ) |
Get the current range of valid values for the float feature with the given name.
Queries the current range of valid values for the float feature with the given name.
The range of valid values for the float feature with the given name may depend on the camera configuration and the camera status.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | floatFeatureName | The name of the float feature as a zero-terminated string. |
| [out] | minFloatValue | The minimum value for the float feature. |
| [out] | maxFloatValue | The maximum value for the float feature. |
| [out] | incFloatValue | The increment for the float feature. |
module is an invalid GFA module or at least one of floatFeatureName, minFloatValue, maxFloatValue, and incFloatValue is an invalid pointer or floatFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).
| peak_bool peak_GFA_Float_HasRange | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | floatFeatureName | ||
| ) |
Check whether the valid values for the float feature with the given name are organized as a range.
Checks whether the valid values for the float feature with the given name are organized as a range or as a list.
This function implements the Valid Values Organization Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | floatFeatureName | The name of the float feature as a zero-terminated string. |
| peak_status peak_GFA_Float_Set | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | floatFeatureName, | ||
| double | floatValue | ||
| ) |
Set the float feature with the given name.
Writes the desired value to the float feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | floatFeatureName | The name of the float feature as a zero-terminated string. |
| [in] | floatValue | The float value to set. |
floatValue is out of range. Check the range of valid values via peak_GFA_Float_GetRange or peak_GFA_Float_GetList. module is an invalid GFA module or floatFeatureName is an invalid pointer or it is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).