Exemplo n.º 1
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
     self.write('OUTX 1') # Set the device responce port to GPIB
     self.__class__.__call__ = self.__class__.outp
Exemplo n.º 2
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
     self.__class__.__call__ = self.__class__.fetch
     self.instrument.write('FORMAT REAL,32')
Exemplo n.º 3
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
     self.__class__.__call__ = self.__class__.setamplitude
     self.close = self.instrument.close
Exemplo n.º 4
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
Exemplo n.º 5
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
     self.lastvar = None
     self.__class__.__call__ = self.__class__.fetch
Exemplo n.º 6
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
     self.value = 0
     self.points_per_second = 20
     self.__class__.__call__ = self.__class__.ramp