I remember seeing a demo of the HP 9000/840 at the Interex Madrid Conference, March 1986, where the 840 was monitoring a light beam being 'broken' by ball of a Newton's Cradle.
Here is the technical data sheet for HP-UX 7.0, mentioning real time capability, as late as 1989: