added dynamic timout to HP and CPS. Change timebase to seconds. #295 #300