Beispiel #1
0
 def __init__(self, resource_name, reset_device=False, driver_options=""):
     super().__init__(resource_name, reset_device, driver_options)
     self._attrs = get_attributes(self._vi, subsystem="model")
     self._attrs.update(get_attributes(self._vi, subsystem="channel"))
     self._channel = ""
     self.modulation = AnalogModulation(self)
     self.clock = RefClock(self)
     self.configurationlist = ConfigurationList(self)
     self.triggers = Triggers(self)
     self.events = Events(self)
     self.external_cal = ExternalCalibration(self)
Beispiel #2
0
 def __init__(self, owner):
     super().__init__(owner)
     self._attrs = get_attributes(self._vi, subsystem=self._kind)