Stops image acquisition in a device.
void avl::GigEVision_StopAcquisition ( GigEHandle inDeviceHandle )
|inDeviceHandle||GigEHandle||Handle of an opened device that should stop acquisition|
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.
This function will throw an exception in the following situations:
- Device handle is invalid.
- Connection is lost.
- Other unexpected GenICam or network error occurred.