Bus communication layer and data logger for Simulink Real Time (xPC Target)