GEV_STATUS Gev_Reconnect(GEV_CAMERA_HANDLE handle);

Description

Reconnects a camera that has become disconnected. A camera can become disconnected when it is temporarily/briefly unplugged from the network. A disconnected camera cannot always be restored using this function. If an error is returned, the program should consider closing and re-opening the camera and restarting any initialized transfers.

 

Note: A disconnection that results in the camera losing its IP address cannot be recovered from. A camera can lose its IP address through a power cycle, through having the camera’s heartbeat timer expire (usually due to running an application in a debugger and remaining too long at a breakpoint), or through unplugging the network cable when the camera is not in a persistent IP address mode.

Parameters

handle

Camera handle

Return Value

GEV_STATUS

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEV_STATUS_ERROR (camera is not actually disconnected)
Other error from writing to the camera.  

Related Topics

Member Function Descriptions