code: def set_continuous(self, freq, amplitude, offset, phase, channel=2):
          
          commands = [':SOUR{0}:APPL:SIN '.format(channel),
                      '{0},'.format(freq),
                      '{0},'.format(amplitude),
                      '{0},'.format(offset),
                      '{0}'.format(phase),
                      ]
  
          command_string = ''.join(commands)
          logging.info(command_string)
          self.instr.write(command_string)
docs: Programs the function generator to output a continuous sine wave.