Click or drag to resize

BaseLaserController Class

Represents the base class of all plugins of type laser controller.
Inheritance Hierarchy

Namespace: RAYLASE.Marker.Device.LaserController
Assembly: RAYLASE.Marker.Device (in RAYLASE.Marker.Device.dll) Version: 2.19.0
Syntax
C#
public abstract class BaseLaserController : BaseDeviceController

The BaseLaserController type exposes the following members.

Constructors
 NameDescription
Protected methodBaseLaserController ctor
Top
Properties
 NameDescription
Public propertyActivatedChainableFeatures Gets the activated chainable features.
(Inherited from BaseDeviceController)
Public propertyArmLaserDelegate Gets or sets the arm laser delegate.
Public propertyAutoConfigureIO Automatically configures necessary IO pins depending on laser (eg. laser alarm, pilot and arm pins). Only supported if Features contains AutoConfigureIO.
Public propertyCheckControllerFeatureDelegate Gets or sets the delegate for checking whether the automation feature is supported.
Protected propertyConfigurationManager
(Inherited from BasePlugin)
Public propertyConnector The communication to the controlling device.
Protected propertyDelta The delta to be used for comparing doubles.
Public propertyEnableChainableFeature Gets or sets the flag to enable chainable features.
(Inherited from BaseDeviceController)
Public propertyEnablePointerDelegate Gets or sets the enable pointer delegate.
Public propertyFeatures Returns set of features, supported by the laser controller.
Public propertyGetPowerScaleMultiplierDelegate Gets or sets the get power scale multiplier delegate.
Public propertyHasConnectedStatus Is true if the device supports the IsConnected status.
(Inherited from BaseDeviceController)
Public propertyIsAutoConnect
(Inherited from BaseDeviceController)
Public propertyIsConnected Is true if the device is connected.
(Inherited from BaseDeviceController)
Public propertyIsInAlarm The flag to indicate that the laser device is in alarmed state.
Public propertyIsInitialized Is true if the device is initialized.
(Inherited from BaseDeviceController)
Public propertyIsLaserArmedDelegate Gets or sets the is laser armed delegate.
Public propertyIsPointerEnabledDelegate Gets or sets the is pointer enabled delegate.
Public propertyLaserProfile Various laser settings of the device.
Protected propertyLogDirectory The directory of the log file.
(Inherited from BasePlugin)
Public propertyLogger The common logger.
(Inherited from BasePlugin)
Public propertyPluginMetadata The metadata of the plugin instances. If the concrete class inherits from the BasePluginSetup interface, the metadata of the BasePluginSetup will be prefilled.
(Inherited from BasePlugin)
Public propertyReadLaserStatusDelegate Gets or sets the read laser status delegate.
Public propertySerialNumber Serial number of the device.
(Inherited from BaseDeviceController)
Public propertySetLaserConfigDelegate Gets or sets the set laser config delegate.
Public propertySetPowerCalibrationFileDelegate Gets or sets the set power calibration file delegate.
Public propertySetPowerCorrectionFileDelegate Gets or sets the set power correction file delegate.
Public propertySetPowerDelegate Gets or sets the set power delegate.
Public propertySetPowerScaleMultiplierDelegate Gets or sets the set power scale multiplier delegate.
Public propertyStatuses
(Inherited from BaseDeviceController)
Public propertySupportedChainableFeatureMap The map of chainable feature types supported by this device. The value indicates whether the feature is a transmitter or a receiver.
(Inherited from BaseDeviceController)
Public propertyTurnLaserOffDelegate Gets or sets the turn laser off delegate.
Public propertyTurnLaserOnDelegate Gets or sets the turn laser on delegate.
Protected propertyValidator The validator to be used for validating property values.
Top
Methods
 NameDescription
Public methodArmLaser(Boolean) Arm or disarm the laser.
Public methodArmLaser(Boolean, Int32, IOPortCondition, NullableGuid) Arm or disarm the laser.
Public methodChangeBeamProfileT Selects a beam profile.
Public methodCheckControllerFeature Checks whether the automation feature is supported.
Public methodClearDelegates Removes all laser delegates.
Public methodConnect Connects to the device.
(Overrides BaseDeviceControllerConnect)
Protected methodCreateDefaultProfile Creates the default laser profile for this device.
Public methodDisconnect Disconnects from the device.
(Overrides BaseDeviceControllerDisconnect)
Public methodDispose
(Inherited from BasePlugin)
Protected methodDispose(Boolean)
(Inherited from BaseDeviceController)
Public methodDisposeUI Disposes the given setting view.
(Inherited from BaseDeviceController)
Protected methodDoConnect Performs the connection process.
Protected methodDoDisconnect Performs the disconnection process.
Protected methodDoDisposeUI
(Inherited from BasePlugin)
Protected methodDoDoShowUI 
Protected methodDoDoShowUICallback 
Protected methodDoShowUI
(Overrides BasePluginDoShowUI(String))
Protected methodDoShowUICallback
(Overrides BasePluginDoShowUICallback(PluginSettingsView))
Public methodEnablePointer(Boolean) Enable or disable the pointer.
Public methodEnablePointer(Boolean, Int32) Enable or disable the pointer.
Public methodEnablePointer(Boolean, IOPortCondition, NullableGuid) Enable or disable the pointer.
Public methodEnablePointer(Boolean, Int32, IOPortCondition, NullableGuid) Enable or disable the pointer.
Public methodGetDeviceStatusRepresentation
(Overrides BaseDeviceControllerGetDeviceStatusRepresentation)
Public methodGetLaserArmed Returns true if the laser is armed.
Public methodGetPointerEnabled Returns true if the laser is enabled.
Public methodGetPowerScaleMultiplier Gets the power scale multiplier of the laser.
Public methodHandleExternalDeviceRequestAsync Handles a chained request for a given list of features.
(Inherited from BaseDeviceController)
Public methodInitialize Plug-in specific initialization can be done here if necessary.
(Inherited from BasePlugin)
Public methodInvokeArmedChanged 
Protected methodInvokeConnected Invokes Connected event.
(Inherited from BaseDeviceController)
Protected methodInvokeDisconnected Invokes Disconnected event.
(Inherited from BaseDeviceController)
Public methodInvokeHasPointerChanged Invoke HasPointerChanged.
Protected methodInvokeInitialized Invokes Initialized event.
(Inherited from BaseDeviceController)
Public methodInvokePointerEnabledChanged 
Protected methodInvokeStatusChanged Invokes StatusChanged event.
(Inherited from BaseDeviceController)
Protected methodIsAnalog Returns whether the laser’s power is controlled via an analog voltage.
Public methodNormalizePowerValue Convert power value from a device specific value to a percentage.
Protected methodOnDevicesChanged
(Inherited from BaseDeviceController)
Public methodReadLaserStatus Reads the status of the laser. Updates IsInAlarm.
Public methodSetLaserConfig Send the laser configuration to the card
Public methodSetOpticalPulseWidthT Sets the optical pulse width.
Public methodSetPower Sets the laser power.
Public methodSetPowerCalibrationFile Sets the power calibration file (*.pcl).
Public methodSetPowerCorrectionFile Sets the power correction file (*.pc3).
Public methodSetPowerScaleMultiplier Sets the PowerScaleMultiplier of the laser.
Public methodSetPulseRepetition Sets the PRR (Pulse Repetition Rate).
Public methodSetPulseWidth Sets the pulse width.
Public methodShowUI Shows the specific UI embedded in the plugin instance.
(Inherited from BaseDeviceController)
Public methodShowUICallback Invokes the callback that can be used when the ShowUI method is done.
(Inherited from BaseDeviceController)
Public methodShowUICancelCallback Invokes the callback that can be used when the ShowUI method is done and the user pressed the cancel button
(Inherited from BasePlugin)
Public methodToString
(Inherited from BasePlugin)
Public methodTurnLaserOff Deactivate the laser
Public methodTurnLaserOn Activates the laser
Protected methodUsePowerCorrectionValue TODO: Use the power correction file.
Protected methodValidateDouble Validates whether a value is within a range.
Public methodValidateDutyCycle Validates a given laser duty cycle.
Public methodValidateFrequency Validates a given laser PRR within its allowable range.
Public methodValidatePower Validates a given laser power within its allowable range.
Public methodValidateProperties Validate property values.
Protected methodValidateRange Validates whether a given range falls within a boundary.
Top
Events
 NameDescription
Public eventArmedChanged Getting called when the arm status changed.
Public eventConnected An event that is triggered when the device is connected.
(Inherited from BaseDeviceController)
Public eventDisconnected An event that is triggered when the device is disconnected.
(Inherited from BaseDeviceController)
Public eventHasPointerChanged Getting called when the hasPointer changed.
Public eventInitialized An event that is triggered when the device is initialized.
(Inherited from BaseDeviceController)
Public eventPointerEnabledChanged Getting called when the pointer status changed.
Public eventStatusChanged An event that is triggered when the status of the device is changed.
(Inherited from BaseDeviceController)
Top
See Also