![]() |
IDS peak comfortC
v1.6.0
|
Functions | |
| peak_status | peak_GFA_Register_Set (peak_camera_handle hCam, peak_gfa_module module, const char *registerFeatureName, const uint8_t *registerValue, size_t registerValueSize) |
| Set the register feature with the given name. More... | |
| peak_status | peak_GFA_Register_Get (peak_camera_handle hCam, peak_gfa_module module, const char *registerFeatureName, uint8_t *registerValue, size_t *registerValueSize) |
| Get the register feature with the given name. More... | |
Generic register access related functions and types.
| peak_status peak_GFA_Register_Get | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | registerFeatureName, | ||
| uint8_t * | registerValue, | ||
| size_t * | registerValueSize | ||
| ) |
Get the register feature with the given name.
Reads the current value/data of the register feature with the given name.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | registerFeatureName | The name of the string feature as a zero-terminated string. |
| [out] | registerValue | Pointer to a user allocated buffer to receive the value/data of the register feature. If this parameter is NULL, registerValueSize will contain the size of the register data. The required size of registerValueSize in bytes is registerValueSize x sizeof(char). |
| [in,out] | registerValueSize |
|
registerValue is not NULL and the value of *registerValueSize is too small to receive the expected amount of data. module is an invalid GFA module or at least one of registerFeatureName, registerValue, and registerValueSize is an invalid pointer or registerFeatureName 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_Register_Set | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | registerFeatureName, | ||
| const uint8_t * | registerValue, | ||
| size_t | registerValueSize | ||
| ) |
Set the register feature with the given name.
Writes the desired value/data to the register feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | registerFeatureName | The name of the register feature as a zero-terminated string. |
| [in] | registerValue | The register value/data to set. |
| [in] | registerValueSize | The size of *registerValue in bytes. |
module is an invalid GFA module or registerFeatureName and/or registerValue are invalid pointers or registerFeatureName is not zero-terminated or registerValueSize is 0. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).