Ejemplo n.º 1
0
 public frmConfiguration(string scriptNamePath)
 {
     this.configGuiCtrl = new ObjectInterface();
     this.currentDir = ConfigurationManager.AppSettings["InstalledDirectory"] + @"\scripts";
     this.InitializeComponent();
     this.configFilePathVal.Text = scriptNamePath.Replace(".py", ".cfg");
 }
Ejemplo n.º 2
0
 public frmGPIBCtrl(int boardID, byte primaryAddress, byte secondaryAddress)
 {
     this.cpGuiCtrl = new ObjectInterface();
     try
     {
         this._GPIBCtrl = new GPIB_Mgr_Agilent_HP8648C(boardID, primaryAddress, secondaryAddress);
         this.InitializeComponent();
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message, "ERROR!");
     }
 }
Ejemplo n.º 3
0
 public frmGPIBCtrl()
 {
     this.cpGuiCtrl = new ObjectInterface();
     try
     {
         this._GPIBCtrl = new GPIB_Mgr_Agilent_HP8648C();
         this.InitializeComponent();
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message, "ERROR!");
     }
 }
Ejemplo n.º 4
0
 public frmConfiguration()
 {
     this.configGuiCtrl = new ObjectInterface();
     this.currentDir = ConfigurationManager.AppSettings["InstalledDirectory"] + @"\scripts";
     this.InitializeComponent();
 }
Ejemplo n.º 5
0
 public frmSPAzCtrl(int address)
 {
     this.cpGuiCtrl = new ObjectInterface();
     this._SPAzMgr = new SPAzMgr(address);
     this.InitializeComponent();
 }
Ejemplo n.º 6
0
 public frmSPAzCtrl()
 {
     this.cpGuiCtrl = new ObjectInterface();
     this._SPAzMgr = new SPAzMgr(0x378);
     this.InitializeComponent();
 }