def METHOD_NAME(self):
    file_name = 'Test_QWG_test_codeword_parameters.scpi.txt'
    test_path = Path('test_output') / file_name
    os.makedirs('test_output', exist_ok=True)
    transport = FileTransport(str(test_path))
    qwg = QWG('qwg_codeword_parameters', transport)  # FIXME: names must be unique unless we properly tell QCoDes to remove
    qwg.init()
    qwg.cfg_codeword_protocol('awg8-mw-direct-iq')
    for j in range(qwg._dev_desc.numChannels):
        for cw in range(qwg._dev_desc.numCodewords):
            ch = j + 1
            qwg.set('wave_ch{}_cw{:03}'.format(ch, cw), np.array([0,0.1,0.2]))
    transport.close()  # to allow access to file
    qwg.close()  # release QCoDeS instrument