FR 6266 then FR 3928 at Barcelona
Edinburgh → Barcelona → Trieste
Timetable, Barcelona time
16:50FR 6266 from Edinburgh at the gate
06:30FR 3928 to Trieste leaves the gate
13 h 40 apart on the timetable, overnight
FR 3928 leaves 13 h 40 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.