SetLaserSetpoint() public méthode

public SetLaserSetpoint ( string laserName, double newSetpoint ) : void
laserName string
newSetpoint double
Résultat void
        private void setV(double v, string scannedOutput)
        {
            switch (scannedOutput)
            {
            case "setpoint":
                tclController.SetLaserSetpoint((string)settings["cavity"], (string)settings["channel"], v);
                Thread.Sleep((int)settings["setSetPointWaitTime"]);
                break;

            case "voltage":
                tclController.SetLaserOutputVoltage((string)settings["cavity"], (string)settings["channel"], v);
                tclController.RefreshVoltageOnUI((string)settings["cavity"], (string)settings["channel"]);
                Thread.Sleep((int)settings["setVoltageWaitTime"]);
                break;
            }
        }
Exemple #2
0
        private void setV(double v, int waitTime, string scannedOutput)
        {
            switch (scannedOutput)
            {
            case "setpoint":
                tclController.SetLaserSetpoint((string)settings["channel"], v);
                break;

            case "voltage":
                tclController.SetLaserOutputVoltage((string)settings["channel"], v);
                tclController.RefreshVoltageOnUI((string)settings["channel"]);
                break;
            }
            Thread.Sleep(waitTime);
        }
 private void setV(double v, int waitTime)
 {
     tclController.SetLaserSetpoint((string)settings["channel"], v);
     Thread.Sleep(waitTime);
 }