C# Class TransferCavityLock2012.SlaveLaser

A class to represent the laser you are trying to lock. It knows how to calculate what voltage to send to the laser based on the fit coefficients from the data, and it knows how to control the laser (through a helper interface only).
Mostrar archivo Open project: ColdMatter/EDMSuite Class Usage Examples

Public Properties

Property Type Description
Name string
SetPointIncrementSize double
controller Controller
lState LaserState

Public Methods

Method Description
AddSetPointDecrement ( ) : void
AddSetPointIncrement ( ) : void
ArmLock ( ) : void
CalculateLaserSetPoint ( double masterFitCoefficients, double slaveFitCoefficients ) : void
DisengageLock ( ) : void
DisposeLaserControl ( ) : void
Lock ( ) : void
RefreshLock ( double masterFitCoefficients, double slaveFitCoefficients ) : void
SetLaserVoltage ( ) : void
SlaveLaser ( string name ) : System
calculateDeviationFromSetPoint ( double laserSetPoint, double masterFitCoefficients, double slaveFitCoefficients ) : double

Private Methods

Method Description
calculateLaserSetPoint ( double masterFitCoefficients, double slaveFitCoefficients ) : double
calculateNewVoltageToLaser ( double vtolaser, double measuredVoltageChange ) : double
tweakSetPoint ( double oldSetPoint ) : double

Method Details

AddSetPointDecrement() public method

public AddSetPointDecrement ( ) : void
return void

AddSetPointIncrement() public method

public AddSetPointIncrement ( ) : void
return void

ArmLock() public method

public ArmLock ( ) : void
return void

CalculateLaserSetPoint() public method

public CalculateLaserSetPoint ( double masterFitCoefficients, double slaveFitCoefficients ) : void
masterFitCoefficients double
slaveFitCoefficients double
return void

DisengageLock() public method

public DisengageLock ( ) : void
return void

DisposeLaserControl() public method

public DisposeLaserControl ( ) : void
return void

Lock() public method

public Lock ( ) : void
return void

RefreshLock() public method

public RefreshLock ( double masterFitCoefficients, double slaveFitCoefficients ) : void
masterFitCoefficients double
slaveFitCoefficients double
return void

SetLaserVoltage() public method

public SetLaserVoltage ( ) : void
return void

SlaveLaser() public method

public SlaveLaser ( string name ) : System
name string
return System

calculateDeviationFromSetPoint() public method

public calculateDeviationFromSetPoint ( double laserSetPoint, double masterFitCoefficients, double slaveFitCoefficients ) : double
laserSetPoint double
masterFitCoefficients double
slaveFitCoefficients double
return double

Property Details

Name public_oe property

public string Name
return string

SetPointIncrementSize public_oe property

public double SetPointIncrementSize
return double

controller public_oe property

public Controller,TransferCavityLock2012 controller
return Controller

lState public_oe property

public LaserState lState
return LaserState