Back to FabImage Library website
You are here: Start » Function Reference » GenTL » GenTL_StopAcquisition
GenTL_StopAcquisition
Header: | Genicam.h |
---|---|
Namespace: | fil |
Module: | Genicam |
Stops image acquisition in a device.
Syntax
C++
C#
void fil::GenTL_StopAcquisition
(
GenTLHandle inDeviceHandle
)
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inDeviceHandle | GenTLHandle | Handle of an opened device that should stop acquisition |
Description
This function stops acquisition started by GenTL_StartAcquisition. The function will not fail when a device is not streaming video.
Do not access GenICam StartAcquisition and StopAcquisition commands directly, always use GenTL_StartAcquisition and GenTL_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.