Base |
public abstract class BaseSerialLaserController : BaseLaserController
The BaseSerialLaserController type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseSerialLaserController | ctor |
| Name | Description | |
|---|---|---|
| ActivatedChainableFeatures |
Gets the activated chainable features.
(Inherited from BaseDeviceController) | |
| ArmLaserDelegate |
Gets or sets the arm laser delegate.
(Inherited from BaseLaserController) | |
| AutoConfigureIO |
Automatically configures necessary IO pins depending on laser (eg. laser alarm, pilot and arm pins).
Only supported if Features contains AutoConfigureIO.
(Inherited from BaseLaserController) | |
| CheckControllerFeatureDelegate |
Gets or sets the delegate for checking whether the automation feature is supported.
(Inherited from BaseLaserController) | |
| ConfigurationManager | (Inherited from BasePlugin) | |
| Connector |
The communication to the controlling device.
(Inherited from BaseLaserController) | |
| Delta |
The delta to be used for comparing doubles.
(Inherited from BaseLaserController) | |
| DeviceManager | ||
| DoRead | ||
| EnableChainableFeature |
Gets or sets the flag to enable chainable features.
(Inherited from BaseDeviceController) | |
| EnablePointerDelegate |
Gets or sets the enable pointer delegate.
(Inherited from BaseLaserController) | |
| EnableSerialPort | If true the serial port will be used. | |
| Features |
Returns set of features, supported by the laser controller.
(Inherited from BaseLaserController) | |
| GetPowerScaleMultiplierDelegate |
Gets or sets the get power scale multiplier delegate.
(Inherited from BaseLaserController) | |
| Green | ||
| HasConnectedStatus |
Is true if the device supports the IsConnected status.
(Inherited from BaseDeviceController) | |
| IsAutoConnect | (Inherited from BaseDeviceController) | |
| IsCommunicationOk | 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. | |
| IsConnected |
Is true if the device is connected.
(Inherited from BaseDeviceController) | |
| IsInAlarm |
The flag to indicate that the laser device is in alarmed state.
(Inherited from BaseLaserController) | |
| IsInitialized |
Is true if the device is initialized.
(Inherited from BaseDeviceController) | |
| IsLaserArmedDelegate |
Gets or sets the is laser armed delegate.
(Inherited from BaseLaserController) | |
| IsNew | ||
| IsPointerEnabledDelegate |
Gets or sets the is pointer enabled delegate.
(Inherited from BaseLaserController) | |
| IsSerialPortOpen | Flag to signal if the serial port is open. | |
| IsStillUnused | Is true if the serial port communication is established, but still not used ("gray" state). | |
| LaserProfile |
Various laser settings of the device.
(Inherited from BaseLaserController) | |
| LastMessageStrings | ||
| LightGray | ||
| LogDirectory |
The directory of the log file.
(Inherited from BasePlugin) | |
| Logger |
The common logger.
(Inherited from BasePlugin) | |
| MessageHandler | ||
| PluginMetadata |
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) | |
| ReadLaserStatusDelegate |
Gets or sets the read laser status delegate.
(Inherited from BaseLaserController) | |
| Red | ||
| SerialNumber |
Serial number of the device.
(Inherited from BaseDeviceController) | |
| SerialPort | The serial port to control this laser device. | |
| SetLaserConfigDelegate |
Gets or sets the set laser config delegate.
(Inherited from BaseLaserController) | |
| SetPowerCalibrationFileDelegate |
Gets or sets the set power calibration file delegate.
(Inherited from BaseLaserController) | |
| SetPowerCorrectionFileDelegate |
Gets or sets the set power correction file delegate.
(Inherited from BaseLaserController) | |
| SetPowerDelegate |
Gets or sets the set power delegate.
(Inherited from BaseLaserController) | |
| SetPowerScaleMultiplierDelegate |
Gets or sets the set power scale multiplier delegate.
(Inherited from BaseLaserController) | |
| Statuses | (Inherited from BaseDeviceController) | |
| SupportedChainableFeatureMap |
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) | |
| Transparent | ||
| TurnLaserOffDelegate |
Gets or sets the turn laser off delegate.
(Inherited from BaseLaserController) | |
| TurnLaserOnDelegate |
Gets or sets the turn laser on delegate.
(Inherited from BaseLaserController) | |
| Validator |
The validator to be used for validating property values.
(Inherited from BaseLaserController) | |
| ValidPulseWidths | The allowed pulse widths for this laser device, given in ns. | |
| Yellow |
| Name | Description | |
|---|---|---|
| AppendMessage | 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. | |
| ArmLaser(Boolean) |
Arm or disarm the laser.
(Inherited from BaseLaserController) | |
| ArmLaser(Boolean, Int32, IOPortCondition, NullableGuid) |
Arm or disarm the laser.
(Inherited from BaseLaserController) | |
| ChangeBeamProfileT |
Selects a beam profile.
(Inherited from BaseLaserController) | |
| CheckControllerFeature |
Checks whether the automation feature is supported.
(Inherited from BaseLaserController) | |
| CheckOnLaserReadySerial | Checks if the laser is ready by retrieving its state by the RS-232 connection. | |
| ClearDelegates |
Removes all laser delegates.
(Inherited from BaseLaserController) | |
| Connect |
Connects to the device.
(Inherited from BaseLaserController) | |
| ConnectSerialPort | Connects with the serial port. | |
| CreateDefaultProfile |
Creates the default laser profile for this device.
(Inherited from BaseLaserController) | |
| Disconnect |
Disconnects from the device.
(Inherited from BaseLaserController) | |
| Dispose | (Inherited from BasePlugin) | |
| Dispose(Boolean) | Releases the unmanaged resources used by the BaseSerialLaserController and optionally releases the managed resources (Overrides BaseDeviceControllerDispose(Boolean)) | |
| DisposeUI |
Disposes the given setting view.
(Inherited from BaseDeviceController) | |
| DoConnect |
Performs the connection process.
(Overrides BaseLaserControllerDoConnect) | |
| DoDisconnect |
Stops the message handler thread and closes the serial port.
(Overrides BaseLaserControllerDoDisconnect) | |
| DoDisposeUI | (Inherited from BasePlugin) | |
| DoDoShowUI | (Inherited from BaseLaserController) | |
| DoDoShowUICallback | (Inherited from BaseLaserController) | |
| DoShowUI | (Inherited from BaseLaserController) | |
| DoShowUICallback | (Inherited from BaseLaserController) | |
| EnablePointer(Boolean) |
Enable or disable the pointer.
(Inherited from BaseLaserController) | |
| EnablePointer(Boolean, Int32) |
Enable or disable the pointer.
(Inherited from BaseLaserController) | |
| EnablePointer(Boolean, IOPortCondition, NullableGuid) |
Enable or disable the pointer.
(Inherited from BaseLaserController) | |
| EnablePointer(Boolean, Int32, IOPortCondition, NullableGuid) |
Enable or disable the pointer.
(Inherited from BaseLaserController) | |
| GetDeviceStatusRepresentation | (Overrides BaseLaserControllerGetDeviceStatusRepresentation) | |
| GetLaserArmed |
Returns true if the laser is armed.
(Inherited from BaseLaserController) | |
| GetPointerEnabled |
Returns true if the laser is enabled.
(Inherited from BaseLaserController) | |
| GetPowerScaleMultiplier |
Gets the power scale multiplier of the laser.
(Inherited from BaseLaserController) | |
| GetUsedScanController | Retrieves the scan controller associated with this laser. | |
| HandleExternalDeviceRequestAsync |
Handles a chained request for a given list of features.
(Inherited from BaseDeviceController) | |
| HandleSerialMessagesThread(Object) | The message handler for incoming messages from the serial port. | |
| HandleSerialMessagesThread(Thread) | The concrete message handler is to be implemented by the derived class. | |
| Initialize |
Plug-in specific initialization can be done here if necessary.
(Inherited from BasePlugin) | |
| InvokeArmedChanged | (Inherited from BaseLaserController) | |
| InvokeCommunicationError | Invokes communication error event. | |
| InvokeCommunicationOk | Invokes communication OK event. | |
| InvokeConnected |
Invokes Connected event.
(Inherited from BaseDeviceController) | |
| InvokeDisconnected |
Invokes Disconnected event.
(Inherited from BaseDeviceController) | |
| InvokeHasPointerChanged |
Invoke HasPointerChanged.
(Inherited from BaseLaserController) | |
| InvokeInitialized |
Invokes Initialized event.
(Inherited from BaseDeviceController) | |
| InvokePointerEnabledChanged | (Inherited from BaseLaserController) | |
| InvokeSerialPortClosed | Invokes the serial port closed event. | |
| InvokeSerialPortOpened | Invokes the serial port opened event. | |
| InvokeStatusChanged |
Invokes StatusChanged event.
(Inherited from BaseDeviceController) | |
| InvokeStillUnused | Invokes still unused event. | |
| InvokeUninitialized | Invokes the Uninitialized event. | |
| InvokeUsed | Invokes used event. | |
| IsAnalog |
Returns whether the laser’s power is controlled via an analog voltage.
(Inherited from BaseLaserController) | |
| NormalizePowerValue |
Convert power value from a device specific value to a percentage.
(Inherited from BaseLaserController) | |
| OnDevicesChanged | (Inherited from BaseDeviceController) | |
| OnSerialPortConnected | In this method class dependent actions can be done when the serial port could be opened, e. g. getting the laser state. | |
| OnSerialPortDisconnected | In this method class dependent actions can be done when the serial port is disconnected. | |
| ReadLaserStatus |
Reads the status of the laser. Updates IsInAlarm.
(Inherited from BaseLaserController) | |
| SetLaserConfig |
Send the laser configuration to the card
(Inherited from BaseLaserController) | |
| SetOpticalPulseWidthT |
Sets the optical pulse width.
(Inherited from BaseLaserController) | |
| SetPower |
Sets the laser power.
(Inherited from BaseLaserController) | |
| SetPowerCalibrationFile |
Sets the power calibration file (*.pcl).
(Inherited from BaseLaserController) | |
| SetPowerCorrectionFile |
Sets the power correction file (*.pc3).
(Inherited from BaseLaserController) | |
| SetPowerScaleMultiplier |
Sets the PowerScaleMultiplier of the laser.
(Inherited from BaseLaserController) | |
| SetPulseRepetition |
Sets the PRR (Pulse Repetition Rate).
(Inherited from BaseLaserController) | |
| SetPulseWidth |
Sets the pulse width.
(Inherited from BaseLaserController) | |
| ShowUI |
Shows the specific UI embedded in the plugin instance.
(Inherited from BaseDeviceController) | |
| ShowUICallback |
Invokes the callback that can be used when the ShowUI method is done.
(Inherited from BaseDeviceController) | |
| ShowUICancelCallback |
Invokes the callback that can be used when the ShowUI method is done and the user pressed the cancel button
(Inherited from BasePlugin) | |
| ToString | (Inherited from BasePlugin) | |
| TurnLaserOff |
Deactivate the laser
(Inherited from BaseLaserController) | |
| TurnLaserOn |
Activates the laser
(Inherited from BaseLaserController) | |
| UpdateLaserStateGui | Updates the traffic lights in the settings dialog, the menu bar and the Configure devices dialog. | |
| UsePowerCorrectionValue |
TODO: Use the power correction file.
(Inherited from BaseLaserController) | |
| ValidateDouble |
Validates whether a value is within a range.
(Inherited from BaseLaserController) | |
| ValidateDutyCycle |
Validates a given laser duty cycle.
(Inherited from BaseLaserController) | |
| ValidateFrequency |
Validates a given laser PRR within its allowable range.
(Inherited from BaseLaserController) | |
| ValidatePower |
Validates a given laser power within its allowable range.
(Inherited from BaseLaserController) | |
| ValidateProperties |
Validate property values.
(Overrides BaseLaserControllerValidateProperties) | |
| ValidateRange |
Validates whether a given range falls within a boundary.
(Inherited from BaseLaserController) |
| Name | Description | |
|---|---|---|
| ArmedChanged |
Getting called when the arm status changed.
(Inherited from BaseLaserController) | |
| CommunicationError | An event that is triggered when the device is connected but a communication error occured. | |
| CommunicationOk | An event that is triggered when the device is connected and communication ok. | |
| Connected |
An event that is triggered when the device is connected.
(Inherited from BaseDeviceController) | |
| Disconnected |
An event that is triggered when the device is disconnected.
(Inherited from BaseDeviceController) | |
| HasPointerChanged |
Getting called when the hasPointer changed.
(Inherited from BaseLaserController) | |
| Initialized |
An event that is triggered when the device is initialized.
(Inherited from BaseDeviceController) | |
| PointerEnabledChanged |
Getting called when the pointer status changed.
(Inherited from BaseLaserController) | |
| SerialPortClosed | An event that is triggered when the serial port is closed. | |
| SerialPortOpened | An event that is triggered when the serial port is opened. | |
| StatusChanged |
An event that is triggered when the status of the device is changed.
(Inherited from BaseDeviceController) | |
| StillUnused | An event that is triggered when the COM port is connected but still not used. | |
| Uninitialized | An event that is triggered when the device is uninitialized. | |
| Used | An event that is triggered when the COM port is used. |