def __init__(self): print "trying to connect to an existing vsa instance" self.app = ApplicationFactory.Create() if self.app==None: print "no vsa running, launching one" self.app = ApplicationFactory.Create(True,None,None,-1) # creating new one GuiWrapper.__init__(self) self.app.IsVisible = True self._active_label = 'A'
def __init__(self, logical_name, pyividriver): super(IviScopeDriver, self).__init__(logical_name, pyividriver) GuiWrapper.__init__(self) self.channel_idxs = self.driver.sc.channel_idxs
def __init__(self,*args,**keys): super(DPO3014, self).__init__(*args,**keys) GuiWrapper.__init__(self) self.channel_idx = 1
def __init__(self, logical_name, pyividriver): super(IviAgNADriver, self).__init__(logical_name, pyividriver) GuiWrapper.__init__(self) self.channel_idxs = self.driver.sc.channel_idxs self.measurement_idxs = self.driver.sc.measurement_idxs
def __init__(self,*args,**keys): super(TDS2024B, self).__init__(*args,**keys) GuiWrapper.__init__(self) self.channel_idx = 1
def __init__(self, *args, **keys): super(DPO3014, self).__init__(*args, **keys) GuiWrapper.__init__(self) self.channel_idx = 1
def __init__(self, logical_name, pyividriver): super(IviSpecAnDriver, self).__init__(logical_name, pyividriver) GuiWrapper.__init__(self) self.trace_idxs = self.driver.sc.trace_idxs