Alter data logging to log samples rather that time between swings