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 PvDisplayThread

    Manages a display thread for rendering buffers and reporting callbacks.

    Inheritance
    object
    PvDisplayThread
    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 PvDisplayThread : IDisposable
    Remarks

    Register delegates to the events of a PvDisplayThread in order to receive notifications. The most common use of the display thread requires to register the OnBufferDisplay and handle buffer displaying in the handler.

    Constructors

    View Source

    PvDisplayThread()

    Constructor.

    Declaration
    public PvDisplayThread()

    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

    BufferLogAllEnabled

    Gets or sets whether logging for all buffers is enabled.

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

    BufferLogErrorEnabled

    Gets or sets whether buffer error logging is enabled.

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

    ChunkLogEnabled

    Gets or sets whether chunk data logging is enabled.

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

    Deinterlacing

    Gets or sets the deinterlacing mode.

    Declaration
    public SWIGTYPE_p_PvDeinterlacingType Deinterlacing { get; set; }
    Property Value
    Type Description
    SWIGTYPE_p_PvDeinterlacingType
    View Source

    DisplayChunkDataEnabled

    Gets or sets whether chunk data display is enabled.

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

    FPS

    Gets the current frames per second being displayed.

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

    IsRunning

    Gets whether the display thread is running.

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

    KeepPartialImagesEnabled

    Gets or sets whether partial images are kept and displayed.

    Declaration
    public bool KeepPartialImagesEnabled { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    If true, attempts to display images with missing packets or lines.

    View Source

    Priority

    Gets or sets the display thread priority.

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

    TapGeometry

    Gets or sets the tap geometry for multi-tap sensors.

    Declaration
    public SWIGTYPE_p_PvTapGeometryEnum TapGeometry { get; set; }
    Property Value
    Type Description
    SWIGTYPE_p_PvTapGeometryEnum
    View Source

    TargetFPS

    Gets or sets the target frames per second for display.

    Declaration
    public uint TargetFPS { get; set; }
    Property Value
    Type Description
    uint
    Remarks

    If the acquisition frame rate is higher than TargetFPS frames are dropped and not displayed. OnBufferDisplay is only invoked on frames that need to be displayed in order to meet TargetFPS.

    View Source

    VSyncEnabled

    Gets or sets whether vertical sync is enabled.

    Declaration
    public bool VSyncEnabled { get; set; }
    Property Value
    Type Description
    bool

    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

    ~PvDisplayThread()

    Destructor.

    Declaration
    protected ~PvDisplayThread()
    View Source

    Load(PvPropertyList)

    Loads display thread settings from a property list.

    Declaration
    public virtual PvResult Load(PvPropertyList aPropertyList)
    Parameters
    Type Name Description
    PvPropertyList aPropertyList

    Property list containing settings to load.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    ReleaseCompressedBuffer()

    Releases the most recent compressed buffer previously retrieved.

    Declaration
    public void ReleaseCompressedBuffer()
    View Source

    ReleaseLatestBuffer()

    Releases the most recent buffer previously retrieved.

    Declaration
    public void ReleaseLatestBuffer()
    View Source

    ResetStatistics()

    Resets display statistics.

    Declaration
    public void ResetStatistics()
    View Source

    RetrieveCompressedBuffer()

    Retrieves the most recent compressed buffer.

    Declaration
    public PvBuffer RetrieveCompressedBuffer()
    Returns
    Type Description
    PvBuffer

    Pointer to the most recent compressed PvBuffer.

    View Source

    RetrieveLatestBuffer()

    Retrieves the most recent buffer from the pipeline.

    Declaration
    public PvBuffer RetrieveLatestBuffer()
    Returns
    Type Description
    PvBuffer

    Pointer to the most recent PvBuffer.

    View Source

    Save(PvPropertyList)

    Saves display thread settings to a property list.

    Declaration
    public virtual PvResult Save(PvPropertyList aPropertyList)
    Parameters
    Type Name Description
    PvPropertyList aPropertyList

    Property list to receive current settings.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Start(PvPipeline, PvGenParameterArray)

    Starts the display thread using the provided pipeline and parameters.

    Declaration
    public PvResult Start(PvPipeline aPipeline, PvGenParameterArray aParameters)
    Parameters
    Type Name Description
    PvPipeline aPipeline

    Pointer to the PvPipeline to retrieve buffers from.

    PvGenParameterArray aParameters

    Pointer to the PvGenParameterArray for configuration.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Stop(bool)

    Stops the display thread.

    Declaration
    public PvResult Stop(bool aWait)
    Parameters
    Type Name Description
    bool aWait

    Indicates whether to wait for the thread to stop.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    WaitComplete()

    Waits for the display thread to finish stopping.

    Declaration
    public PvResult WaitComplete()
    Returns
    Type Description
    PvResult

    Result of the operation.

    Events

    View Source

    OnBufferDisplay

    PvDisplayThread buffer needs to be displayed event delegate.

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

    OnBufferDone

    PvDisplayThread finished using a buffer event delegate.

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

    OnBufferLog

    PvDisplayThread buffer log entry was generated event delegate.

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

    OnBufferRetrieved

    PvDisplayThread buffer was retrieved from the PvPipeline event delegate.

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

    OnBufferTextOverlay

    PvDisplayThread buffer text overlay is updated event delegate.

    Declaration
    public event OnBufferTextOverlay OnBufferTextOverlay
    Event Type
    Type Description
    OnBufferTextOverlay

    Implements

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