OS 402 then FR 802 at Vienna
Barcelona → Vienna → Valencia
Timetable, Vienna time
12:10OS 402 from Barcelona at the gate
06:15FR 802 to Valencia leaves the gate
18 h 05 apart on the timetable, overnight
FR 802 leaves 18 h 05 after OS 402 arrives on the timetable: more than half a day, so not a connection we count.