Back to Aurora Vision Library website
	
 
	
                
                    
		
	You are here: Start » Function Reference » GigE Vision » GigEVision_StopAcquisition
GigEVision_StopAcquisition
| Header: | Genicam.h | 
|---|---|
| Namespace: | avl | 
| Module: | Genicam | 
Stops image acquisition in a device.
Syntax
C++
C#
void avl::GigEVision_StopAcquisition
(
	GigEHandle inDeviceHandle
)
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]()  | 
				inDeviceHandle | GigEHandle | Handle of an opened device that should stop acquisition | 
Description
This function stops acquisition started by GigEVision_StartAcquisition by executing GenICam StopAcquisition command. The function will not fail when a device is not streaming video.
Do not access GenICam StartAcquisition and StopAcquisition commands directly, always use GigEVision_StartAcquisition and GigEVision_StopAcquisition function so that the library state can stay in sync with device state.
Exceptions
This function will throw an exception in the following situations:
- Device handle is invalid.
 - Connection is lost.
 - Other unexpected GenICam or network error occurred.
 

