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