Sets whether the function generator is outputting a voltage.

def set_output(self, state):
        """Sets whether the function generator is outputting a voltage."""
        if state:
            self.instr.write('OUTP ON')
        else:
            self.instr.write('OUTP OFF')