CogTrevista DomeDiameter Property Cognex VisionPro 9.23
Gets or sets the diameter of the dome illumination unit in millimeters.

Namespace: Cognex.VisionPro.Trevista
Assembly: Cognex.VisionPro.Trevista (in Cognex.VisionPro.Trevista.dll) Version: 91.0.0.0
Syntax

public double DomeDiameter { get; set; }

Property Value

Type: Double
Diameter of the dome illumination unit in millimeters. Default value is 300.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ObjectDisposedException If the object has been disposed.
ArgumentOutOfRangeException The supplied value is less than or equal to zero.
Remarks

The nominal diameter values for the three Trevista domes are listed below. You should enter the value that matches your dome hardware.

  • Small dome: 120 mm
  • Medium dome: 300 mm
  • Large dome: 580 mm

This property is only applied if the SensorCorrectionEnabled property is set to True.


This property only supports float value type precision. Up to five decimal places (such as 0.00001) will be maintained. Further precision can be assigned but will be lost due truncation.

See Also