Пример #1
0
        private void Close()
        {
            //Schließen
            Drv.spcm_vClose(H_Device);
            Communication_LOG += "Connenction canceled\n";

            //Ab hier verbunden
            IsConnected = false;

            //UI anpassen
            button_OpenClose.Text   = "Open";
            Voltage_Trigger.Enabled = false;
        }
Пример #2
0
        public override void Close()
        {
            //Schließen
            Drv.spcm_vClose(H_Device);
            Communication_LOG += "Connenction canceled\n";

            //Ab hier verbunden
            IsConnected = false;

            //UI anpassen
            button_OpenClose.Text         = "Open";
            comboBox_Frequency.Enabled    = false;
            comboBox_Range.Enabled        = false;
            numericUpDown_Trigger.Enabled = false;
        }
Пример #3
0
 protected override bool ReleaseHandle()
 {
     Drv.spcm_vClose(handle);
     return(true);
 }