beginning of refactoring / rearch sampling / sample data algo to support CAN/obd2 and dynamic channels