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