SympatheticHardwareControl.Controller.TSOff C# (CSharp) Method

TSOff() public method

public TSOff ( ) : void
return void
        public void TSOff()
        {
            try
            {
                tstage.DisarmMove();
                controlWindow.WriteToConsole("Translation stage off");
            }
            catch (NullReferenceException)
            {
                MessageBox.Show("Translation stage is not connected.\nPress Connect button first.");
            }
            catch (ObjectDisposedException)
            {
                MessageBox.Show("Translation stage has been disconnected.\nPress the Connect button to reconnect.");
            }
        }