![]() |
IDS peak comfortC
v1.3.0
|
Enumerations | |
| enum | peak_trigger_edge { PEAK_TRIGGER_EDGE_INVALID, PEAK_TRIGGER_EDGE_RISING, PEAK_TRIGGER_EDGE_FALLING, PEAK_TRIGGER_EDGE_ANY } |
| peak Trigger edge More... | |
Functions | |
| peak_access_status | peak_Trigger_Edge_GetAccessStatus (peak_camera_handle hCam) |
| Query the trigger edge property access status. More... | |
| peak_status | peak_Trigger_Edge_GetList (peak_camera_handle hCam, peak_trigger_edge *triggerEdgeList, size_t *triggerEdgeCount) |
| Get the list of currently selectable trigger edges. More... | |
| peak_status | peak_Trigger_Edge_Set (peak_camera_handle hCam, peak_trigger_edge triggerEdge) |
| Set the trigger edge. More... | |
| peak_status | peak_Trigger_Edge_Get (peak_camera_handle hCam, peak_trigger_edge *triggerEdge) |
| Get the trigger edge. More... | |
Trigger edge property related functions.
| enum peak_trigger_edge |
peak Trigger edge
The trigger edge specifies which edge of an electrical signal initiates a trigger.
| peak_status peak_Trigger_Edge_Get | ( | peak_camera_handle | hCam, |
| peak_trigger_edge * | triggerEdge | ||
| ) |
Get the trigger edge.
Reads the current trigger edge.
| [in] | hCam | The camera handle. |
| [out] | triggerEdge | The trigger edge. |
triggerEdge is an invalid pointer. hCam is an invalid camera handle. | peak_access_status peak_Trigger_Edge_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the trigger edge property access status.
Provides the current access status for the trigger edge property for the configured trigger 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_Trigger_Edge_GetList | ( | peak_camera_handle | hCam, |
| peak_trigger_edge * | triggerEdgeList, | ||
| size_t * | triggerEdgeCount | ||
| ) |
Get the list of currently selectable trigger edges.
Queries the list of currently selectable trigger edges for the configured trigger mode.
The list of selectable trigger edges may depend on the trigger mode, the camera configuration, and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [out] | triggerEdgeList | Pointer to a user allocated array buffer to receive the trigger edge list. If this parameter is NULL, triggerEdgeCount will contain the current number of trigger edges. The required size of triggerEdgeList in bytes is triggerEdgeCount x sizeof(peak_trigger_edge). |
| [in,out] | triggerEdgeCount |
|
triggerEdgeList is not NULL and the value of *triggerEdgeCount is too small to receive the expected amount of data. triggerEdgeCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Trigger_Edge_Set | ( | peak_camera_handle | hCam, |
| peak_trigger_edge | triggerEdge | ||
| ) |
Set the trigger edge.
Writes the desired trigger edge.
| [in] | hCam | The camera handle. |
| [in] | triggerEdge | The trigger edge to set. |
triggerEdge is out of range. Check the range of valid values via peak_Trigger_Edge_GetList. triggerEdge is an invalid trigger edge. Check peak_trigger_edge. hCam is an invalid camera handle.