def METHOD_NAME(arguments):
    # can't have both overvoltage and sprytron
    if arguments.overvoltage and arguments.sprytron:
        raise TDMSUploadError("Can't use both overvoltage and sprytron options " +
              "together. Please select one or the other and try again.")
    # set up logging, always to screen, to file if requested
    log = setup_logging(arguments.log_file)
    # organize tdms files
    metadata, part_number, lot_number, batches, batch_data = \
        catalog_batches(arguments, log)
    # alter agruments for dac tdms
    arguments.model_description = str(arguments.tdms_file_matches)
    del arguments.tdms_file_matches
    del arguments.input_data_dir
    del arguments.part_num_match
    del arguments.log_file
    for i in range(len(batches)):
        # keep track of model we are uploading
        log('Processing DAC Batch ' + batches[i] + ': (' + str(i) + '/' + str(len(batches)) + ').')
        # change project name, model name, description to describe batch
        arguments.project_name = str(part_number)
        arguments.model_name = str(part_number) + '_' + str(lot_number) + '_' + batches[i]
        # add batch files
        batch_files = []
        for j in batch_data[batches[i]]:
            for file in metadata[j]['tdms_files']:
                batch_files.append(os.path.join(metadata[j]['source'], file))
        arguments.files = batch_files
        # run dac
        dac_tdms.create_model(arguments, log)