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