Class AlliedVisionSourceSettings
Allied Vision camera source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class AlliedVisionSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings
Constructors
AlliedVisionSourceSettings(AlliedVisionCameraInfo, int?, int?, int?, int?)
Initializes a new instance of the AlliedVisionSourceSettings class.
Declaration
public AlliedVisionSourceSettings(AlliedVisionCameraInfo camera, int? width = null, int? height = null, int? x = null, int? y = null)
Parameters
Type | Name | Description |
---|---|---|
AlliedVisionCameraInfo | camera | The camera. |
int? | width | The width (sensor height used if null). |
int? | height | The height (sensor width used if null). |
int? | x | The X (0 by default). |
int? | y | 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.
Declaration
public VmbSrcBalanceWhiteAutoModes BalanceWhiteAuto { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcBalanceWhiteAutoModes | The balance white automatic. |
Camera
Gets the camera.
Declaration
public AlliedVisionCameraInfo Camera { get; }
Property Value
Type | Description |
---|---|
AlliedVisionCameraInfo | The camera. |
ExposureAuto
Gets or sets the auto exposure mode. The output of the auto exposure function affects the whole image.
Declaration
public VmbSrcExposureAutoModes ExposureAuto { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcExposureAutoModes | The exposure automatic. |
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.
Declaration
public TimeSpan ExposureTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The exposure time. |
Gain
Gets or sets the selected gain as an absolute physical value. This is an amplification factor applied to the video signal.
Declaration
public double Gain { get; set; }
Property Value
Type | Description |
---|---|
double | The gain. |
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
Declaration
public VmbSrcIncompleteFrameHandlingValues IncompleteFrameHandling { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcIncompleteFrameHandlingValues | The incomplete frame handling. |
Region
Gets the region.
Declaration
public Rect Region { get; }
Property Value
Type | Description |
---|---|
Rect | The region. |
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.
Declaration
public string SettingsFile { get; set; }
Property Value
Type | Description |
---|---|
string | The settings file. |
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.
Declaration
public VmbSrcTriggerActivationValues TriggerActivation { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcTriggerActivationValues | The trigger activation. |
TriggerMode
Gets or sets the controls if the selected trigger is active.
Declaration
public VmbSrcTriggerModeValues TriggerMode { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcTriggerModeValues | The trigger mode. |
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
Declaration
public VmbSrcTriggerSelectorValues TriggerSelector { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcTriggerSelectorValues | The trigger selector. |
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.
Declaration
public VmbSrcTriggerSourceValues TriggerSource { get; set; }
Property Value
Type | Description |
---|---|
VmbSrcTriggerSourceValues | The trigger source. |
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. |