initial working lcr program with implemented function for changing decimation parameter defined in main,c rp_set_time_range