![]() |
IDS peak comfortC v1.11.0
|
Functions | |
| peak_access_status | peak_PixelClock_GetAccessStatus (peak_camera_handle hCam) |
| Query the pixel clock access status. | |
| peak_bool | peak_PixelClock_HasRange (peak_camera_handle hCam) |
| Check whether the valid values for the pixel clock feature are organized as a range. | |
| peak_status | peak_PixelClock_GetRange (peak_camera_handle hCam, double *minPixelClock_MHz, double *maxPixelClock_MHz, double *incPixelClock_MHz) |
| Get the current range of valid pixel clock values. | |
| peak_status | peak_PixelClock_GetList (peak_camera_handle hCam, double *pixelClockList, size_t *pixelClockCount) |
| Get the list of currently selectable pixel clock values. | |
| peak_status | peak_PixelClock_Set (peak_camera_handle hCam, double pixelClock_MHz) |
| Set the pixel clock. | |
| peak_status | peak_PixelClock_Get (peak_camera_handle hCam, double *pixelClock_MHz) |
| Get the pixel clock. | |
Pixel clock related functions and types.
| peak_status peak_PixelClock_Get | ( | peak_camera_handle | hCam, |
| double * | pixelClock_MHz | ||
| ) |
Get the pixel clock.
Reads the current pixel clock.
| [in] | hCam | The camera handle. |
| [out] | pixelClock_MHz | The pixel clock in megahertz. |
pixelClock_MHz is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_PixelClock_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the pixel clock access status.
Provides the current access status for the pixel clock control.
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_PixelClock_GetList | ( | peak_camera_handle | hCam, |
| double * | pixelClockList, | ||
| size_t * | pixelClockCount | ||
| ) |
Get the list of currently selectable pixel clock values.
Queries the list of currently selectable pixel clock values.
The list of selectable pixel clock 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. |
| [out] | pixelClockList | Pointer to a user allocated array buffer to receive the pixel clock list. If this parameter is NULL, pixelClockCount will contain the current number of pixel formats. The required size of pixelClockList in bytes is pixelClockCount x sizeof(uint32_t). |
| [in,out] | pixelClockCount |
|
pixelClockList is not NULL and the value of *pixelClockCount is too small to receive the expected amount of data. pixelClockCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_PixelClock_GetRange | ( | peak_camera_handle | hCam, |
| double * | minPixelClock_MHz, | ||
| double * | maxPixelClock_MHz, | ||
| double * | incPixelClock_MHz | ||
| ) |
Get the current range of valid pixel clock values.
Queries the current range of valid values for the pixel clock control.
The range of valid pixel clock values may depend on the camera configuration and the camera status.
| [in] | hCam | The camera handle. |
| [out] | minPixelClock_MHz | The minimum pixel clock in megahertz. |
| [out] | maxPixelClock_MHz | The maximum pixel clock in megahertz. |
| [out] | incPixelClock_MHz | The pixel clock increment in megahertz. |
minPixelClock_MHz, maxPixelClock_MHz, and incPixelClock_MHz is an invalid pointer. hCam is an invalid camera handle. | peak_bool peak_PixelClock_HasRange | ( | peak_camera_handle | hCam | ) |
Check whether the valid values for the pixel clock feature are organized as a range.
Checks whether the valid values for the pixel clock feature are organized as a range or as a list.
This function implements the Valid Values Organization Query principle.
| [in] | hCam | The camera handle. |
| peak_status peak_PixelClock_Set | ( | peak_camera_handle | hCam, |
| double | pixelClock_MHz | ||
| ) |
Set the pixel clock.
Writes the desired pixel clock.
| [in] | hCam | The camera handle. |
| [in] | pixelClock_MHz | The pixel clock to set in megahertz. |
pixelClock_MHz is out of range. Check the range of valid values via peak_PixelClock_GetRange or peak_PixelClock_GetList. hCam is an invalid camera handle.