Development of an onboard strain recorder