eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • IPvDeviceAdapter
      • IPvDeviceAdapterSwigInterface
      • IUpdaterObserver
      • OnAcquisitionStateChanged
      • OnBufferCreated
      • OnBufferDeleted
      • OnBufferDisplay
      • OnBufferDone
      • OnBufferLog
      • OnBufferRetrieved
      • OnBufferTextOverlay
      • OnBufferTooSmall
      • OnCmdLinkRead
      • OnCmdLinkReadSafe
      • OnCmdLinkWrite
      • OnCmdLinkWriteSafe
      • OnEvent
      • OnEventGenICam
      • OnEventSafe
      • OnLinkDisconnectedHandler
      • OnLinkReconnectedHandler
      • OnReset
      • OnStart
      • OnStop
      • PvAccessType
      • PvAcquisitionState
      • PvAcquisitionStateEventSink
      • PvAcquisitionStateManager
      • PvActionAckStatusEnum
      • PvBayerFilterType
      • PvBiColorFilterType
      • PvBufferConverter
      • PvBufferConverterRGBFilter
      • PvBufferFormatType
      • PvBufferWriter
      • PvCameraBridge
      • PvCameraBridgeEventSink
      • PvCameraBridgeType
      • PvConfigurationReader
      • PvConfigurationWriter
      • PvDataReceiverType
      • PvDevice
      • PvDeviceAdapter
      • PvDeviceEventSink
      • PvDeviceEventSinkSwigInterface
      • PvDeviceGEV
      • PvDeviceI2CBus
      • PvDevicePleoraProtocol
      • PvDeviceSPIBus
      • PvDeviceSerial
      • PvDeviceSerialPort
      • PvDeviceSerialPortEchoSink
      • PvDeviceU3V
      • PvDisplayThread
      • PvGenFUUpdater
      • PvParity
      • PvPipeline
      • PvPipelineEventSink
      • PvProperty
      • PvPropertyList
      • PvSerialPortConfiguration
      • PvStream
      • PvStreamEventSink
      • PvStreamGEV
      • PvStreamInfo
      • PvStreamRTP
      • PvStreamType
      • PvStreamU3V
      • PvThreadPriority
      • PvTruesenseConverter
      • SWIGTYPE_p_IPvDeviceEventSink
      • SWIGTYPE_p_PvDeinterlacingType
      • SWIGTYPE_p_PvSessionInfoSDP
      • SWIGTYPE_p_PvStringList
      • SWIGTYPE_p_PvTapGeometryEnum
      • SWIGTYPE_p_bool
      • SWIGTYPE_p_double
      • eBUSDotNetReceive

    Class PvPipeline

    Helper class for receiving data from a GigE Vision or USB3 Vision transmitter.

    Inheritance
    object
    PvPipeline
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNetReceive
    Assembly: eBUSDotNetReceive.dll
    Syntax
    public class PvPipeline : IDisposable
    Remarks

    The process of receiving data from a GigE Vision or USB3 Vision transmitter involves queuing buffers into the data receiver ensuring that there are always buffers available for the incoming data. PvPipeline partners with a PvStream object to allocate and push buffers into the data receiver as needed.

    For further information on how PvPipeline fits in with the process of receiving data from a GigE Vision transmitter, refer to the
    receiving data from a transmitter page.
    

    Constructors

    View Source

    PvPipeline(PvStream)

    Constructor.

    Declaration
    public PvPipeline(PvStream aStream)
    Parameters
    Type Name Description
    PvStream aStream

    The object responsible for receiving data from a GEV transmitter; a #PvStream object.

    Fields

    View Source

    swigCMemOwn

    Determines who is responsible for deleting the underlying C++ object.

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    bool

    Properties

    View Source

    BufferCount

    Gets or sets the number of buffers owned and used by the pipeline.

    Declaration
    public uint BufferCount { get; set; }
    Property Value
    Type Description
    uint
    View Source

    BufferHandlingThreadPriority

    Gets or sets the priority of the pipeline thread.

    Declaration
    public uint BufferHandlingThreadPriority { get; set; }
    Property Value
    Type Description
    uint
    View Source

    BufferSize

    Gets or sets the size for all managed buffers in bytes.

    Declaration
    public uint BufferSize { get; set; }
    Property Value
    Type Description
    uint
    View Source

    HandleBufferTooSmall

    Gets or sets whether the pipeline handles BUFFER_TOO_SMALL operation results automatically.

    Declaration
    public uint HandleBufferTooSmall { get; set; }
    Property Value
    Type Description
    uint
    View Source

    IsStarted

    Gets whether the pipeline has been started.

    Declaration
    public bool IsStarted { get; }
    Property Value
    Type Description
    bool
    View Source

    OutputQueueSize

    Gets the number of buffers currently available in the output queue.

    Declaration
    public uint OutputQueueSize { get; }
    Property Value
    Type Description
    uint

    Methods

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Dispose

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    ~PvPipeline()

    Destructor.

    Declaration
    protected ~PvPipeline()
    View Source

    RegisterEventSink(PvPipelineEventSink)

    Register an event sink used for callbacks.

    Declaration
    public PvResult RegisterEventSink(PvPipelineEventSink aEventSink)
    Parameters
    Type Name Description
    PvPipelineEventSink aEventSink

    A pointer to the event sink.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::INVALID_PARAMETER
    • #PvResult::Code::GENERIC_ERROR
    View Source

    ReleaseBuffer(PvBuffer)

    Return a buffer to the pipeline.

    Declaration
    public PvResult ReleaseBuffer(PvBuffer aBuffer)
    Parameters
    Type Name Description
    PvBuffer aBuffer

    A pointer to the buffer to return to the queue.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::NOT_ENOUGH_MEMORY (May occur if the buffer size needs to be increased but not enough memory is available.)
    View Source

    Reset()

    Resets the pipeline.

    Declaration
    public PvResult Reset()
    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::STATE_ERROR If already waiting for another reset to complete or if not running
    View Source

    RetrieveNextBuffer(out PvBuffer)

    Retrieve the next acquired block.

    Declaration
    public PvResult RetrieveNextBuffer(out PvBuffer aBuffer)
    Parameters
    Type Name Description
    PvBuffer aBuffer

    A pointer to the pointer to the buffer.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::TIMEOUT
    • #PvResult::Code::INVALID_PARAMETER
    • #PvResult::Code::NOT_CONNECTED -> not connected
    • #PvResult::Code::NO_MORE_ITEM -> no PvBuffer queued
    View Source

    RetrieveNextBuffer(out PvBuffer, uint)

    Retrieve the next acquired block.

    Declaration
    public PvResult RetrieveNextBuffer(out PvBuffer aBuffer, uint aTimeout)
    Parameters
    Type Name Description
    PvBuffer aBuffer

    A pointer to the pointer to the buffer.

    uint aTimeout

    The maximum time, in ms, to wait for a buffer to be received. The default value is 0xFFFFFFFF milliseconds

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::TIMEOUT
    • #PvResult::Code::INVALID_PARAMETER
    • #PvResult::Code::NOT_CONNECTED -> not connected
    • #PvResult::Code::NO_MORE_ITEM -> no PvBuffer queued
    View Source

    RetrieveNextBuffer(out PvBuffer, uint, ref PvResult)

    Retrieve the next acquired block.

    Declaration
    public PvResult RetrieveNextBuffer(out PvBuffer aBuffer, uint aTimeout, ref PvResult aOperationResult)
    Parameters
    Type Name Description
    PvBuffer aBuffer

    A pointer to the pointer to the buffer.

    uint aTimeout

    The maximum time, in ms, to wait for a buffer to be received. The default value is 0xFFFFFFFF milliseconds

    PvResult aOperationResult

    A pointer to the result of the acquisition operation on aBuffer, see #PvBuffer::GetOperationResult.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::TIMEOUT
    • #PvResult::Code::INVALID_PARAMETER
    • #PvResult::Code::NOT_CONNECTED -> not connected
    • #PvResult::Code::NO_MORE_ITEM -> no PvBuffer queued
    View Source

    Start()

    Starts the #PvPipeline.

    Declaration
    public PvResult Start()
    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    View Source

    Stop()

    Stops the #PvPipeline.

    Declaration
    public PvResult Stop()
    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::GENERIC_ERROR (Errors occured when stopping the pipeline's thread.)
    View Source

    UnregisterEventSink(PvPipelineEventSink)

    Unregister an event sink

    Declaration
    public PvResult UnregisterEventSink(PvPipelineEventSink aEventSink)
    Parameters
    Type Name Description
    PvPipelineEventSink aEventSink

    A pointer to the event sink.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::INVALID_PARAMETER
    • #PvResult::Code::NOT_FOUND

    Events

    View Source

    OnBufferCreated

    Called whenever a PvBuffer is allocated by the pipeline.

    Declaration
    public event OnBufferCreated OnBufferCreated
    Event Type
    Type Description
    OnBufferCreated
    View Source

    OnBufferDeleted

    Called whenever a PvBuffer is deleted by the pipeline.

    Declaration
    public event OnBufferDeleted OnBufferDeleted
    Event Type
    Type Description
    OnBufferDeleted
    View Source

    OnBufferTooSmall

    Invoked when the pipeline retrieves a buffer from the stream object which failed with an operation result set to BUFFER_TOO_SMALL.

    Declaration
    public event OnBufferTooSmall OnBufferTooSmall
    Event Type
    Type Description
    OnBufferTooSmall
    View Source

    OnReset

    Invoked after the pipeline has been reset.

    Declaration
    public event OnReset OnReset
    Event Type
    Type Description
    OnReset
    View Source

    OnStart

    Invoked just before the pipeline starts.

    Declaration
    public event OnStart OnStart
    Event Type
    Type Description
    OnStart
    View Source

    OnStop

    Invoked right after the pipeline has been stopped.

    Declaration
    public event OnStop OnStop
    Event Type
    Type Description
    OnStop

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX