RtGVSetAcquisitionMode
RtGVSetAcquisitionMode sets the acquisition mode on the specified camera.
Syntax
BOOL RtGVSetAcquisitionMode( UINT32 cameraHandle, ACQUISITIONMODE acquisitionMode, UINT32 hardwareTriggerSource );
Parameters
cameraHandle
The handle of the camera whose acquisition mode will be set.
acquisitionMode
The acquisition mode to be set on the camera. See enumeration RTGV_ACQUISITIONMODE.
hardwareTriggerSource
The source of the hardware trigger. This parameter is ignored if acquisition mode is not set to hardware-triggered acquisition mode.
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.
Requirements
Minimum Supported Version | RTX64 3.7 Vision SDK |
Header |
RtGVApi.h |
Library |
RtGigEVision.lib |