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 PvConfigurationReader

    Reads and restores configuration data from persistence files.

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

    This class provides methods to load configuration data and restore it to devices, streams, parameter arrays, and property lists.

    Constructors

    View Source

    PvConfigurationReader()

    Constructor.

    Declaration
    public PvConfigurationReader()

    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

    DeviceCount

    Returns the number of devices stored in the configuration.

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

    GenParameterArrayCount

    Returns the number of GenICam parameter arrays stored in the configuration.

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

    PropertyListCount

    Returns the number of property lists stored in the configuration.

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

    StreamCount

    Returns the number of streams stored in the configuration.

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

    StringCount

    Returns the number of strings stored in the configuration.

    Declaration
    public uint StringCount { 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

    ~PvConfigurationReader()

    Destructor.

    Declaration
    protected ~PvConfigurationReader()
    View Source

    GetDeviceName(uint, out string)

    Gets the name of a device at the specified index.

    Declaration
    public PvResult GetDeviceName(uint aIndex, out string aName)
    Parameters
    Type Name Description
    uint aIndex

    Index of the device.

    string aName

    Name of the device.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    GetGenParameterArrayName(uint, out string)

    Gets the name of a GenICam parameter array at the specified index.

    Declaration
    public PvResult GetGenParameterArrayName(uint aIndex, out string aName)
    Parameters
    Type Name Description
    uint aIndex

    Index of the parameter array.

    string aName

    Name of the parameter array.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    GetPropertyListName(uint, out string)

    Gets the name of a property list at the specified index.

    Declaration
    public PvResult GetPropertyListName(uint aIndex, out string aName)
    Parameters
    Type Name Description
    uint aIndex

    Index of the property list.

    string aName

    Name of the property list.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    GetStreamName(uint, out string)

    Gets the name of a stream at the specified index.

    Declaration
    public PvResult GetStreamName(uint aIndex, out string aName)
    Parameters
    Type Name Description
    uint aIndex

    Index of the stream.

    string aName

    Name of the stream.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    GetStringName(uint, out string)

    Gets the name of a string entry at the specified index.

    Declaration
    public PvResult GetStringName(uint aIndex, out string aName)
    Parameters
    Type Name Description
    uint aIndex

    Index of the string entry.

    string aName

    Name of the string entry.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Load(string)

    Loads configuration data from a file.

    Declaration
    public PvResult Load(string aFilename)
    Parameters
    Type Name Description
    string aFilename

    Path to the configuration file.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    LoadFromString(string)

    Loads configuration data from a string.

    Declaration
    public PvResult LoadFromString(string aString)
    Parameters
    Type Name Description
    string aString

    String containing the configuration data.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(string, ref PvDevice)

    Restores configuration to a device by name.

    Declaration
    public PvResult Restore(string aName, ref PvDevice aDevice)
    Parameters
    Type Name Description
    string aName

    Name of the stored device configuration.

    PvDevice aDevice

    Device to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(string, ref PvGenParameterArray)

    Restores configuration to a GenICam parameter array by key.

    Declaration
    public PvResult Restore(string aKey, ref PvGenParameterArray aParameterArray)
    Parameters
    Type Name Description
    string aKey

    Key of the stored parameter array configuration.

    PvGenParameterArray aParameterArray

    Parameter array to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(string, ref PvPropertyList)

    Restores configuration to a property list by key.

    Declaration
    public PvResult Restore(string aKey, ref PvPropertyList aPropertyList)
    Parameters
    Type Name Description
    string aKey

    Key of the stored property list configuration.

    PvPropertyList aPropertyList

    Property list to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(string, ref PvStream)

    Restores configuration to a stream by name.

    Declaration
    public PvResult Restore(string aName, ref PvStream aStream)
    Parameters
    Type Name Description
    string aName

    Name of the stored stream configuration.

    PvStream aStream

    Stream to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(string, out string)

    Restores a string value by key.

    Declaration
    public PvResult Restore(string aKey, out string aValue)
    Parameters
    Type Name Description
    string aKey

    Key of the stored string.

    string aValue

    Restored string value.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(uint, ref PvDevice)

    Restores configuration to a device by index.

    Declaration
    public PvResult Restore(uint aIndex, ref PvDevice aDevice)
    Parameters
    Type Name Description
    uint aIndex

    Index of the stored device configuration.

    PvDevice aDevice

    Device to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(uint, ref PvGenParameterArray)

    Restores configuration to a GenICam parameter array by index.

    Declaration
    public PvResult Restore(uint aIndex, ref PvGenParameterArray aParameterArray)
    Parameters
    Type Name Description
    uint aIndex

    Index of the stored parameter array configuration.

    PvGenParameterArray aParameterArray

    Parameter array to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(uint, ref PvPropertyList)

    Restores configuration to a property list by index.

    Declaration
    public PvResult Restore(uint aIndex, ref PvPropertyList aPropertyList)
    Parameters
    Type Name Description
    uint aIndex

    Index of the stored property list configuration.

    PvPropertyList aPropertyList

    Property list to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(uint, PvStream)

    Restores configuration to a stream by index.

    Declaration
    public PvResult Restore(uint aIndex, PvStream Stream)
    Parameters
    Type Name Description
    uint aIndex

    Index of the stored stream configuration.

    PvStream Stream

    Stream to restore configuration to.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    Restore(uint, out string)

    Restores a string value by index.

    Declaration
    public PvResult Restore(uint aIndex, out string aValue)
    Parameters
    Type Name Description
    uint aIndex

    Index of the stored string.

    string aValue

    Restored string value.

    Returns
    Type Description
    PvResult

    Result of the operation.

    View Source

    SetErrorList(SWIGTYPE_p_PvStringList, string)

    Sets the error list for collecting error messages during restore operations.

    Declaration
    public void SetErrorList(SWIGTYPE_p_PvStringList aList, string aPrefix)
    Parameters
    Type Name Description
    SWIGTYPE_p_PvStringList aList

    String list to receive error messages.

    string aPrefix

    Prefix to add to error messages.

    Implements

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