EC 7200 then OS 404 at Barcelona
Edinburgh → Barcelona → Vienna
Timetable, Barcelona time
22:05EC 7200 from Edinburgh at the gate
18:10OS 404 to Vienna leaves the gate
20 h 05 apart on the timetable, overnight
OS 404 leaves 20 h 05 after EC 7200 arrives on the timetable: more than half a day, so not a connection we count.