code: def set_continuous(self, freq, amplitude, offset, output_state=True):
          
          commands = ['MODL 0',       #disable any modulation
                      'FREQ {0}'.format(freq)
                      ]
  
          if freq > 4.05e9:
              commands.append('AMPH {0}'.format(amplitude)) #set rear RF doubler amplitude
              if offset > 0.0:
                  print('HIGH FREQUENCY OUTPUT IS AC ONLY')
              if output_state is True:
                  commands.append('ENBH 1') #enable output
              else:
                  commands.append('ENBH 0')
          elif freq < 62.5e6:
              commands.extend(['AMPL {0}'.format(amplitude), 'OFSL {0}'.format(offset)]) #set front BNC amplitude
              if output_state is True:
                  commands.append('ENBL 1') #enable output
              else:
                  commands.append('ENBL 0')
  
          command_string = '\n'.join(commands)
          print_string = '\n\t' + command_string.replace('\n', '\n\t')
          logging.info(print_string)
          self.instr.write(command_string)
docs: Programs the Stanford MW function generator to output a continuous sine wave.
              External 'triggering' is accomplished using the MW switch.