![]() |
IDS peak comfortC v1.12.0
|
Functions | |
| peak_status | peak_GFA_Command_Execute (peak_camera_handle hCam, peak_gfa_module module, const char *commandFeatureName) |
| Execute the command feature with the given name. | |
| peak_status | peak_GFA_Command_WaitForDone (peak_camera_handle hCam, peak_gfa_module module, const char *commandFeatureName, uint32_t timeout_ms) |
| Wait for the execution of the command feature with the given name to be done. | |
Generic command feature access related functions and types.
| peak_status peak_GFA_Command_Execute | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | commandFeatureName ) |
Execute the command feature with the given name.
Writes the execute request to the command feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | commandFeatureName | The name of the command feature as a zero-terminated string. |
module is an invalid GFA module or commandFeatureName 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).
| peak_status peak_GFA_Command_WaitForDone | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | commandFeatureName, | ||
| uint32_t | timeout_ms ) |
Wait for the execution of the command feature with the given name to be done.
Blocks and reads the status of the execution request for the command feature with the given name until it is done or a timeout occurs.
If the command has not been executed the function will immediately return with PEAK_STATUS_SUCCESS.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | commandFeatureName | The name of the command feature as a zero-terminated string. |
| [in] | timeout_ms | The wait timeout in milliseconds. |
module is an invalid GFA module or commandFeatureName 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).