add logIdx to the downsample function
logIdx which is index of line in the SOH messages is in data structure of sohview's reftek. Now we need to add it to trim_downsample function so the data output for plotting contains logIdx because this will be needed to highlight the corresponding SOH messages' line in the display.