code: def set_arbitrary(self, freq, low_volt, high_volt, output_state=True):
          
          commands = ['FUNC USER',
                      'BURS:STAT OFF',
                      'SWE:STAT OFF',
                      'FM:STAT OFF',
                      'FREQ {0}'.format(freq),
                      'VOLT:HIGH {0}'.format(high_volt),
                      'VOLT:LOW {0}'.format(low_volt),
                      ]
          if output_state is True:
              commands.append('OUTP ON')
          else:
              commands.append('OUTP OFF')
  
          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 function generator to output the arbitrary waveform.