Exemplo n.º 1
0
 def triangle(self, midpoint, peak, period, phase):
     """set output to a triangle waveform"""
     return libpysmu.set_output_wave(self.dev, self.chan, self.mode, 5, midpoint, peak, period, phase, 42)
Exemplo n.º 2
0
 def sine(self, midpoint, peak, period, phase):
     """set output to a sinusoidal waveform"""
     return libpysmu.set_output_wave(self.dev, self.chan, self.mode, 4, midpoint, peak, period, phase, 42)
Exemplo n.º 3
0
 def sawtooth(self, midpoint, peak, period, phase):
     """set output to a sawtooth waveform"""
     return libpysmu.set_output_wave(self.dev, self.chan, self.mode, 2, midpoint, peak, period, phase, 42)
Exemplo n.º 4
0
 def stairstep(self, midpoint, peak, period, phase):
     """set output to a stairstep waveform"""
     return libpysmu.set_output_wave(self.dev, self.chan, self.mode, 3, midpoint, peak, period, phase, 42)
Exemplo n.º 5
0
 def square(self, midpoint, peak, period, phase, duty_cycle):
     """set output to a square waveform"""
     return libpysmu.set_output_wave(self.dev, self.chan, self.mode, 1, midpoint, peak, period, phase, duty_cycle)