Exemple #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
Exemple #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')
 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
Exemple #4
0
 def __init__(self, resource, *args, **kwargs):
     self.instrument = __visa_rm__.open_resource(resource, *args, **kwargs)
Exemple #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
 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