Back to Aurora Vision Library website

You are here: Start » Function Reference » GigE Vision » GigEVision_GetDeviceConnectionOpened

GigEVision_GetDeviceConnectionOpened


Header: Genicam.h
Namespace: avl
Module: Genicam

Checks if connection with specified device is still active.

Syntax

C++
C#
 
bool avl::GigEVision_GetDeviceConnectionOpened
(
	GigEHandle inDeviceHandle
)

Parameters

Name Type Default Description
Input value inDeviceHandle GigEHandle Handle of an opened device that will be checked.

Description

This function will return false after connection with device has been lost.

This function is indicative only. There is no guarantee that subsequent operations will not fail even if this function returns true. Broken connection can be detected after significant delay or during execution of other operations.

Exceptions

This function will throw an exception in the following situation:

  • Device handle is invalid.