IC Imaging Control .NET

FrameQueueSink.QueueBuffer Method

FrameQueueSink.QueueBuffer Method

Queues one or more IFrameQueueBuffers into the queued buffer list.
Syntax:
[C#]
public bool QueueBuffer( IFrameQueueBuffer newBuffer ); public bool QueueBuffer( IEnumerable<IFrameQueueBuffer> newBufferList );
Parameter Description
newBuffer

The new IFrameQueueBuffer to queue into the sink.

newBufferList

The enumeration of new IFrameQueueBuffers to queue into the sink.

Returns:

Returns true on success.

Returns false when the buffers could not be queued, because the sink is currently not connected. (E.g. the sink is stopped concurrently to this operation).

When one or more buffers have a incompatible FrameType an ICException is thrown.

Remarks:

This method queues the passed in buffers into the queued buffer list (retrievable via FrameQueueSink.PopAllInputQueueBuffers ).

If the IFrame.FrameType of one buffer to be queued is not compatible to FrameQueueSink.OutputFrameType an ICException is thrown.

Information:

Introduced in version 3.5

See also: FrameQueueSink, IFrameQueueBuffer, FrameQueueSink.OutputFrameType

<< FrameQueueSink

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us