![]() |
IDS peak comfortC v1.11.0
|
Enumerations | |
| enum | peak_buffer_handling_mode { PEAK_BUFFER_HANDLING_MODE_INVALID , PEAK_BUFFER_HANDLING_MODE_OLDEST_FIRST , PEAK_BUFFER_HANDLING_MODE_NEWEST_ONLY , PEAK_BUFFER_HANDLING_MODE_OLDEST_FIRST_SINGLE_BUFFER , PEAK_BUFFER_HANDLING_MODE_OLDEST_FIRST_DEPEND_ON_CAMERA_FIFO } |
| peak buffer handling modes More... | |
Functions | |
| peak_access_status | peak_Acquisition_BufferHandling_Mode_GetAccessStatus (peak_camera_handle hCam) |
| Query the buffer handling mode access status. | |
| peak_status | peak_Acquisition_BufferHandling_Mode_GetList (peak_camera_handle hCam, peak_buffer_handling_mode *bufferHandlingModeList, size_t *bufferHandlingModesCount) |
| Get the list of currently usable buffer handling modes. | |
| peak_status | peak_Acquisition_BufferHandling_Mode_Set (peak_camera_handle hCam, peak_buffer_handling_mode mode) |
| Set the buffer handling mode. | |
| peak_status | peak_Acquisition_BufferHandling_Mode_Get (peak_camera_handle hCam, peak_buffer_handling_mode *mode) |
| Get the buffer handling mode. | |
Buffer handling related functions and types.
Buffer handling mode of this Data Stream.
peak buffer handling modes
| peak_status peak_Acquisition_BufferHandling_Mode_Get | ( | peak_camera_handle | hCam, |
| peak_buffer_handling_mode * | mode | ||
| ) |
Get the buffer handling mode.
Reads the current buffer handling mode.
| [in] | hCam | The camera handle. |
| [out] | mode | The buffer handling mode. |
mode is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_Acquisition_BufferHandling_Mode_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the buffer handling mode access status.
Provides the current access status for the buffer handling mode.
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_Acquisition_BufferHandling_Mode_GetList | ( | peak_camera_handle | hCam, |
| peak_buffer_handling_mode * | bufferHandlingModeList, | ||
| size_t * | bufferHandlingModesCount | ||
| ) |
Get the list of currently usable buffer handling modes.
Queries the list of currently selectable buffer handling modes.
The list of usable buffer handling modes may depend on the camera configuration and interface technology.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [out] | bufferHandlingModeList | Pointer to a user allocated array buffer to receive the buffer handling mode list. If this parameter is NULL, bufferHandlingModesCount will contain the current number of buffer handling modes. The required size of bufferHandlingModeList in bytes is bufferHandlingModesCount x sizeof(peak_buffer_handling_mode). |
| [in,out] | bufferHandlingModesCount |
|
bufferHandlingModeList is not NULL and the value of *bufferHandlingModesCount is too small to receive the expected amount of data. bufferHandlingModesCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Acquisition_BufferHandling_Mode_Set | ( | peak_camera_handle | hCam, |
| peak_buffer_handling_mode | mode | ||
| ) |
Set the buffer handling mode.
Writes the desired buffer handling mode.
| [in] | hCam | The camera handle. |
| [in] | mode | The buffer handling mode to set. |
mode is out of range. Check the range of valid values via peak_Acquisition_BufferHandling_Mode_GetList. mode is an invalid buffer handling mode. Check peak_buffer_handling_mode. hCam is an invalid camera handle.