C# Class TransferCavityLock2012.LockControlPanel

Show file Open project: ColdMatter/EDMSuite Class Usage Examples

Public Properties

Property Type Description
Count int
SlaveDataPlot NationalInstruments.UI.ScatterPlot
SlaveFitPlot NationalInstruments.UI.ScatterPlot
SlaveLaserIntensityScatterGraph NationalInstruments.UI.WindowsForms.ScatterGraph
VoltageTrackBar System.Windows.Forms.TrackBar
controller Controller

Public Methods

Method Description
AdjustAxesAutoScale ( bool state ) : void
AppendToErrorGraph ( double x, double y ) : void
ClearErrorGraph ( ) : void
DisplayData ( double cavityData, double slaveData ) : void
DisplayFit ( double cavityData, double slaveData ) : void
EnableControl ( Control control, bool enabled ) : void
GetGain ( ) : double
GetLaserSetPoint ( ) : double
LockControlPanel ( string name ) : System
LockControlPanel ( string name, double lowerVoltageLimit, double upperVoltageLimit ) : System
SetCheckBox ( CheckBox box, bool state ) : void
SetGain ( double value ) : void
SetLED ( Led led, bool val ) : void
SetLaserSetPoint ( double value ) : void
SetLaserVoltage ( double value ) : void
SetSetPointIncrementSize ( double value ) : void
SetTextBox ( TextBox box, string text ) : void
UpdateUIState ( SlaveLaser state ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ClearNIGraph ( Graph graph ) : void
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.

PlotXYAppend ( Graph graph, ScatterPlot plot, double x, double y ) : void
SetCheckHelper ( CheckBox box, bool state ) : void
SetLedHelper ( Led led, bool val ) : void
SetTextHelper ( TextBox box, string text ) : void
VoltageToLaserChanged ( object sender, EventArgs e ) : void
VoltageTrackBar_Scroll ( object sender, EventArgs e ) : void
fsrTextBox_TextChanged ( object sender, EventArgs e ) : void
lockEnableCheck_CheckedChanged ( object sender, EventArgs e ) : void
plotScatterGraphHelper ( ScatterPlot plot, double x, double y ) : void
scatterGraphPlot ( ScatterGraph graph, ScatterPlot plot, double x, double y ) : void
setPointAdjustMinusButton_Click ( object sender, EventArgs e ) : void
setPointAdjustPlusButton_Click ( object sender, EventArgs e ) : void
setPointIncrementBox_TextChanged ( object sender, EventArgs e ) : void
slErrorResetButton_Click ( object sender, EventArgs e ) : void

Method Details

AdjustAxesAutoScale() public method

public AdjustAxesAutoScale ( bool state ) : void
state bool
return void

AppendToErrorGraph() public method

public AppendToErrorGraph ( double x, double y ) : void
x double
y double
return void

ClearErrorGraph() public method

public ClearErrorGraph ( ) : void
return void

DisplayData() public method

public DisplayData ( double cavityData, double slaveData ) : void
cavityData double
slaveData double
return void

DisplayFit() public method

public DisplayFit ( double cavityData, double slaveData ) : void
cavityData double
slaveData double
return void

Dispose() protected method

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

EnableControl() public method

public EnableControl ( Control control, bool enabled ) : void
control Control
enabled bool
return void

GetGain() public method

public GetGain ( ) : double
return double

GetLaserSetPoint() public method

public GetLaserSetPoint ( ) : double
return double

LockControlPanel() public method

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

LockControlPanel() public method

public LockControlPanel ( string name, double lowerVoltageLimit, double upperVoltageLimit ) : System
name string
lowerVoltageLimit double
upperVoltageLimit double
return System

SetCheckBox() public method

public SetCheckBox ( CheckBox box, bool state ) : void
box CheckBox
state bool
return void

SetGain() public method

public SetGain ( double value ) : void
value double
return void

SetLED() public method

public SetLED ( Led led, bool val ) : void
led Led
val bool
return void

SetLaserSetPoint() public method

public SetLaserSetPoint ( double value ) : void
value double
return void

SetLaserVoltage() public method

public SetLaserVoltage ( double value ) : void
value double
return void

SetSetPointIncrementSize() public method

public SetSetPointIncrementSize ( double value ) : void
value double
return void

SetTextBox() public method

public SetTextBox ( TextBox box, string text ) : void
box TextBox
text string
return void

UpdateUIState() public method

public UpdateUIState ( SlaveLaser state ) : void
state SlaveLaser
return void

Property Details

Count public property

public int Count
return int

SlaveDataPlot public property

public NationalInstruments.UI.ScatterPlot SlaveDataPlot
return NationalInstruments.UI.ScatterPlot

SlaveFitPlot public property

public NationalInstruments.UI.ScatterPlot SlaveFitPlot
return NationalInstruments.UI.ScatterPlot

SlaveLaserIntensityScatterGraph public property

public NationalInstruments.UI.WindowsForms.ScatterGraph SlaveLaserIntensityScatterGraph
return NationalInstruments.UI.WindowsForms.ScatterGraph

VoltageTrackBar public property

public System.Windows.Forms.TrackBar VoltageTrackBar
return System.Windows.Forms.TrackBar

controller public property

public Controller,TransferCavityLock2012 controller
return Controller