def __init__(self, address=16, channel=1, timeout=3, **kwargs): GpibInstrument.__init__(self, 'GPIB::' + str(address), timeout=timeout, **kwargs) self.channel = channel self.port = 1
def __init__(self, address=16, channel=1,timeout = 3, echo = False, front_panel_lockout= False, **kwargs): ''' Constructor Parameters ------------- address : int GPIB address channel : int set active channel. Most commands operate on the active channel timeout : number GPIB command timeout in seconds. echo : Boolean echo all strings passed to the write command to stdout. usefule for troubleshooting front_panel_lockout : Boolean lockout front panel during operation. \*\*kwargs : passed to :func:`visa.GpibInstrument.__init__` ''' GpibInstrument.__init__(self, 'GPIB::'+str(address), timeout=timeout, **kwargs) self.channel=channel self.port = 1 self.echo = echo if not front_panel_lockout: self.gtl()
def __init__(self, address=18, *args, **kwargs): ''' Initializer Parameters -------------- address : int GPIB address \*args, \*\*kwargs : passed to ``visa.GpibInstrument.__init__`` ''' GpibInstrument.__init__(self,'GPIB::'+str(address),*args,**kwargs)
def __init__(self, address=18, *args, **kwargs): ''' Initializer Parameters -------------- address : int GPIB address \*args, \*\*kwargs : passed to ``visa.GpibInstrument.__init__`` ''' GpibInstrument.__init__(self, 'GPIB::' + str(address), *args, **kwargs)
def __init__(self, address=1, current_axis=1,\ always_wait_for_stop=True,delay=0,**kwargs): ''' takes: address: Gpib address, int [1] current_axis: number of current axis, int [1] always_wait_for_stop: wait for stage to stop before returning control to calling program, boolean [True] **kwargs: passed to GpibInstrument initializer ''' GpibInstrument.__init__(self,address,**kwargs) self.current_axis = current_axis self.always_wait_for_stop = always_wait_for_stop self.delay=delay
def __init__(self, address=1, current_axis=1, always_wait_for_stop=True, delay=0, **kwargs): """ Initializer Parameters ------------- address : int Gpib address current_axis : int number of current axis always_wait_for_stop : Boolean wait for stage to stop before returning control to calling program \*\*kwargs : passed to GpibInstrument initializer """ GpibInstrument.__init__(self, address, **kwargs) self.current_axis = current_axis self.always_wait_for_stop = always_wait_for_stop self.delay = delay
def __init__(self, address=1, current_axis=1,\ always_wait_for_stop=True,delay=0,**kwargs): ''' Initializer Parameters ------------- address : int Gpib address current_axis : int number of current axis always_wait_for_stop : Boolean wait for stage to stop before returning control to calling program \*\*kwargs : passed to GpibInstrument initializer ''' GpibInstrument.__init__(self, address, **kwargs) self.current_axis = current_axis self.always_wait_for_stop = always_wait_for_stop self.delay = delay
def __init__(self, address=16,**kwargs): GpibInstrument.__init__(self,'GPIB::'+str(address),**kwargs) self.write('FORM4;')
def __init__(self, address=20,**kwargs): GpibInstrument.__init__(self,address, **kwargs) self.add_channel(1)
def __init__(self, address=16, channel=1,**kwargs): GpibInstrument.__init__(self,'GPIB::'+str(address),**kwargs) self.channel=channel self.write('calc:par:sel CH1_S11_1')
def __init__(self, address=20, active_channel = 1, continuous=True,\ **kwargs): GpibInstrument.__init__(self,address, **kwargs) self.active_channel = active_channel self.continuous = continuous self.traces = []
def __init__(self, address=16, channel=1,timeout = 3, **kwargs): GpibInstrument.__init__(self,'GPIB::'+str(address),timeout=timeout,**kwargs) self.channel=channel self.port = 1
def __init__(self, address=16, **kwargs): GpibInstrument.__init__(self, 'GPIB::' + str(address), **kwargs) self.write('FORM4;')
def __init__(self, address=20, **kwargs): GpibInstrument.__init__(self, address, **kwargs) self.add_channel(1)
def __init__(self, address=20, active_channel = 1, continuous=True,\ **kwargs): GpibInstrument.__init__(self, address, **kwargs) self.active_channel = active_channel self.continuous = continuous self.traces = []