![]() |
IDS peak comfortC v1.12.0
|
The trigger edge refers to the specific transition of a trigger signal that triggers capturing a frame. More...
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. | |
| 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. | |
| peak_status | peak_Trigger_Edge_Set (peak_camera_handle hCam, peak_trigger_edge triggerEdge) |
| Set the trigger edge. | |
| peak_status | peak_Trigger_Edge_Get (peak_camera_handle hCam, peak_trigger_edge *triggerEdge) |
| Get the trigger edge. | |
The trigger edge refers to the specific transition of a trigger signal that triggers capturing a frame.
There are two main types of trigger edges: Rising Edge: The trigger is activated when the signal transitions from LOW to HIGH. Falling Edge: The trigger is activated when the signal transitions from HIGH to LOW.
Selecting the trigger edge (rising or falling) determines when the camera will capture an image in response to an external trigger signal. This allows precise control over the timing of image capture based on the signal's state change.
| enum peak_trigger_edge |
peak Trigger edge
The trigger edge specifies which edge of an electrical signal initiates a trigger.
| Enumerator | |
|---|---|
| PEAK_TRIGGER_EDGE_INVALID | Invalid trigger edge. Use this value for the initialization of variables of type peak_trigger_edge. |
| PEAK_TRIGGER_EDGE_RISING | Rising edge. A trigger is raised by the electrical signal changing from low level to high level. |
| PEAK_TRIGGER_EDGE_FALLING | Falling edge. A trigger is raised by the electrical signal changing from high level to low level. |
| PEAK_TRIGGER_EDGE_ANY | Any edge. A trigger is raised by the electrical signal changing its level in any direction. |
| 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.