C# Class EDMHardwareControl.Controller

This is the interface to the edm specific hardware. Everything is just bundled into a single class. The methods/properties are grouped: the first set change the state of the hardware, these usually act immediately, but sometimes you need to call an update method. Read the code to find out which are which. The second set of methods read out the state of the hardware. These invariably need to be brought up to date with an update method before use.
Inheritance: System.MarshalByRefObject
Show file Open project: ColdMatter/EDMSuite Class Usage Examples

Public Methods

Method Description
AutomaticBiasCalculation ( ) : void
AutomaticRFxACalculation ( ) : void
AutomaticRFxFCalculation ( ) : void
CalibrateIMonitors ( ) : void
ChangePolarity ( bool polarity ) : void
CheckPiMonitor ( ) : void
CheckYAGInterlock ( ) : void
ClearIMonitorAv ( ) : void
DecreaseVCOVoltage ( ) : void
DecreaseuWaveVoltage ( ) : void
DisableYAGQ ( ) : void
EnableBleed ( bool enabled ) : void
EnableEField ( bool enabled ) : void
EnableGreenSynth ( bool enable ) : void
EnableMicrowaves ( bool enable ) : void
EnablePumpRFSwitch ( bool enable ) : void
EnableRFSwitch ( bool enable ) : void
EnableYAGQ ( ) : void
FieldsOff ( ) : void
IncreaseVCOVoltage ( ) : void
IncreaseuWaveVoltage ( ) : void
InitializeLifetimeService ( ) : Object
LoadParametersWithDialog ( ) : void
ReadIMonitor ( ) : void
ReconfigureIMonitors ( ) : void
ReturnPolarizersToZero ( ) : void
SaveParametersWithDialog ( ) : void
SelectGreenDCFM ( bool enable ) : void
SetArgonShutter ( bool enable ) : void
SetAttenutatorVoltages ( ) : void
SetBFlip ( bool enable ) : void
SetBleed ( bool enable ) : void
SetCMinusVoltage ( double voltage ) : void
SetCPlusVoltage ( double voltage ) : void
SetCalFlip ( bool enable ) : void
SetEPolarity ( bool state ) : void
SetFLPZT2Cur ( ) : void
SetFLPZT2Temp ( ) : void
SetFibreAmpPwr ( ) : void
SetGreenSynthAmp ( double amp ) : void
SetI2Bias ( double value ) : void
SetI2IntegralLock ( bool state ) : void
SetI2ProportionalLock ( bool state ) : void
SetLeakageMonitorMeasurementTime ( double time ) : void
SetMenloPZT ( double value ) : void
SetPatternTTL ( bool enable ) : void
SetPhaseFlip1 ( bool enable ) : void
SetPhaseFlip2 ( bool enable ) : void
SetProbePolAngle ( ) : void
SetProbePolAngleZero ( ) : void
SetProbePolVoltage ( ) : void
SetProbePolVoltageZero ( ) : void
SetPumpAOMVoltage ( double v ) : void
SetPumpPolAngle ( ) : void
SetPumpPolAngleZero ( ) : void
SetPumpPolVoltage ( ) : void
SetPumpPolVoltageZero ( ) : void
SetRF1AttCentre ( double v ) : void
SetRF1FMCentre ( double v ) : void
SetRF2AttCentre ( double v ) : void
SetRF2FMCentre ( double v ) : void
SetRandomProbePosition ( ) : void
SetRandomPumpPosition ( ) : void
SetScanningBFS ( ) : void
SetScanningBVoltage ( ) : void
SetScanningBVoltage ( double v ) : void
SetScanningBZero ( ) : void
SetScramblerVoltage ( ) : void
SetScramblerVoltage ( double v ) : void
SetSteppingBBiasVoltage ( ) : void
SetSteppingBBiasVoltage ( double v ) : void
SetSwitchTTL ( bool enable ) : void
SetprobeAOMVoltage ( double v ) : void
ShowMessageBox ( ) : void
Start ( ) : void
StartLoggingCurrent ( ) : void
StartYAGFlashlamps ( ) : void
StepTarget ( ) : void
StepTarget ( int numSteps ) : void
StopLoggingCurrent ( ) : void
StopYAGFlashlamps ( ) : void
StoreParameters ( ) : void
StoreParameters ( String dataStoreFilePath ) : void
Switch ( string channel, bool state ) : void
SwitchE ( ) : void
SwitchE ( bool state ) : void
SwitchEAndWait ( ) : void
SwitchEAndWait ( bool state ) : void
SwitchEWorker ( ) : void
SwitchEWorkerForIRamp ( ) : void
SwitchLF1 ( bool lf1State ) : void
SwitchLF2 ( bool lf2State ) : void
TweakMixerVoltage ( ) : void
TweakVCO155AmpV ( ) : void
TweakVCO155FreqV ( ) : void
TweakVCO161AmpV ( ) : void
TweakVCO161FreqV ( ) : void
TweakVCO30AmpV ( ) : void
TweakVCO30FreqV ( ) : void
TweakuWaveDCFMVoltage ( ) : void
UpdateBCurrentMonitor ( ) : void
UpdateBVoltage ( ) : void
UpdateDiodeCurrentGraphAndMonitor ( ) : void
UpdateDiodeCurrentMonitor ( ) : void
UpdateFLAOM ( ) : void
UpdateFLAOMFreqMonitor ( ) : void
UpdateFibreAmpFaults ( ) : void
UpdateI2ErrorSigGraphAndMonitor ( ) : void
UpdateI2ErrorSigMonitor ( ) : void
UpdateIMonitor ( ) : void
UpdateIRecord ( ) : void
UpdateLaserPhotodiodes ( ) : void
UpdateLaserPhotodiodesUI ( ) : void
UpdateMenloPZT ( ) : void
UpdateMiniFluxgates ( ) : void
UpdateMiniFluxgatesUI ( ) : void
UpdatePiMonitor ( ) : void
UpdatePiMonitorUI ( ) : void
UpdateProbeAOMFreqMonitor ( ) : void
UpdateProbeAOMV ( ) : void
UpdateProbeAOMV ( double pztVoltage ) : void
UpdateProbePolAngleMonitor ( ) : void
UpdateProbePolMode ( ) : void
UpdatePumpAOM ( ) : void
UpdatePumpAOM ( double pumpAOMVoltage ) : void
UpdatePumpAOMFreqMonitor ( ) : void
UpdatePumpPolAngleMonitor ( ) : void
UpdatePumpPolMode ( ) : void
UpdateRFFrequencyMonitor ( ) : void
UpdateRFPowerMonitor ( ) : void
UpdateVCO155AmpV ( ) : void
UpdateVCO155AmpVoltage ( double pztVoltage ) : void
UpdateVCO155FreqV ( ) : void
UpdateVCO155FreqVoltage ( double pztVoltage ) : void
UpdateVCO161AmpV ( ) : void
UpdateVCO161AmpVoltage ( double pztVoltage ) : void
UpdateVCO161FreqV ( ) : void
UpdateVCO161FreqVoltage ( double pztVoltage ) : void
UpdateVCO30AmpV ( ) : void
UpdateVCO30AmpVoltage ( double pztVoltage ) : void
UpdateVCO30FreqV ( ) : void
UpdateVCO30FreqVoltage ( double pztVoltage ) : void
UpdateVMonitor ( ) : void
UpdateVMonitorUI ( ) : void
UpdateVoltages ( ) : void
UpdateYAGFlashlampVoltage ( ) : void
UpdateuWaveDCFMV ( ) : void
UpdateuWaveDCFMVoltage ( double pztVoltage ) : void
UpdateuWaveMixerV ( ) : void
UpdateuWaveMixerVoltage ( double pztVoltage ) : void
WindowValue ( double value, double minValue, double maxValue ) : double

Private Methods

Method Description
CalculateVoltages ( ) : void
CreateAnalogInputTask ( string channel ) : Task
CreateAnalogInputTask ( string channel, double lowRange, double highRange ) : Task
CreateAnalogOutputTask ( string channel ) : Task
CreateDigitalInputTask ( String name ) : void
CreateDigitalTask ( String name ) : void
DiodeCurrentMonitorPollWorker ( ) : void
ESwitchDone ( ) : void
IMonitorPollWorker ( ) : void
LoadParameters ( ) : void
LoadParameters ( String dataStoreFilePath ) : void
RampVoltages ( double startPlus, double targetPlus, double startMinus, double targetMinus, int numSteps, double rampTime ) : void
ReadAnalogInput ( Task task ) : double
ReadAnalogInput ( Task task, double sampleRate, int numOfSamples ) : double
ReadDigitalLine ( string name ) : bool
SelectAttenuator ( bool enable ) : void
SetAnalogOutput ( Task task, double voltage ) : void
SetDigitalLine ( string name, bool value ) : void
SetFMVoltages ( ) : void
SetFibreAmpPowerSwitch ( bool enable ) : void
SetScramblerTTL ( bool enable ) : void
StartDiodeCurrentPoll ( ) : void
StartI2ErrorSigPoll ( ) : void
StartIMonitorPoll ( ) : void
StopDiodeCurrentPoll ( ) : void
StopI2ErrorSigPoll ( ) : void
StopIMonitorPoll ( ) : void
WindowClosing ( ) : void
WindowLoaded ( ) : void
activateBAlarm ( double flipStep ) : void
activateEAlarm ( bool newEPolarity ) : void
calculateProbeAOMFrequency ( bool lf1State ) : double
calculatePumpAOMFrequency ( bool lf2State ) : double
i2ErrorSigMonitorPollWorker ( ) : void
windowVoltage ( double vIn, double vMin, double vMax ) : double

Method Details

AutomaticBiasCalculation() public method

public AutomaticBiasCalculation ( ) : void
return void

AutomaticRFxACalculation() public method

public AutomaticRFxACalculation ( ) : void
return void

AutomaticRFxFCalculation() public method

public AutomaticRFxFCalculation ( ) : void
return void

CalibrateIMonitors() public method

public CalibrateIMonitors ( ) : void
return void

ChangePolarity() public method

public ChangePolarity ( bool polarity ) : void
polarity bool
return void

CheckPiMonitor() public method

public CheckPiMonitor ( ) : void
return void

CheckYAGInterlock() public method

public CheckYAGInterlock ( ) : void
return void

ClearIMonitorAv() public method

public ClearIMonitorAv ( ) : void
return void

DecreaseVCOVoltage() public method

public DecreaseVCOVoltage ( ) : void
return void

DecreaseuWaveVoltage() public method

public DecreaseuWaveVoltage ( ) : void
return void

DisableYAGQ() public method

public DisableYAGQ ( ) : void
return void

EnableBleed() public method

public EnableBleed ( bool enabled ) : void
enabled bool
return void

EnableEField() public method

public EnableEField ( bool enabled ) : void
enabled bool
return void

EnableGreenSynth() public method

public EnableGreenSynth ( bool enable ) : void
enable bool
return void

EnableMicrowaves() public method

public EnableMicrowaves ( bool enable ) : void
enable bool
return void

EnablePumpRFSwitch() public method

public EnablePumpRFSwitch ( bool enable ) : void
enable bool
return void

EnableRFSwitch() public method

public EnableRFSwitch ( bool enable ) : void
enable bool
return void

EnableYAGQ() public method

public EnableYAGQ ( ) : void
return void

FieldsOff() public method

public FieldsOff ( ) : void
return void

IncreaseVCOVoltage() public method

public IncreaseVCOVoltage ( ) : void
return void

IncreaseuWaveVoltage() public method

public IncreaseuWaveVoltage ( ) : void
return void

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : Object
return Object

LoadParametersWithDialog() public method

public LoadParametersWithDialog ( ) : void
return void

ReadIMonitor() public method

public ReadIMonitor ( ) : void
return void

ReconfigureIMonitors() public method

public ReconfigureIMonitors ( ) : void
return void

ReturnPolarizersToZero() public method

public ReturnPolarizersToZero ( ) : void
return void

SaveParametersWithDialog() public method

public SaveParametersWithDialog ( ) : void
return void

SelectGreenDCFM() public method

public SelectGreenDCFM ( bool enable ) : void
enable bool
return void

SetArgonShutter() public method

public SetArgonShutter ( bool enable ) : void
enable bool
return void

SetAttenutatorVoltages() public method

public SetAttenutatorVoltages ( ) : void
return void

SetBFlip() public method

public SetBFlip ( bool enable ) : void
enable bool
return void

SetBleed() public method

public SetBleed ( bool enable ) : void
enable bool
return void

SetCMinusVoltage() public method

public SetCMinusVoltage ( double voltage ) : void
voltage double
return void

SetCPlusVoltage() public method

public SetCPlusVoltage ( double voltage ) : void
voltage double
return void

SetCalFlip() public method

public SetCalFlip ( bool enable ) : void
enable bool
return void

SetEPolarity() public method

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

SetFLPZT2Cur() public method

public SetFLPZT2Cur ( ) : void
return void

SetFLPZT2Temp() public method

public SetFLPZT2Temp ( ) : void
return void

SetFibreAmpPwr() public method

public SetFibreAmpPwr ( ) : void
return void

SetGreenSynthAmp() public method

public SetGreenSynthAmp ( double amp ) : void
amp double
return void

SetI2Bias() public method

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

SetI2IntegralLock() public method

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

SetI2ProportionalLock() public method

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

SetLeakageMonitorMeasurementTime() public method

public SetLeakageMonitorMeasurementTime ( double time ) : void
time double
return void

SetMenloPZT() public method

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

SetPatternTTL() public method

public SetPatternTTL ( bool enable ) : void
enable bool
return void

SetPhaseFlip1() public method

public SetPhaseFlip1 ( bool enable ) : void
enable bool
return void

SetPhaseFlip2() public method

public SetPhaseFlip2 ( bool enable ) : void
enable bool
return void

SetProbePolAngle() public method

public SetProbePolAngle ( ) : void
return void

SetProbePolAngleZero() public method

public SetProbePolAngleZero ( ) : void
return void

SetProbePolVoltage() public method

public SetProbePolVoltage ( ) : void
return void

SetProbePolVoltageZero() public method

public SetProbePolVoltageZero ( ) : void
return void

SetPumpAOMVoltage() public method

public SetPumpAOMVoltage ( double v ) : void
v double
return void

SetPumpPolAngle() public method

public SetPumpPolAngle ( ) : void
return void

SetPumpPolAngleZero() public method

public SetPumpPolAngleZero ( ) : void
return void

SetPumpPolVoltage() public method

public SetPumpPolVoltage ( ) : void
return void

SetPumpPolVoltageZero() public method

public SetPumpPolVoltageZero ( ) : void
return void

SetRF1AttCentre() public method

public SetRF1AttCentre ( double v ) : void
v double
return void

SetRF1FMCentre() public method

public SetRF1FMCentre ( double v ) : void
v double
return void

SetRF2AttCentre() public method

public SetRF2AttCentre ( double v ) : void
v double
return void

SetRF2FMCentre() public method

public SetRF2FMCentre ( double v ) : void
v double
return void

SetRandomProbePosition() public method

public SetRandomProbePosition ( ) : void
return void

SetRandomPumpPosition() public method

public SetRandomPumpPosition ( ) : void
return void

SetScanningBFS() public method

public SetScanningBFS ( ) : void
return void

SetScanningBVoltage() public method

public SetScanningBVoltage ( ) : void
return void

SetScanningBVoltage() public method

public SetScanningBVoltage ( double v ) : void
v double
return void

SetScanningBZero() public method

public SetScanningBZero ( ) : void
return void

SetScramblerVoltage() public method

public SetScramblerVoltage ( ) : void
return void

SetScramblerVoltage() public method

public SetScramblerVoltage ( double v ) : void
v double
return void

SetSteppingBBiasVoltage() public method

public SetSteppingBBiasVoltage ( ) : void
return void

SetSteppingBBiasVoltage() public method

public SetSteppingBBiasVoltage ( double v ) : void
v double
return void

SetSwitchTTL() public method

public SetSwitchTTL ( bool enable ) : void
enable bool
return void

SetprobeAOMVoltage() public method

public SetprobeAOMVoltage ( double v ) : void
v double
return void

ShowMessageBox() public method

public ShowMessageBox ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartLoggingCurrent() public method

public StartLoggingCurrent ( ) : void
return void

StartYAGFlashlamps() public method

public StartYAGFlashlamps ( ) : void
return void

StepTarget() public method

public StepTarget ( ) : void
return void

StepTarget() public method

public StepTarget ( int numSteps ) : void
numSteps int
return void

StopLoggingCurrent() public method

public StopLoggingCurrent ( ) : void
return void

StopYAGFlashlamps() public method

public StopYAGFlashlamps ( ) : void
return void

StoreParameters() public method

public StoreParameters ( ) : void
return void

StoreParameters() public method

public StoreParameters ( String dataStoreFilePath ) : void
dataStoreFilePath String
return void

Switch() public method

public Switch ( string channel, bool state ) : void
channel string
state bool
return void

SwitchE() public method

public SwitchE ( ) : void
return void

SwitchE() public method

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

SwitchEAndWait() public method

public SwitchEAndWait ( ) : void
return void

SwitchEAndWait() public method

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

SwitchEWorker() public method

public SwitchEWorker ( ) : void
return void

SwitchEWorkerForIRamp() public method

public SwitchEWorkerForIRamp ( ) : void
return void

SwitchLF1() public method

public SwitchLF1 ( bool lf1State ) : void
lf1State bool
return void

SwitchLF2() public method

public SwitchLF2 ( bool lf2State ) : void
lf2State bool
return void

TweakMixerVoltage() public method

public TweakMixerVoltage ( ) : void
return void

TweakVCO155AmpV() public method

public TweakVCO155AmpV ( ) : void
return void

TweakVCO155FreqV() public method

public TweakVCO155FreqV ( ) : void
return void

TweakVCO161AmpV() public method

public TweakVCO161AmpV ( ) : void
return void

TweakVCO161FreqV() public method

public TweakVCO161FreqV ( ) : void
return void

TweakVCO30AmpV() public method

public TweakVCO30AmpV ( ) : void
return void

TweakVCO30FreqV() public method

public TweakVCO30FreqV ( ) : void
return void

TweakuWaveDCFMVoltage() public method

public TweakuWaveDCFMVoltage ( ) : void
return void

UpdateBCurrentMonitor() public method

public UpdateBCurrentMonitor ( ) : void
return void

UpdateBVoltage() public method

public UpdateBVoltage ( ) : void
return void

UpdateDiodeCurrentGraphAndMonitor() public method

public UpdateDiodeCurrentGraphAndMonitor ( ) : void
return void

UpdateDiodeCurrentMonitor() public method

public UpdateDiodeCurrentMonitor ( ) : void
return void

UpdateFLAOM() public method

public UpdateFLAOM ( ) : void
return void

UpdateFLAOMFreqMonitor() public method

public UpdateFLAOMFreqMonitor ( ) : void
return void

UpdateFibreAmpFaults() public method

public UpdateFibreAmpFaults ( ) : void
return void

UpdateI2ErrorSigGraphAndMonitor() public method

public UpdateI2ErrorSigGraphAndMonitor ( ) : void
return void

UpdateI2ErrorSigMonitor() public method

public UpdateI2ErrorSigMonitor ( ) : void
return void

UpdateIMonitor() public method

public UpdateIMonitor ( ) : void
return void

UpdateIRecord() public method

public UpdateIRecord ( ) : void
return void

UpdateLaserPhotodiodes() public method

public UpdateLaserPhotodiodes ( ) : void
return void

UpdateLaserPhotodiodesUI() public method

public UpdateLaserPhotodiodesUI ( ) : void
return void

UpdateMenloPZT() public method

public UpdateMenloPZT ( ) : void
return void

UpdateMiniFluxgates() public method

public UpdateMiniFluxgates ( ) : void
return void

UpdateMiniFluxgatesUI() public method

public UpdateMiniFluxgatesUI ( ) : void
return void

UpdatePiMonitor() public method

public UpdatePiMonitor ( ) : void
return void

UpdatePiMonitorUI() public method

public UpdatePiMonitorUI ( ) : void
return void

UpdateProbeAOMFreqMonitor() public method

public UpdateProbeAOMFreqMonitor ( ) : void
return void

UpdateProbeAOMV() public method

public UpdateProbeAOMV ( ) : void
return void

UpdateProbeAOMV() public method

public UpdateProbeAOMV ( double pztVoltage ) : void
pztVoltage double
return void

UpdateProbePolAngleMonitor() public method

public UpdateProbePolAngleMonitor ( ) : void
return void

UpdateProbePolMode() public method

public UpdateProbePolMode ( ) : void
return void

UpdatePumpAOM() public method

public UpdatePumpAOM ( ) : void
return void

UpdatePumpAOM() public method

public UpdatePumpAOM ( double pumpAOMVoltage ) : void
pumpAOMVoltage double
return void

UpdatePumpAOMFreqMonitor() public method

public UpdatePumpAOMFreqMonitor ( ) : void
return void

UpdatePumpPolAngleMonitor() public method

public UpdatePumpPolAngleMonitor ( ) : void
return void

UpdatePumpPolMode() public method

public UpdatePumpPolMode ( ) : void
return void

UpdateRFFrequencyMonitor() public method

public UpdateRFFrequencyMonitor ( ) : void
return void

UpdateRFPowerMonitor() public method

public UpdateRFPowerMonitor ( ) : void
return void

UpdateVCO155AmpV() public method

public UpdateVCO155AmpV ( ) : void
return void

UpdateVCO155AmpVoltage() public method

public UpdateVCO155AmpVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateVCO155FreqV() public method

public UpdateVCO155FreqV ( ) : void
return void

UpdateVCO155FreqVoltage() public method

public UpdateVCO155FreqVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateVCO161AmpV() public method

public UpdateVCO161AmpV ( ) : void
return void

UpdateVCO161AmpVoltage() public method

public UpdateVCO161AmpVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateVCO161FreqV() public method

public UpdateVCO161FreqV ( ) : void
return void

UpdateVCO161FreqVoltage() public method

public UpdateVCO161FreqVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateVCO30AmpV() public method

public UpdateVCO30AmpV ( ) : void
return void

UpdateVCO30AmpVoltage() public method

public UpdateVCO30AmpVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateVCO30FreqV() public method

public UpdateVCO30FreqV ( ) : void
return void

UpdateVCO30FreqVoltage() public method

public UpdateVCO30FreqVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateVMonitor() public method

public UpdateVMonitor ( ) : void
return void

UpdateVMonitorUI() public method

public UpdateVMonitorUI ( ) : void
return void

UpdateVoltages() public method

public UpdateVoltages ( ) : void
return void

UpdateYAGFlashlampVoltage() public method

public UpdateYAGFlashlampVoltage ( ) : void
return void

UpdateuWaveDCFMV() public method

public UpdateuWaveDCFMV ( ) : void
return void

UpdateuWaveDCFMVoltage() public method

public UpdateuWaveDCFMVoltage ( double pztVoltage ) : void
pztVoltage double
return void

UpdateuWaveMixerV() public method

public UpdateuWaveMixerV ( ) : void
return void

UpdateuWaveMixerVoltage() public method

public UpdateuWaveMixerVoltage ( double pztVoltage ) : void
pztVoltage double
return void

WindowValue() public method

public WindowValue ( double value, double minValue, double maxValue ) : double
value double
minValue double
maxValue double
return double