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 IPvDeviceAdapter

    Interface used by PvDeviceSerialPort to interact with a device controller.

    Inheritance
    object
    IPvDeviceAdapter
    Implements
    IPvDeviceAdapterSwigInterface
    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 IPvDeviceAdapter : IPvDeviceAdapterSwigInterface, IDisposable

    Fields

    View Source

    swigCMemOwn

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

    Declaration
    protected bool swigCMemOwn
    Field 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

    ~IPvDeviceAdapter()

    Destructor.

    Declaration
    protected ~IPvDeviceAdapter()
    View Source

    GetGenBooleanValue(string, out bool)

    Returns the value of a Boolean identified by its name.

    Declaration
    public virtual PvResult GetGenBooleanValue(string aParameterName, out bool aValue)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    bool aValue

    Value of the parameter.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetGenEnumEntriesAvailable(string, SWIGTYPE_p_PvStringList)

    Returns a list of all available enum entries for an enumeration

    Declaration
    public virtual PvResult GetGenEnumEntriesAvailable(string aParameterName, SWIGTYPE_p_PvStringList aList)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    SWIGTYPE_p_PvStringList aList

    A list containing the string representation of all available enum entries.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetGenEnumValue(string, out string)

    Returns the string value of an enumeration identified by its name.

    Declaration
    public virtual PvResult GetGenEnumValue(string aParameterName, out string aEnumEntry)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    string aEnumEntry

    Value of the parameter.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetGenIntegerValue(string, out long)

    Returns the value of an integer identified by its name.

    Declaration
    public virtual PvResult GetGenIntegerValue(string aParameterName, out long aValue)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    long aValue

    Value of the parameter.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetGenRegisterData(string, byte[], long)

    Gets the data contained in a register identified by its name.

    Declaration
    public PvResult GetGenRegisterData(string aParameterName, byte[] aDataBuffer, long aByteCount)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    byte[] aDataBuffer

    Buffer where to copy the data.

    long aByteCount

    How many bytes to copy to aDataBuffer.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetGenRegisterLength(string, out long)

    Gets the length (in bytes) of a register identified by its name.

    Declaration
    public virtual PvResult GetGenRegisterLength(string aParameterName, out long aLength)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    long aLength

    Length (in bytes) of the register.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetGenStringValue(string, out string)

    Returns the string value of string parameter identified by its name.

    Declaration
    public virtual PvResult GetGenStringValue(string aParameterName, out string aValue)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    string aValue

    Value of the parameter.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    GetUniqueID(out string)

    Returns a unique string identifier for the device.

    Declaration
    public virtual PvResult GetUniqueID(out string aID)
    Parameters
    Type Name Description
    string aID

    Unique string identifier for the device.

    Returns
    Type Description
    PvResult

    Includes: - #PvResult::Code::OK - #PvResult::Code::INVALID_PARAMETER

    View Source

    IsConnected()

    Returns true if the device is connected.

    Declaration
    public virtual bool IsConnected()
    Returns
    Type Description
    bool

    True if the device is connected, false if not.

    View Source

    IsGenBooleanInNodeMap(string)

    Returns true if the device node map contains a Boolean of the specified name.

    Declaration
    public virtual bool IsGenBooleanInNodeMap(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    Returns
    Type Description
    bool

    True if the parameter is present, false if not.

    View Source

    IsGenEnumEntryAvailable(string, string)

    Returns true if an enumeration is present in the node map and has a specific enum entry.

    Declaration
    public virtual bool IsGenEnumEntryAvailable(string aParameterName, string aEnumEntry)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    string aEnumEntry

    Name of the enum entry to test for.

    Returns
    Type Description
    bool

    True if the parameter is present and contains the specific enum entry, false if either condition fails.

    View Source

    IsGenEnumInNodeMap(string)

    Returns true if the device node map contains an enumeration of the specified name.

    Declaration
    public virtual bool IsGenEnumInNodeMap(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    Returns
    Type Description
    bool

    True if the parameter is present, false if not.

    View Source

    IsGenIntegerInNodeMap(string)

    Returns true if the device node map contains an integer of the specified name.

    Declaration
    public virtual bool IsGenIntegerInNodeMap(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    Returns
    Type Description
    bool

    True if the parameter is present, false if not.

    View Source

    IsGenReadable(string)

    Returns true if a parameter is present and readable in the node map.

    Declaration
    public virtual bool IsGenReadable(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    Returns
    Type Description
    bool

    True if the parameter is present and readable, false if either condition fails.

    View Source

    IsGenRegisterInNodeMap(string)

    Returns true if the device node map contains a raw register of the specified name.

    Declaration
    public virtual bool IsGenRegisterInNodeMap(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    Returns
    Type Description
    bool

    True if the parameter is present, false if not.

    View Source

    IsGenWritable(string)

    Returns true if a parameter is present and writable in the node map.

    Declaration
    public virtual bool IsGenWritable(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter to test for.

    Returns
    Type Description
    bool

    True if the parameter is present and writable, false if either condition fails.

    View Source

    IsGigEVision()

    Returns true if the device uses the GigE Vision protocol.

    Declaration
    public virtual bool IsGigEVision()
    Returns
    Type Description
    bool

    True if using the GigE Vision protocol, false if not.

    View Source

    IsPleoraPowered()

    Returns true if the device runs on a Pleora design.

    Declaration
    public virtual bool IsPleoraPowered()
    Returns
    Type Description
    bool

    True if the device runs on a Pleora design, false if not.

    View Source

    IsUSB3Vision()

    Returns true if the device uses the USB3 Vision protocol.

    Declaration
    public virtual bool IsUSB3Vision()
    Returns
    Type Description
    bool

    True if using the USB3 Vision protocol, false if not.

    View Source

    ReadMemory(byte[], long, long)

    Reads data from the memory of a device.

    Declaration
    public PvResult ReadMemory(byte[] aBuffer, long aAddress, long aLength)
    Parameters
    Type Name Description
    byte[] aBuffer

    Pointer of the buffer where the data will be written.

    long aAddress

    Address where to read the data.

    long aLength

    Length of the data to read, in bytes.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    ReadRegister(long, out uint)

    Reads a 32 bit value from a GigE Vision register.

    Declaration
    public virtual PvResult ReadRegister(long aAddress, out uint aValue)
    Parameters
    Type Name Description
    long aAddress

    Address of the register.

    uint aValue

    Value read from the register.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    RegisterEventSink(SWIGTYPE_p_IPvDeviceEventSink)

    Registers an event sink that will want to receive the raw events and GenICam invalidator events.

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

    Pointer to an object implementing the IPvDeviceEventSink interface.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    RegisterGenInvalidator(string)

    Registers (and forward to the device serial object) invalidation events for a parameter identified by its name.

    Declaration
    public virtual PvResult RegisterGenInvalidator(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    SetGenBooleanValue(string, bool)

    Sets the value of a Boolean identified by its name.

    Declaration
    public virtual PvResult SetGenBooleanValue(string aParameterName, bool aValue)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    bool aValue

    New value for the Boolean.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    SetGenEnumValue(string, string)

    Sets the value of an enumeration identified by its name.

    Declaration
    public virtual PvResult SetGenEnumValue(string aParameterName, string aEnumEntry)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    string aEnumEntry

    New value for the enumeration.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    SetGenRegisterData(string, byte[], long)

    Sets the data contained in a register identified by its name.

    Declaration
    public PvResult SetGenRegisterData(string aParameterName, byte[] aDataBuffer, long aByteCount)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    byte[] aDataBuffer

    Buffer to copy the data from.

    long aByteCount

    How many bytes to copy from aDataBuffer to the register.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    UnregisterEventSink(SWIGTYPE_p_IPvDeviceEventSink)

    Unregisters an event sink registered with RegisterEventSink.

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

    Pointer to an object implementing the IPvDeviceEventSink interface.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    UnregisterGenInvalidator(string)

    Unregisters (and forward to the device serial object) invalidation events for a parameter identified by its name.

    Declaration
    public virtual PvResult UnregisterGenInvalidator(string aParameterName)
    Parameters
    Type Name Description
    string aParameterName

    Name of the parameter.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    WaitForMessagingChannelIdle(uint)

    Waits for the messaging channel queue to be empty.

    Declaration
    public virtual PvResult WaitForMessagingChannelIdle(uint aTimeout)
    Parameters
    Type Name Description
    uint aTimeout

    How long to wait for the messaging channel to become idle.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    WriteMemory(byte[], long, long)

    Writes data to a the memory of a device.

    Declaration
    public PvResult WriteMemory(byte[] aBuffer, long aAddress, long aLength)
    Parameters
    Type Name Description
    byte[] aBuffer

    Pointer to the data to write.

    long aAddress

    Address where to write the data.

    long aLength

    Length of the data to write, in bytes.

    Returns
    Type Description
    PvResult

    OK on success.

    View Source

    WriteRegister(long, uint)

    Writes a 32 bit value to a GigE Vision register.

    Declaration
    public virtual PvResult WriteRegister(long aAddress, uint aValue)
    Parameters
    Type Name Description
    long aAddress

    Address of the register.

    uint aValue

    Value to write to the register.

    Returns
    Type Description
    PvResult

    OK on success.

    Implements

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