Click or drag to resize

BaseSerialLaserControllerPlugin Class

[Missing <summary> documentation for "T:RAYLASE.MarkerPlugin.Devices.Laser.BaseSerialLaserControllerPlugin"]

Inheritance Hierarchy

Namespace: RAYLASE.MarkerPlugin.Devices.Laser
Assembly: RAYLASE.MarkerPlugin (in RAYLASE.MarkerPlugin.dll) Version: 2.19.0
Syntax
C#
public abstract class BaseSerialLaserControllerPlugin : BaseSerialLaserController

The BaseSerialLaserControllerPlugin type exposes the following members.

Constructors
 NameDescription
Protected methodBaseSerialLaserControllerPluginInitializes a new instance of the BaseSerialLaserControllerPlugin class
Top
Properties
 NameDescription
Public propertyActivatedChainableFeatures Gets the activated chainable features.
(Inherited from BaseDeviceController)
Public propertyArmLaserDelegate Gets or sets the arm laser delegate.
(Inherited from BaseLaserController)
Public propertyAutoConfigureIO Automatically configures necessary IO pins depending on laser (eg. laser alarm, pilot and arm pins). Only supported if Features contains AutoConfigureIO.
(Inherited from BaseLaserController)
Public propertyCheckControllerFeatureDelegate Gets or sets the delegate for checking whether the automation feature is supported.
(Inherited from BaseLaserController)
Protected propertyConfigurationManager
(Inherited from BasePlugin)
Public propertyConnector The communication to the controlling device.
(Inherited from BaseLaserController)
Protected propertyDelta The delta to be used for comparing doubles.
(Inherited from BaseLaserController)
Protected propertyDeviceManager
(Inherited from BaseSerialLaserController)
Protected propertyDoRead
(Inherited from BaseSerialLaserController)
Public propertyEnableChainableFeature Gets or sets the flag to enable chainable features.
(Inherited from BaseDeviceController)
Public propertyEnablePointerDelegate Gets or sets the enable pointer delegate.
(Inherited from BaseLaserController)
Public propertyEnableSerialPort If true the serial port will be used.
(Inherited from BaseSerialLaserController)
Public propertyFeatures Returns set of features, supported by the laser controller.
(Inherited from BaseLaserController)
Public propertyGetPowerScaleMultiplierDelegate Gets or sets the get power scale multiplier delegate.
(Inherited from BaseLaserController)
Protected propertyGreen
(Inherited from BaseSerialLaserController)
Public propertyHasConnectedStatus Is true if the device supports the IsConnected status.
(Inherited from BaseDeviceController)
Public propertyIsAutoConnect
(Inherited from BaseDeviceController)
Public propertyIsCommunicationOk Is true if the serial port communication is established, false e. g. if an expected answer could not be received. May be caused by a timeout or unexpected response.
(Inherited from BaseSerialLaserController)
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.
(Inherited from BaseLaserController)
Public propertyIsInitialized Is true if the device is initialized.
(Inherited from BaseDeviceController)
Public propertyIsLaserArmedDelegate Gets or sets the is laser armed delegate.
(Inherited from BaseLaserController)
Protected propertyIsNew
(Inherited from BaseSerialLaserController)
Public propertyIsPointerEnabledDelegate Gets or sets the is pointer enabled delegate.
(Inherited from BaseLaserController)
Public propertyIsSerialPortOpen Flag to signal if the serial port is open.
(Inherited from BaseSerialLaserController)
Public propertyIsStillUnused Is true if the serial port communication is established, but still not used ("gray" state).
(Inherited from BaseSerialLaserController)
Public propertyLaserProfile Various laser settings of the device.
(Inherited from BaseLaserController)
Protected propertyLastMessageStrings
(Inherited from BaseSerialLaserController)
Protected propertyLightGray
(Inherited from BaseSerialLaserController)
Protected propertyLogDirectory The directory of the log file.
(Inherited from BasePlugin)
Public propertyLogger The common logger.
(Inherited from BasePlugin)
Protected propertyMessageHandler
(Inherited from BaseSerialLaserController)
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.
(Inherited from BaseLaserController)
Protected propertyRed
(Inherited from BaseSerialLaserController)
Public propertySerialNumber Serial number of the device.
(Inherited from BaseDeviceController)
Public propertySerialPort The serial port to control this laser device.
(Inherited from BaseSerialLaserController)
Public propertySetLaserConfigDelegate Gets or sets the set laser config delegate.
(Inherited from BaseLaserController)
Public propertySetPowerCalibrationFileDelegate Gets or sets the set power calibration file delegate.
(Inherited from BaseLaserController)
Public propertySetPowerCorrectionFileDelegate Gets or sets the set power correction file delegate.
(Inherited from BaseLaserController)
Public propertySetPowerDelegate Gets or sets the set power delegate.
(Inherited from BaseLaserController)
Public propertySetPowerScaleMultiplierDelegate Gets or sets the set power scale multiplier delegate.
(Inherited from BaseLaserController)
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)
Protected propertyTransparent
(Inherited from BaseSerialLaserController)
Public propertyTurnLaserOffDelegate Gets or sets the turn laser off delegate.
(Inherited from BaseLaserController)
Public propertyTurnLaserOnDelegate Gets or sets the turn laser on delegate.
(Inherited from BaseLaserController)
Protected propertyValidator The validator to be used for validating property values.
(Inherited from BaseLaserController)
Public propertyValidPulseWidths The allowed pulse widths for this laser device, given in ns.
(Inherited from BaseSerialLaserController)
Protected propertyYellow
(Inherited from BaseSerialLaserController)
Top
Methods
 NameDescription
Protected methodAppendMessage Adds the given string to the list of received messages, with a preceding timestamp in the manner of the RAYGUIDE log data. The list is a ring buffer with at most 200 entries and shown in the GUI.
(Inherited from BaseSerialLaserController)
Public methodArmLaser(Boolean) Arm or disarm the laser.
(Inherited from BaseLaserController)
Public methodArmLaser(Boolean, Int32, IOPortCondition, NullableGuid) Arm or disarm the laser.
(Inherited from BaseLaserController)
Public methodChangeBeamProfileT Selects a beam profile.
(Inherited from BaseLaserController)
Public methodCheckControllerFeature Checks whether the automation feature is supported.
(Inherited from BaseLaserController)
Public methodCheckOnLaserReadySerial Checks if the laser is ready by retrieving its state by the RS-232 connection.
(Inherited from BaseSerialLaserController)
Public methodClearDelegates Removes all laser delegates.
(Inherited from BaseLaserController)
Public methodConnect Connects to the device.
(Inherited from BaseLaserController)
Protected methodConnectSerialPort Connects with the serial port.
(Inherited from BaseSerialLaserController)
Protected methodCreateDefaultProfile Creates the default laser profile for this device.
(Inherited from BaseLaserController)
Public methodDisconnect Disconnects from the device.
(Inherited from BaseLaserController)
Public methodDispose
(Inherited from BasePlugin)
Protected methodDispose(Boolean)
(Inherited from BaseSerialLaserController)
Public methodDisposeUI Disposes the given setting view.
(Inherited from BaseDeviceController)
Protected methodDoConnect Performs the connection process.
(Inherited from BaseSerialLaserController)
Protected methodDoDisconnect Stops the message handler thread and closes the serial port.
(Inherited from BaseSerialLaserController)
Protected methodDoDisposeUI
(Inherited from BasePlugin)
Protected methodDoDoDoShowUI 
Protected methodDoDoDoShowUICallback 
Protected methodDoDoShowUI
(Overrides BaseLaserControllerDoDoShowUI(String))
Protected methodDoDoShowUICallback
(Overrides BaseLaserControllerDoDoShowUICallback(PluginSettingsView))
Protected methodDoShowUI
(Inherited from BaseLaserController)
Protected methodDoShowUICallback
(Inherited from BaseLaserController)
Public methodEnablePointer(Boolean) Enable or disable the pointer.
(Inherited from BaseLaserController)
Public methodEnablePointer(Boolean, Int32) Enable or disable the pointer.
(Inherited from BaseLaserController)
Public methodEnablePointer(Boolean, IOPortCondition, NullableGuid) Enable or disable the pointer.
(Inherited from BaseLaserController)
Public methodEnablePointer(Boolean, Int32, IOPortCondition, NullableGuid) Enable or disable the pointer.
(Inherited from BaseLaserController)
Public methodGetDeviceStatusRepresentation
(Inherited from BaseSerialLaserController)
Public methodGetLaserArmed Returns true if the laser is armed.
(Inherited from BaseLaserController)
Public methodGetPointerEnabled Returns true if the laser is enabled.
(Inherited from BaseLaserController)
Public methodGetPowerScaleMultiplier Gets the power scale multiplier of the laser.
(Inherited from BaseLaserController)
Protected methodGetUsedScanController Retrieves the scan controller associated with this laser.
(Inherited from BaseSerialLaserController)
Public methodHandleExternalDeviceRequestAsync Handles a chained request for a given list of features.
(Inherited from BaseDeviceController)
Protected methodHandleSerialMessagesThread(Thread) The concrete message handler is to be implemented by the derived class.
(Inherited from BaseSerialLaserController)
Public methodInitialize Plug-in specific initialization can be done here if necessary.
(Inherited from BasePlugin)
Public methodInvokeArmedChanged
(Inherited from BaseLaserController)
Protected methodInvokeCommunicationError Invokes communication error event.
(Inherited from BaseSerialLaserController)
Protected methodInvokeCommunicationOk Invokes communication OK event.
(Inherited from BaseSerialLaserController)
Protected methodInvokeConnected Invokes Connected event.
(Inherited from BaseDeviceController)
Protected methodInvokeDisconnected Invokes Disconnected event.
(Inherited from BaseDeviceController)
Public methodInvokeHasPointerChanged Invoke HasPointerChanged.
(Inherited from BaseLaserController)
Protected methodInvokeInitialized Invokes Initialized event.
(Inherited from BaseDeviceController)
Public methodInvokePointerEnabledChanged
(Inherited from BaseLaserController)
Protected methodInvokeSerialPortClosed Invokes the serial port closed event.
(Inherited from BaseSerialLaserController)
Protected methodInvokeSerialPortOpened Invokes the serial port opened event.
(Inherited from BaseSerialLaserController)
Protected methodInvokeStatusChanged Invokes StatusChanged event.
(Inherited from BaseDeviceController)
Protected methodInvokeStillUnused Invokes still unused event.
(Inherited from BaseSerialLaserController)
Protected methodInvokeUninitialized Invokes the Uninitialized event.
(Inherited from BaseSerialLaserController)
Protected methodInvokeUsed Invokes used event.
(Inherited from BaseSerialLaserController)
Protected methodIsAnalog Returns whether the laser’s power is controlled via an analog voltage.
(Inherited from BaseLaserController)
Public methodNormalizePowerValue Convert power value from a device specific value to a percentage.
(Inherited from BaseLaserController)
Protected methodOnDevicesChanged
(Inherited from BaseDeviceController)
Protected methodOnSerialPortConnected In this method class dependent actions can be done when the serial port could be opened, e. g. getting the laser state.
(Inherited from BaseSerialLaserController)
Protected methodOnSerialPortDisconnected In this method class dependent actions can be done when the serial port is disconnected.
(Inherited from BaseSerialLaserController)
Public methodReadLaserStatus Reads the status of the laser. Updates IsInAlarm.
(Inherited from BaseLaserController)
Public methodSetLaserConfig Send the laser configuration to the card
(Inherited from BaseLaserController)
Public methodSetOpticalPulseWidthT Sets the optical pulse width.
(Inherited from BaseLaserController)
Public methodSetPower Sets the laser power.
(Inherited from BaseLaserController)
Public methodSetPowerCalibrationFile Sets the power calibration file (*.pcl).
(Inherited from BaseLaserController)
Public methodSetPowerCorrectionFile Sets the power correction file (*.pc3).
(Inherited from BaseLaserController)
Public methodSetPowerScaleMultiplier Sets the PowerScaleMultiplier of the laser.
(Inherited from BaseLaserController)
Public methodSetPulseRepetition Sets the PRR (Pulse Repetition Rate).
(Inherited from BaseLaserController)
Public methodSetPulseWidth Sets the pulse width.
(Inherited from BaseLaserController)
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
(Inherited from BaseLaserController)
Public methodTurnLaserOn Activates the laser
(Inherited from BaseLaserController)
Protected methodUpdateLaserStateGui Updates the traffic lights in the settings dialog, the menu bar and the Configure devices dialog.
(Inherited from BaseSerialLaserController)
Protected methodUsePowerCorrectionValue TODO: Use the power correction file.
(Inherited from BaseLaserController)
Protected methodValidateDouble Validates whether a value is within a range.
(Inherited from BaseLaserController)
Public methodValidateDutyCycle Validates a given laser duty cycle.
(Inherited from BaseLaserController)
Public methodValidateFrequency Validates a given laser PRR within its allowable range.
(Inherited from BaseLaserController)
Public methodValidatePower Validates a given laser power within its allowable range.
(Inherited from BaseLaserController)
Public methodValidateProperties Validate property values.
(Inherited from BaseSerialLaserController)
Protected methodValidateRange Validates whether a given range falls within a boundary.
(Inherited from BaseLaserController)
Top
Events
 NameDescription
Public eventArmedChanged Getting called when the arm status changed.
(Inherited from BaseLaserController)
Public eventCommunicationError An event that is triggered when the device is connected but a communication error occured.
(Inherited from BaseSerialLaserController)
Public eventCommunicationOk An event that is triggered when the device is connected and communication ok.
(Inherited from BaseSerialLaserController)
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.
(Inherited from BaseLaserController)
Public eventInitialized An event that is triggered when the device is initialized.
(Inherited from BaseDeviceController)
Public eventPointerEnabledChanged Getting called when the pointer status changed.
(Inherited from BaseLaserController)
Public eventSerialPortClosed An event that is triggered when the serial port is closed.
(Inherited from BaseSerialLaserController)
Public eventSerialPortOpened An event that is triggered when the serial port is opened.
(Inherited from BaseSerialLaserController)
Public eventStatusChanged An event that is triggered when the status of the device is changed.
(Inherited from BaseDeviceController)
Public eventStillUnused An event that is triggered when the COM port is connected but still not used.
(Inherited from BaseSerialLaserController)
Public eventUninitialized An event that is triggered when the device is uninitialized.
(Inherited from BaseSerialLaserController)
Public eventUsed An event that is triggered when the COM port is used.
(Inherited from BaseSerialLaserController)
Top
See Also