RtGVSendTrigger

RtGVSendTrigger sends a trigger to a camera, causing it to send a frame.

Syntax

BOOL RtGVSendTrigger(
	HANDLE cameraHandle
);

Parameters

cameraHandle

A handle to the camera to which a trigger should be sent.

Return Values

Returns TRUE if the function succeeds, FALSE if the function fails. Call GetLastError for extended error information.

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 of the cameras found on the network, along with each of their handles.

This function should be used before calling RtGVGrabFrame for cameras that are configured for software triggered acquisition mode. It should only be called after RtGVStartCameraStream has been called.

Requirements

Minimum Supported Version RTX64 3.7 Vision SDK

Header

RtGVApi.h

Library

RtGigEVision.lib

See Also:

RtGVStartCameraStream

RtGVGrabFrame