From distributed measurement systems to cyber-physical systems: A design approach