Class GenICamSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
GenICam camera source settings.
public class GenICamSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
GenICamSourceSettings(string, Rect, VideoFrameRate, GenICamPixelFormat)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.GenICamSourceSettings class.
public GenICamSourceSettings(string deviceName, Rect region, VideoFrameRate frameRate, GenICamPixelFormat pixelFormat)Parameters
deviceNamestring-
Name of the device.
regionRect-
The region.
frameRateVideoFrameRate-
The frame rate.
pixelFormatGenICamPixelFormat-
The pixel format.
GenICamSourceSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.GenICamSourceSettings class.
public GenICamSourceSettings(string deviceName)Parameters
deviceNamestring-
Name of the device.
Properties
AutoExposureMode
Gets or sets the automatic exposure mode.
public GenICamSettingsMode AutoExposureMode { get; set; }Property Value
AutoGainMode
Gets or sets the automatic gain mode.
public GenICamSettingsMode AutoGainMode { get; set; }Property Value
AutoPacketSize
Gets or sets a value indicating whether to negotiate GigEVision streaming packet size.
public bool AutoPacketSize { get; set; }Property Value
ExposureTime
Gets or sets the exposure time [0 - 100_000_000 µs].
public TimeSpan? ExposureTime { get; set; }Property Value
Features
Gets or sets the additional configuration parameters as a space separated list of feature assignations.
public string Features { get; set; }Property Value
FrameRate
Gets the frame rate.
public VideoFrameRate FrameRate { get; }Property Value
Gain
Gets or sets the gain (dB) [-1.0 - 500].
public double Gain { get; set; }Property Value
HBinning
Gets or sets the CCD horizontal binning.
public int HBinning { get; set; }Property Value
Name
Gets or sets the camera name.
public string Name { get; set; }Property Value
OffsetX
Gets or sets the X offset.
public int OffsetX { get; set; }Property Value
OffsetY
Gets or sets the Y offset.
public int OffsetY { get; set; }Property Value
PacketDelay
Gets or sets the GigEVision streaming inter packet delay (in ns, -1 = default).
public long PacketDelay { get; set; }Property Value
PacketResend
Gets or sets a value indicating whether to request dropped packets to be reissued by the camera.
public bool PacketResend { get; set; }Property Value
PacketSize
Gets or sets the size of the packet [36-65500].
public int PacketSize { get; set; }Property Value
PixelFormat
Gets the pixel format.
public GenICamPixelFormat PixelFormat { get; }Property Value
Region
Gets the region.
public Rect Region { get; }Property Value
USBMode
Gets or sets the USB mode.
public GenICamUSBMode USBMode { get; set; }Property Value
VBinning
Gets or sets the CCD vertical binning.
public int VBinning { get; set; }Property Value
VBuffersNumber
Gets or sets the number of video buffers to allocate for video frames.
public int VBuffersNumber { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
ToString()
Returns a String that represents this instance.
public override string ToString()