private void button5_Click(object sender, EventArgs e) { QAConnectionManager.LaunchAppIfNotRunning(QAConnectionManager.Devices.QA100); Scope = (QA100Interface)QAConnectionManager.ConnectTo(QAConnectionManager.Devices.QA100); bool isConnected = Scope.IsConnected(); string s = Scope.GetName(); }
private void button1_Click(object sender, EventArgs e) { // Set up Scope QAConnectionManager.LaunchAppIfNotRunning(QAConnectionManager.Devices.QA100); Scope = (QA100Interface)QAConnectionManager.ConnectTo(QAConnectionManager.Devices.QA100); // Setup PowerSupply QAConnectionManager.LaunchAppIfNotRunning(QAConnectionManager.Devices.QA300); PowerSupply = (QA300Interface)QAConnectionManager.ConnectTo(QAConnectionManager.Devices.QA300); }