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
      • GenDCComponentFlagsGroup
      • GenDCComponentHeader
      • GenDCComponentHeaderBase
      • GenDCComponentType
      • GenDCContainerFlagsGroup
      • GenDCContainerHeader
      • GenDCContainerHeaderBase
      • GenDCContainerVariableFieldsGroup
      • GenDCFlowTable
      • GenDCFlowTableHeader
      • GenDCGenericPartType
      • GenDCHeaderType
      • GenDCInfoTypeSpecificH264
      • GenDCInfoTypeSpecificH264.H264Flags
      • GenDCInfoTypeSpecificJPEG
      • GenDCPartFlagsGroup
      • GenDCPartHeader
      • GenDCPartHeader1D
      • GenDCPartHeader1DBase
      • GenDCPartHeader2D
      • GenDCPartHeader2DBase
      • GenDCPartHeaderBase
      • GenDCPartHeaderGenICamChunk
      • GenDCPartHeaderGenICamXML
      • GenDCPartHeaderH264
      • GenDCPartHeaderJPEG
      • GenDCPartHeaderJPEG2000
      • GenDCPartType
      • GenDCPredefinedComponentValue
      • GenDCPredefinedPartValue
      • GenDCPredefinedValue16
      • GenDCPredefinedValue32
      • GenDCPredefinedValue64
      • GenDCReservedValue
      • GenDCSignature
      • GenDCVersionValue
      • IPvChunkData
      • IPvFilter
      • IPvGenDCChunkData
      • IPvGenDCChunkWriter
      • IPvGenDCImage
      • IPvGenDCManager
      • IPvGenericDataComponent
      • IPvGenericDataContainer
      • IPvGenericDataPart
      • IPvH264AccessUnit
      • IPvImage
      • IPvImageJPEG
      • IPvMultiPartContainer
      • IPvMultiPartContainerReader
      • IPvMultiPartContainerWriter
      • IPvMultiPartSection
      • OnDeviceFoundHandler
      • OnParameterUpdateHandler
      • PvBuffer
      • PvChunkData
      • PvComponentType
      • PvCompressionFilter
      • PvDeInterlacer
      • PvDecompressionFilter
      • PvDeviceClass
      • PvDeviceInfo
      • PvDeviceInfoGEV
      • PvDeviceInfoPleoraProtocol
      • PvDeviceInfoType
      • PvDeviceInfoU3V
      • PvDeviceInfoUSB
      • PvDeviceType
      • PvEncodingEnum
      • PvException
      • PvFPSStabilizer
      • PvGenAccessMode
      • PvGenBoolean
      • PvGenCache
      • PvGenCategory
      • PvGenCommand
      • PvGenDCPart1DFields
      • PvGenDCPart2DFields
      • PvGenDCPartH264Fields
      • PvGenDCPartH264Fields.H264Flags
      • PvGenDCPartMetadataFields
      • PvGenDCPartType
      • PvGenDCVariableField
      • PvGenEndianness
      • PvGenEnum
      • PvGenEnumEntry
      • PvGenEventSink
      • PvGenEventSinkSwigInterface
      • PvGenFile
      • PvGenFloat
      • PvGenInteger
      • PvGenNameSpace
      • PvGenOpenMode
      • PvGenParameter
      • PvGenParameterArray
      • PvGenParameterList
      • PvGenRefresh
      • PvGenRegister
      • PvGenRepresentation
      • PvGenSign
      • PvGenStateStack
      • PvGenString
      • PvGenType
      • PvGenVisibility
      • PvImage
      • PvInterface
      • PvInterfaceType
      • PvMultiPartDataType
      • PvNetworkAdapter
      • PvPayloadType
      • PvPixelType
      • PvPleoraCompressed
      • PvRawData
      • PvResult
      • PvResult.Code
      • PvResult.Code.CodeEnum
      • PvSessionInfo
      • PvString
      • PvStringList
      • PvSystem
      • PvSystemEventSink
      • PvTapFilter
      • PvTapGeometryEnum
      • PvTftpClient
      • PvUSBHostController
      • PvUSBSpeed
      • PvUSBStatus
      • SWIGTYPE_p_PV_GENAPI_NS__INode
      • SWIGTYPE_p_PV_GENAPI_NS__INodeMap
      • SWIGTYPE_p_long_long
      • SWIGTYPE_p_unsigned_char
      • SWIGTYPE_p_unsigned_long_long
      • eBUSDotNet
      • uint24_t

    Class PvSystem

    Find interfaces (network adapters or USB host controllers) and devices reachable from this PC

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

    PvSystem finds all interfaces (network adapters) and returns PvInterface objects. PvInterface finds all devices on a specific interface and returns PvDeviceInfo objects. PvDeviceInfo provides the information required to connect to a GigE Vision or USB3 Vision device.

    To connect to the GigE Vision device, see PvDevice or PvDeviceGEV.

    To connect to the USB3 Vision device, see PvDevice or PvDeviceU3V.

    Constructors

    View Source

    PvSystem()

    Constructor.

    Declaration
    public PvSystem()

    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

    DetectionTimeout

    Gets or sets the device detection timeout in milliseconds.

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

    DeviceCount

    Gets the number of devices detected by the system.

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

    GEVSupportedVersion

    Gets the maximum GigE Vision version supported by the system.

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

    InterfaceCount

    Gets the number of interfaces detected by the system.

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

    SubnetBroadcastEnabled

    Gets or sets whether subnet broadcast is enabled during device detection.

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

    U3VSupportedVersion

    Gets the maximum USB3 Vision version supported by the system.

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

    Methods

    View Source

    DiscoverSessions()

    Scans for active sessions advertised via SAP. This is typically used to discover RTP streams, and is unnecessary to call for GEV and U3V devices.

    Declaration
    public uint DiscoverSessions()
    Returns
    Type Description
    uint

    The number of active sessions currently advertised with SAP.

    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

    ~PvSystem()

    Destructor.

    Declaration
    protected ~PvSystem()
    View Source

    Find()

    Find all interfaces and GigE Vision, USB3 Vision and Pleora Protocol devices reachable from this system.

    Declaration
    public PvResult Find()
    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    Remarks

    The Find method searches for all GigE Vision, USB3 Vision and Pleora Protocol devices reachable from this system. PvSystem searches using all interfaces on the system. The method is blocking and won't return for the duration set using DetectionTimeout.

    View Source

    FindDevice(string, out PvDeviceInfo)

    Finds devices until a specific device is found.

    Declaration
    public PvResult FindDevice(string aDeviceToFind, out PvDeviceInfo aDeviceInfo)
    Parameters
    Type Name Description
    string aDeviceToFind

    String representing the device to find. Can be a MAC, IP or device name.

    PvDeviceInfo aDeviceInfo

    If the device is found, contains a pointer to a PvDeviceInfo about the device requested in aDeviceToFind.

    Returns
    Type Description
    PvResult

    Includes:

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

    Performs a standard find operation and keeps listening for answers until a specific device is found.

    More than one device can be found and added to the interfaces during this find operation. Do not assume only the device of interest is present in the system/interface data after this method returns.

    View Source

    GetDeviceInfo(uint)

    Returns a pointer to a device of the PvSystem.

    Declaration
    public PvDeviceInfo GetDeviceInfo(uint aIndex)
    Parameters
    Type Name Description
    uint aIndex

    Zero-based index of the device info. Valid range is [0 .. GetDeviceCount - 1].

    Returns
    Type Description
    PvDeviceInfo

    Pointer to the requested PvDeviceInfo.

    View Source

    GetInterface(uint)

    Get a #PvInterface.

    Declaration
    public PvInterface GetInterface(uint aIndex)
    Parameters
    Type Name Description
    uint aIndex

    The interface's index in the array; a number ranging from 0 to #GetInterfaceCount-1.

    Returns
    Type Description
    PvInterface

    A pointer to a #PvInterface object, or NULL if the index is out of bounds.

    View Source

    GetSessionInfo(uint, PvSessionInfo)

    Returns SDP information about an active session (unused by GEV and U3V).

    Declaration
    public PvResult GetSessionInfo(uint aIndex, PvSessionInfo aSessionInfo)
    Parameters
    Type Name Description
    uint aIndex

    Zero-based index of the session to retrieve information about. Valid range is [0 .. DiscoverSessions() - 1].

    PvSessionInfo aSessionInfo

    Output parameter to receive the session information.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::NOT_FOUND
    View Source

    RegisterEventSink(PvSystemEventSink)

    Register an event sink (for device finding notification).

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

    A pointer to the event sink object.

    Returns
    Type Description
    PvResult

    Includes:

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

    UnregisterEventSink(PvSystemEventSink)

    Unregister an event sink

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

    A pointer to the event sink object.

    Returns
    Type Description
    PvResult

    Includes:

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

    Events

    View Source

    OnDeviceFound

    Raised each time a device is discovered during a find operation.

    Declaration
    public event OnDeviceFoundHandler OnDeviceFound
    Event Type
    Type Description
    OnDeviceFoundHandler

    Implements

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