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)
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)
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)
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)
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)