FR 3181 then EC 7199 at Barcelona
Rome → Barcelona → Edinburgh
Timetable, Barcelona time
12:15FR 3181 from Rome at the gate
07:20EC 7199 to Edinburgh leaves the gate
19 h 05 apart on the timetable, overnight
EC 7199 leaves 19 h 05 after FR 3181 arrives on the timetable: more than half a day, so not a connection we count.