RtgvSendTrigger
RtgvSendTrigger sends a trigger to a camera, causing it to send a frame.
Syntax
BOOL RtgvSendTrigger(
[in] HANDLE cameraHandle
);
Parameters
[in] cameraHandle
A handle to the camera to which a trigger should be sent.
Return Values
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.
Remarks
This function will fail if it is called before RtgvInitialize and RtgvInitCameraControl.
To find the camera to query, call RtgvInitialize and then call RtgvEnumerateCameras to get an RTGV_CAMERA_INFO array describing each camera found on the network, along with its handles.
This function should be used before calling RtgvGrabFrame for cameras configured for software-triggered acquisition mode. It should only be called after RtgvStartCameraStream has been called.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtgvApi.h |
RtgvApi.lib |
See Also: