def METHOD_NAME(self):
    self.uhf.awg_sequence_acquisition_and_DIO_triggered_pulse(cases=[
                                                              0, 2, 14])
    self.uhf.start()
    uploaded_program = self.uhf._awgModule._sourcestring
    p = uploaded_program.split('\n')
    assert len(p) == 52  # program is 52 lines
    # Test that the codeword preamble is identical
    assert p[:8] == \
        ['// Start of automatically generated codeword table',
         'wave wave_ch1_cw000 = "dev2109_wave_ch1_cw000";',
         'wave wave_ch2_cw000 = "dev2109_wave_ch2_cw000";',
         'wave wave_ch1_cw002 = "dev2109_wave_ch1_cw002";',
         'wave wave_ch2_cw002 = "dev2109_wave_ch2_cw002";',
         'wave wave_ch1_cw014 = "dev2109_wave_ch1_cw014";',
         'wave wave_ch2_cw014 = "dev2109_wave_ch2_cw014";',
         '// End of automatically generated codeword table']
    assert p[39:45] == [
        '    switch (cw) {',
        '        case 0x00000000: playWave(wave_ch1_cw000, wave_ch2_cw000);',
        '        case 0x00040000: playWave(wave_ch1_cw002, wave_ch2_cw002);',
        '        case 0x001c0000: playWave(wave_ch1_cw014, wave_ch2_cw014);',
        '        default: playWave(ones(32), ones(32)); err_cnt += 1;',
        '    }']