<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_continuous(self, freq, amplitude, offset, phase, channel=2):
 """Programs the function generator to output a continuous sine wave."""

        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)