Back to Adaptive Vision Library website

You are here: Start » Function Reference » GenTL » GenTL_FlushInputQueue

GenTL_FlushInputQueue


Discards remaining received and queued image frames in device video stream.

Syntax

C++
C#
 
void avl::GenTL_FlushInputQueue
(
	GenTLHandle inDeviceHandle
)

Parameters

Name Type Default Description
inDeviceHandle GenTLHandle Handle of an opened device which streaming queue should be cleared.

Description

Flushing input queue means that all frames that have been received from device and that have not been yet retrieved by the application, will be discarded and lost (including a partially filled frame).

Exceptions

This function will throw an exception in the following situations:

  • Device handle is invalid.