Click or drag to resize

BaseLaserController Methods

The BaseLaserController type exposes the following members.

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
See Also