C# Class TransferCavityLock2012.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
CavLockVoltageTrackBar System.Windows.Forms.TrackBar
CavityVoltageReadScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
MasterDataPlot NationalInstruments.UI.ScatterPlot
MasterFitPlot NationalInstruments.UI.ScatterPlot
MasterFitTextBox System.Windows.Forms.TextBox
MasterGainTextBox System.Windows.Forms.TextBox
MasterLaserIntensityScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
MasterSetPointTextBox System.Windows.Forms.TextBox
VToOffsetTextBox System.Windows.Forms.TextBox
axisCheckBox System.Windows.Forms.CheckBox
cavityDataPlot NationalInstruments.UI.ScatterPlot
controller Controller
logCheckBox System.Windows.Forms.CheckBox
masterLockEnableCheck System.Windows.Forms.CheckBox
scanAvCheckBox System.Windows.Forms.CheckBox

Méthodes publiques

Méthode Description
AddSlaveLaser ( SlaveLaser sl ) : void
ClearErrorGraph ( string name ) : void
DisplayCavityData ( double indeces, double cavityData ) : void
DisplayData ( string name, double cavityData, double slaveData ) : void
DisplayErrorData ( string name, double time, double errordata ) : void
DisplayFit ( string name, double cavityData, double slaveFitData ) : void
DisplayMasterData ( double cavityData, double masterData ) : void
DisplayMasterData ( double cavityData, double masterData, double masterFitData ) : void
DisplaySlaveData ( string name, double cavityData, double slaveData, double slaveFitData ) : void
DisplaySlaveDataNoFit ( string name, double cavityData, double slaveData ) : void
EnableControl ( Control control, bool enabled ) : void
GetErrorCount ( string name ) : int
GetGain ( string name ) : double
GetLaserSetPoint ( string name ) : double
GetNumberOfPoints ( ) : int
GetVtoOffsetVoltage ( ) : double
IncrementErrorCount ( string name ) : void
MainForm ( ) : System

The UI for TransferCavityLock

MainForm ( string name ) : System
SetCheckBox ( CheckBox box, bool state ) : void
SetGain ( string name, double value ) : void
SetLED ( Led led, bool val ) : void
SetLaserSetPoint ( string name, double value ) : void
SetLaserVoltage ( string name, double value ) : void
SetMasterFitTextBox ( double value ) : void
SetMasterSetPointTextBox ( double value ) : void
SetNumberOfPoints ( int value ) : void
SetSetPointIncrementSize ( string name, double value ) : void
SetTextBox ( TextBox box, string text ) : void
SetVtoOffsetVoltage ( double value ) : void
ShowAllTabPanels ( ) : void
UpdateElapsedTime ( double time ) : 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
CavLockVoltageTrackBar_Scroll ( object sender, EventArgs e ) : void
EnableControlHelper ( Control control, bool enabled ) : void
InitializeComponent ( ) : void

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

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
SetCheckHelper ( CheckBox box, bool state ) : void
SetLedHelper ( Led led, bool val ) : void
SetTextHelper ( TextBox box, string text ) : void
UpdateUIState ( string name, SlaveLaser state ) : void
axisCheckBox_CheckedChanged ( object sender, EventArgs e ) : void
logCheckBox_CheckedChanged ( object sender, EventArgs e ) : void
masterLockEnableCheck_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
scatterGraphPlot ( ScatterGraph graph, ScatterPlot plot, double x, double y ) : void
stopAllLocking ( ) : void
voltageRampControl_Enter ( object sender, EventArgs e ) : void

Method Details

AddSlaveLaser() public méthode

public AddSlaveLaser ( SlaveLaser sl ) : void
sl SlaveLaser
Résultat void

ClearErrorGraph() public méthode

public ClearErrorGraph ( string name ) : void
name string
Résultat void

DisplayCavityData() public méthode

public DisplayCavityData ( double indeces, double cavityData ) : void
indeces double
cavityData double
Résultat void

DisplayData() public méthode

public DisplayData ( string name, double cavityData, double slaveData ) : void
name string
cavityData double
slaveData double
Résultat void

DisplayErrorData() public méthode

public DisplayErrorData ( string name, double time, double errordata ) : void
name string
time double
errordata double
Résultat void

DisplayFit() public méthode

public DisplayFit ( string name, double cavityData, double slaveFitData ) : void
name string
cavityData double
slaveFitData double
Résultat void

DisplayMasterData() public méthode

public DisplayMasterData ( double cavityData, double masterData ) : void
cavityData double
masterData double
Résultat void

DisplayMasterData() public méthode

public DisplayMasterData ( double cavityData, double masterData, double masterFitData ) : void
cavityData double
masterData double
masterFitData double
Résultat void

DisplaySlaveData() public méthode

public DisplaySlaveData ( string name, double cavityData, double slaveData, double slaveFitData ) : void
name string
cavityData double
slaveData double
slaveFitData double
Résultat void

DisplaySlaveDataNoFit() public méthode

public DisplaySlaveDataNoFit ( string name, double cavityData, double slaveData ) : void
name string
cavityData double
slaveData double
Résultat void

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

GetErrorCount() public méthode

public GetErrorCount ( string name ) : int
name string
Résultat int

GetGain() public méthode

public GetGain ( string name ) : double
name string
Résultat double

GetLaserSetPoint() public méthode

public GetLaserSetPoint ( string name ) : double
name string
Résultat double

GetNumberOfPoints() public méthode

public GetNumberOfPoints ( ) : int
Résultat int

GetVtoOffsetVoltage() public méthode

public GetVtoOffsetVoltage ( ) : double
Résultat double

IncrementErrorCount() public méthode

public IncrementErrorCount ( string name ) : void
name string
Résultat void

MainForm() public méthode

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

MainForm() public méthode

public MainForm ( string name ) : System
name string
Résultat System

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 ( string name, double value ) : void
name string
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 ( string name, double value ) : void
name string
value double
Résultat void

SetLaserVoltage() public méthode

public SetLaserVoltage ( string name, double value ) : void
name string
value double
Résultat void

SetMasterFitTextBox() public méthode

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

SetMasterSetPointTextBox() public méthode

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

SetNumberOfPoints() public méthode

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

SetSetPointIncrementSize() public méthode

public SetSetPointIncrementSize ( string name, double value ) : void
name string
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

SetVtoOffsetVoltage() public méthode

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

ShowAllTabPanels() public méthode

public ShowAllTabPanels ( ) : void
Résultat void

UpdateElapsedTime() public méthode

public UpdateElapsedTime ( double time ) : void
time double
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

CavLockVoltageTrackBar public_oe property

public System.Windows.Forms.TrackBar CavLockVoltageTrackBar
Résultat System.Windows.Forms.TrackBar

CavityVoltageReadScatterGraph public_oe property

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

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

MasterFitTextBox public_oe property

public System.Windows.Forms.TextBox MasterFitTextBox
Résultat System.Windows.Forms.TextBox

MasterGainTextBox public_oe property

public System.Windows.Forms.TextBox MasterGainTextBox
Résultat System.Windows.Forms.TextBox

MasterLaserIntensityScatterGraph public_oe property

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

MasterSetPointTextBox public_oe property

public System.Windows.Forms.TextBox MasterSetPointTextBox
Résultat System.Windows.Forms.TextBox

VToOffsetTextBox public_oe property

public System.Windows.Forms.TextBox VToOffsetTextBox
Résultat System.Windows.Forms.TextBox

axisCheckBox public_oe property

public System.Windows.Forms.CheckBox axisCheckBox
Résultat System.Windows.Forms.CheckBox

cavityDataPlot public_oe property

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

controller public_oe property

public Controller,TransferCavityLock2012 controller
Résultat Controller

logCheckBox public_oe property

public System.Windows.Forms.CheckBox logCheckBox
Résultat System.Windows.Forms.CheckBox

masterLockEnableCheck public_oe property

public System.Windows.Forms.CheckBox masterLockEnableCheck
Résultat System.Windows.Forms.CheckBox

scanAvCheckBox public_oe property

public System.Windows.Forms.CheckBox scanAvCheckBox
Résultat System.Windows.Forms.CheckBox