FR 12 then FR 8192 at Vienna
Barcelona → Vienna → Milan Bergamo
Timetable, Vienna time
22:50FR 12 from Barcelona at the gate
16:50FR 8192 to Milan Bergamo leaves the gate
18 h apart on the timetable, overnight
FR 8192 leaves 18 h after FR 12 arrives on the timetable: more than half a day, so not a connection we count.