reformat sensor measure output