VisioForge (c) 2025

Search Results for

    Class GenICamSourceSettings

    GenICam camera source settings.

    Inheritance
    object
    GenICamSourceSettings
    Implements
    IVideoCaptureBaseVideoSourceSettings
    IVideoMixerSource
    IVideoSourceSettings
    IMediaBlockSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: VisioForge.Core.Types.X.Sources
    Assembly: VisioForge.Core.dll
    Syntax
    public class GenICamSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings

    Constructors

    GenICamSourceSettings(string, Rect, double, GenICamPixelFormat)

    Initializes a new instance of the GenICamSourceSettings class.

    Declaration
    public GenICamSourceSettings(string deviceName, Rect region, double frameRate, GenICamPixelFormat pixelFormat)
    Parameters
    Type Name Description
    string deviceName

    Name of the device.

    Rect region

    The region.

    double frameRate

    The frame rate.

    GenICamPixelFormat pixelFormat

    The pixel format.

    Properties

    AutoExposureMode

    Gets or sets the automatic exposure mode.

    Declaration
    public GenICamSettingsMode AutoExposureMode { get; set; }
    Property Value
    Type Description
    GenICamSettingsMode

    The automatic exposure mode.

    AutoGainMode

    Gets or sets the automatic gain mode.

    Declaration
    public GenICamSettingsMode AutoGainMode { get; set; }
    Property Value
    Type Description
    GenICamSettingsMode

    The automatic gain mode.

    AutoPacketSize

    Gets or sets a value indicating whether to negotiate GigEVision streaming packet size.

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

    ExposureTime

    Gets or sets the exposure time [0 - 100_000_000 µs].

    Declaration
    public TimeSpan? ExposureTime { get; set; }
    Property Value
    Type Description
    TimeSpan?

    The exposure time.

    Features

    Gets or sets the additional configuration parameters as a space separated list of feature assignations.

    Declaration
    public string Features { get; set; }
    Property Value
    Type Description
    string

    FrameRate

    Gets the frame rate.

    Declaration
    public double FrameRate { get; }
    Property Value
    Type Description
    double

    The frame rate.

    Gain

    Gets or sets the gain (dB) [-1.0 - 500].

    Declaration
    public double Gain { get; set; }
    Property Value
    Type Description
    double

    The gain.

    HBinning

    Gets or sets the CCD horizontal binning.

    Declaration
    public int HBinning { get; set; }
    Property Value
    Type Description
    int

    The CCD horizontal binning.

    Name

    Gets or sets the camera name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    The name.

    OffsetX

    Gets or sets the X offset.

    Declaration
    public int OffsetX { get; set; }
    Property Value
    Type Description
    int

    The X offset .

    OffsetY

    Gets or sets the Y offset.

    Declaration
    public int OffsetY { get; set; }
    Property Value
    Type Description
    int

    The Y offset .

    PacketDelay

    Gets or sets the GigEVision streaming inter packet delay (in ns, -1 = default).

    Declaration
    public long PacketDelay { get; set; }
    Property Value
    Type Description
    long

    The packet delay.

    PacketResend

    Gets or sets a value indicating whether to request dropped packets to be reissued by the camera.

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

    PacketSize

    Gets or sets the size of the packet [36-65500].

    Declaration
    public int PacketSize { get; set; }
    Property Value
    Type Description
    int

    The size of the packet.

    PixelFormat

    Gets the pixel format.

    Declaration
    public GenICamPixelFormat PixelFormat { get; }
    Property Value
    Type Description
    GenICamPixelFormat

    The pixel format.

    Region

    Gets the region.

    Declaration
    public Rect Region { get; }
    Property Value
    Type Description
    Rect

    The region.

    USBMode

    Gets or sets the USB mode.

    Declaration
    public GenICamUSBMode USBMode { get; set; }
    Property Value
    Type Description
    GenICamUSBMode

    The USB mode.

    VBinning

    Gets or sets the CCD vertical binning.

    Declaration
    public int VBinning { get; set; }
    Property Value
    Type Description
    int

    The CCD vertical binning.

    VBuffersNumber

    Gets or sets the number of video buffers to allocate for video frames.

    Declaration
    public int VBuffersNumber { get; set; }
    Property Value
    Type Description
    int

    Methods

    CreateBlock()

    Creates the block.

    Declaration
    public MediaBlock CreateBlock()
    Returns
    Type Description
    MediaBlock

    MediaBlock.

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    object.ToString()

    Implements

    IVideoCaptureBaseVideoSourceSettings
    IVideoMixerSource
    IVideoSourceSettings
    IMediaBlockSettings