Table of Contents

Class AlliedVisionSourceSettings

Namespace
VisioForge.Core.Types.X.Sources
Assembly
VisioForge.Core.dll

Allied Vision camera source settings.

public class AlliedVisionSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Constructors

AlliedVisionSourceSettings(AlliedVisionCameraInfo, int?, int?, int?, int?)

Initializes a new instance of the VisioForge.Core.Types.X.Sources.AlliedVisionSourceSettings class.

public AlliedVisionSourceSettings(AlliedVisionCameraInfo camera, int? width = null, int? height = null, int? x = null, int? y = null)

Parameters

camera AlliedVisionCameraInfo

The camera.

width int?

The width (sensor height used if null).

height int?

The height (sensor width used if null).

x int?

The X (0 by default).

y int?

The Y (0 by default).

Properties

BalanceWhiteAuto

Gets or sets the mode for automatic white balancing between the color channels. The white balancing ratios are automatically adjusted.

public VmbSrcBalanceWhiteAutoModes BalanceWhiteAuto { get; set; }

Property Value

VmbSrcBalanceWhiteAutoModes

Camera

Gets the camera.

public AlliedVisionCameraInfo Camera { get; }

Property Value

AlliedVisionCameraInfo

ExposureAuto

Gets or sets the auto exposure mode. The output of the auto exposure function affects the whole image.

public VmbSrcExposureAutoModes ExposureAuto { get; set; }

Property Value

VmbSrcExposureAutoModes

ExposureTime

Gets or sets exposure time when ExposureMode is Timed and ExposureAuto is Off. This controls the duration where the photosensitive cells are exposed to light.

public TimeSpan ExposureTime { get; set; }

Property Value

TimeSpan

Gain

Gets or sets the selected gain as an absolute physical value. This is an amplification factor applied to the video signal.

public double Gain { get; set; }

Property Value

double

IncompleteFrameHandling

Gets or sets the incomplete frame handling method. Determines how the element should handle received frames where data transmission was incomplete. Incomplete frames may contain pixel intensities from old acquisitions or random data

public VmbSrcIncompleteFrameHandlingValues IncompleteFrameHandling { get; set; }

Property Value

VmbSrcIncompleteFrameHandlingValues

Region

Gets the region.

public Rect Region { get; }

Property Value

Rect

SettingsFile

Gets or sets the path to XML file containing camera settings that should be applied. All settings from this file will be applied before any other property is set.

public string SettingsFile { get; set; }

Property Value

string

TriggerActivation

Gets or sets the activation mode of the trigger. Not all cameras support every trigger activation listed below. Check which activations are supported by the used camera model.

public VmbSrcTriggerActivationValues TriggerActivation { get; set; }

Property Value

VmbSrcTriggerActivationValues

TriggerMode

Gets or sets the controls if the selected trigger is active.

public VmbSrcTriggerModeValues TriggerMode { get; set; }

Property Value

VmbSrcTriggerModeValues

TriggerSelector

Gets or sets the type of trigger to configure. Not all cameras support every trigger selector listed below. Check which selectors are supported by the used camera model

public VmbSrcTriggerSelectorValues TriggerSelector { get; set; }

Property Value

VmbSrcTriggerSelectorValues

TriggerSource

Gets or sets the internal signal or physical input Line to use as the trigger source. The selected trigger must have its TriggerMode set to On. Not all cameras support every trigger source listed below. Check which sources are supported by the used camera model.

public VmbSrcTriggerSourceValues TriggerSource { get; set; }

Property Value

VmbSrcTriggerSourceValues

Methods

CreateBlock()

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.