C# Class TransferCavityLock.MainForm

Front panel of the laser controller
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: ColdMatter/EDMSuite Class Usage Examples

Méthodes publiques

Свойство Type Description
MasterDataPlot NationalInstruments.UI.ScatterPlot
MasterFitPlot NationalInstruments.UI.ScatterPlot
MasterLaserIntensityScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
SlaveDataPlot NationalInstruments.UI.ScatterPlot
SlaveFitPlot NationalInstruments.UI.ScatterPlot
SlaveLaserIntensityScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
controller Controller

Méthodes publiques

Méthode Description
EnableControl ( Control control, bool enabled ) : void
GetGain ( ) : double
GetLaserSetPoint ( ) : double
GetNumberOfPoints ( ) : int
GetScanOffset ( ) : double
GetScanWidth ( ) : double
MainForm ( ) : System

The UI for TransferCavityLock

ScatterGraphPlot ( ScatterGraph graph, ScatterPlot plot, double x, double y ) : void
SetCheckBox ( CheckBox box, bool state ) : void
SetGain ( double value ) : void
SetLED ( Led led, bool val ) : void
SetLaserSetPoint ( double value ) : void
SetLaserVoltage ( double value ) : void
SetNumberOfPoints ( int value ) : void
SetRadioButton ( RadioButton button, bool state ) : void
SetScanOffset ( double value ) : void
SetScanWidth ( double value ) : void
SetSetPointIncrementSize ( double value ) : void
SetTextBox ( TextBox box, string text ) : void
updateUIState ( Controller state ) : void

This controls which parts of the UI are enabled for a given machine state.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
EnableControlHelper ( Control control, bool enabled ) : void
GainChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MainForm_Load ( object sender, EventArgs e ) : void
SetCheckHelper ( CheckBox box, bool state ) : void
SetLedHelper ( Led led, bool val ) : void
SetRadioButtonHelper ( RadioButton button, bool state ) : void
SetTextHelper ( TextBox box, string text ) : void
VoltageToLaserChanged ( object sender, EventArgs e ) : void
fitAndStabilizeEnableCheck_CheckedChanged ( object sender, EventArgs e ) : void
lockEnableCheck_CheckedChanged ( object sender, EventArgs e ) : void
plotScatterGraphHelper ( ScatterPlot plot, double x, double y ) : void
rampStartButton_Click ( object sender, EventArgs e ) : void
rampStopButton_Click ( object sender, EventArgs e ) : void
setPointAdjustMinusButton_Click ( object sender, EventArgs e ) : void
setPointAdjustPlusButton_Click ( object sender, EventArgs e ) : void
setPointIncrementBox_TextChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

EnableControl() public méthode

public EnableControl ( Control control, bool enabled ) : void
control System.Windows.Forms.Control
enabled bool
Résultat void

GetGain() public méthode

public GetGain ( ) : double
Résultat double

GetLaserSetPoint() public méthode

public GetLaserSetPoint ( ) : double
Résultat double

GetNumberOfPoints() public méthode

public GetNumberOfPoints ( ) : int
Résultat int

GetScanOffset() public méthode

public GetScanOffset ( ) : double
Résultat double

GetScanWidth() public méthode

public GetScanWidth ( ) : double
Résultat double

MainForm() public méthode

The UI for TransferCavityLock
public MainForm ( ) : System
Résultat System

ScatterGraphPlot() public méthode

public ScatterGraphPlot ( ScatterGraph graph, ScatterPlot plot, double x, double y ) : void
graph ScatterGraph
plot ScatterPlot
x double
y double
Résultat void

SetCheckBox() public méthode

public SetCheckBox ( CheckBox box, bool state ) : void
box System.Windows.Forms.CheckBox
state bool
Résultat void

SetGain() public méthode

public SetGain ( double value ) : void
value double
Résultat void

SetLED() public méthode

public SetLED ( Led led, bool val ) : void
led Led
val bool
Résultat void

SetLaserSetPoint() public méthode

public SetLaserSetPoint ( double value ) : void
value double
Résultat void

SetLaserVoltage() public méthode

public SetLaserVoltage ( double value ) : void
value double
Résultat void

SetNumberOfPoints() public méthode

public SetNumberOfPoints ( int value ) : void
value int
Résultat void

SetRadioButton() public méthode

public SetRadioButton ( RadioButton button, bool state ) : void
button System.Windows.Forms.RadioButton
state bool
Résultat void

SetScanOffset() public méthode

public SetScanOffset ( double value ) : void
value double
Résultat void

SetScanWidth() public méthode

public SetScanWidth ( double value ) : void
value double
Résultat void

SetSetPointIncrementSize() public méthode

public SetSetPointIncrementSize ( double value ) : void
value double
Résultat void

SetTextBox() public méthode

public SetTextBox ( TextBox box, string text ) : void
box System.Windows.Forms.TextBox
text string
Résultat void

updateUIState() public méthode

This controls which parts of the UI are enabled for a given machine state.
public updateUIState ( Controller state ) : void
state Controller
Résultat void

Property Details

MasterDataPlot public_oe property

public NationalInstruments.UI.ScatterPlot MasterDataPlot
Résultat NationalInstruments.UI.ScatterPlot

MasterFitPlot public_oe property

public NationalInstruments.UI.ScatterPlot MasterFitPlot
Résultat NationalInstruments.UI.ScatterPlot

MasterLaserIntensityScatterGraph public_oe property

public NationalInstruments.UI.WindowsForms.ScatterGraph MasterLaserIntensityScatterGraph
Résultat NationalInstruments.UI.WindowsForms.ScatterGraph

SlaveDataPlot public_oe property

public NationalInstruments.UI.ScatterPlot SlaveDataPlot
Résultat NationalInstruments.UI.ScatterPlot

SlaveFitPlot public_oe property

public NationalInstruments.UI.ScatterPlot SlaveFitPlot
Résultat NationalInstruments.UI.ScatterPlot

SlaveLaserIntensityScatterGraph public_oe property

public NationalInstruments.UI.WindowsForms.ScatterGraph SlaveLaserIntensityScatterGraph
Résultat NationalInstruments.UI.WindowsForms.ScatterGraph

controller public_oe property

public Controller,TransferCavityLock controller
Résultat Controller