FR 6274 then EC 7173 at Barcelona
Edinburgh → Barcelona → Berlin
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
18:40EC 7173 to Berlin leaves the gate
21 h 40 apart on the timetable, overnight
EC 7173 leaves 21 h 40 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.