![]() |
IDS peak comfortC v1.10.0
|
Functions | |
| PEAK_API_ACCESS_STATUS | peak_TestPattern_GetAccessStatus (peak_camera_handle hCam) |
| Query the test pattern access status. | |
| PEAK_API_STATUS | peak_TestPattern_Set (peak_camera_handle hCam, peak_test_pattern pattern) |
| Set the test pattern. | |
| PEAK_API_STATUS | peak_TestPattern_Get (peak_camera_handle hCam, peak_test_pattern *pattern) |
| Get the test pattern. | |
| PEAK_API_STATUS | peak_TestPattern_GetList (peak_camera_handle hCam, peak_test_pattern *testPatternList, size_t *testPatternCount) |
| Get the list of currently usable test pattern. | |
Test pattern related functions and types.
| enum peak_test_pattern |
peak test pattern
Type of test pattern that is generated by the device as image source.
| PEAK_API_STATUS peak_TestPattern_Get | ( | peak_camera_handle | hCam, |
| peak_test_pattern * | pattern | ||
| ) |
Get the test pattern.
Reads the current test pattern.
| [in] | hCam | The camera handle. |
| [out] | pattern | The test pattern. |
pattern is an invalid pointer. hCam is an invalid camera handle. | PEAK_API_ACCESS_STATUS peak_TestPattern_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the test pattern access status.
Provides the current access status for the test pattern 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_API_STATUS peak_TestPattern_GetList | ( | peak_camera_handle | hCam, |
| peak_test_pattern * | testPatternList, | ||
| size_t * | testPatternCount | ||
| ) |
Get the list of currently usable test pattern.
Queries the list of currently selectable test pattern.
The list of usable parameter sets 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] | testPatternList | Pointer to a user allocated array buffer to receive the parameter set list. If this parameter is NULL, testPatternCount will contain the current number of parameter sets. The required size of testPatternList in bytes is testPatternCount x sizeof(peak_test_pattern). |
| [in,out] | testPatternCount |
|
testPatternList is not NULL and the value of *testPatternCount is too small to receive the expected amount of data. testPatternCount is an invalid pointer. hCam is an invalid camera handle. | PEAK_API_STATUS peak_TestPattern_Set | ( | peak_camera_handle | hCam, |
| peak_test_pattern | pattern | ||
| ) |
Set the test pattern.
Writes the desired test pattern.
| [in] | hCam | The camera handle. |
| [in] | pattern | The test pattern. |
pattern is out of range. Check the range of valid values via peak_TestPattern_GetList. pattern is an invalid test pattern . Check peak_test_pattern. hCam is an invalid camera handle.