![]() |
IDS peak comfortC
v1.6.0
|
Functions | |
| peak_status | peak_GFA_String_Set (peak_camera_handle hCam, peak_gfa_module module, const char *stringFeatureName, const char *stringValue) |
| Set the string feature with the given name. More... | |
| peak_status | peak_GFA_String_Get (peak_camera_handle hCam, peak_gfa_module module, const char *stringFeatureName, char *stringValue, size_t *stringValueSize) |
| Get the string feature with the given name. More... | |
Generic string feature access related functions and types.
| peak_status peak_GFA_String_Get | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | stringFeatureName, | ||
| char * | stringValue, | ||
| size_t * | stringValueSize | ||
| ) |
Get the string feature with the given name.
Reads the current value of the string 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] | stringFeatureName | The name of the string feature as a zero-terminated string. |
| [out] | stringValue | Pointer to a user allocated character buffer to receive the value of the string feature. If this parameter is NULL, stringValueSize will contain the current size of the string, including the terminating 0. The required size of stringValue in bytes is stringValueSize x sizeof(char). |
| [in,out] | stringValueSize |
|
stringValue is not NULL and the value of *stringValueSize is too small to receive the expected amount of data. module is an invalid GFA module or at least one of stringFeatureName, stringValue, and stringValueSize is an invalid pointer or stringFeatureName 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_String_Set | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | stringFeatureName, | ||
| const char * | stringValue | ||
| ) |
Set the string feature with the given name.
Writes the desired value to the string feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | stringFeatureName | The name of the string feature as a zero-terminated string. |
| [in] | stringValue | The zero-terminated string value to set. |
module is an invalid GFA module or stringFeatureName and/or stringValue are invalid pointers or 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).