DisengageLock() public method

public DisengageLock ( ) : void
return void
Ejemplo n.º 1
0
        public void DisengageLock(string cavityName, string slaveName)
        {
            SlaveLaser laser = Cavities[cavityName].SlaveLasers[slaveName];

            laser.DisengageLock();
            ui.UpdateSlaveUIState(cavityName, slaveName, laser.lState);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// The function which gets called at the end, after breaking out of the while loop.
        /// </summary>
        private void endRamping()
        {
            tcl.DisposeAITask();
            foreach (KeyValuePair <string, SlaveLaser> pair in SlaveLasers)
            {
                string     slName = pair.Key;
                SlaveLaser sl     = pair.Value;

                if (sl.lState != SlaveLaser.LaserState.FREE)
                {
                    sl.VoltageToLaser = 0.0;
                    sl.DisengageLock();
                    sl.DisposeLaserControl();
                }
            }
        }