IR Telemetrics Non-contact proximity sensors can be installed on pistons to measure secondary piston motion within the bore.  They can also be used to measure ring motion and pin motion in a running engine.