RtGVStartCameraStream

RtGVStartCameraStream starts a stream on a camera, sending frames to the specified IP Address.

Syntax

BOOL RtGVStartCameraStream(
	HANDLE cameraHandle, 
	UINT32 localIP, 
	UINT32 localPort
);

Parameters

cameraHandle

The handle to the camera which will start sending frames.

localIP

The IP Address of the RTX64 Network Interface Card (NIC) to which the camera should send images.

localPort

The local port to which the camera should send images.

Return Values

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

Remarks

This function should succeed if a stream is already started when it is called.

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

See Also:

RtGVEnumerateCameras

RtGVGrabFrame

RtGVSendTrigger

RtGVCloseCameraStream