show motor speed , distance it has travelled on laptop screen wirelessly

i want to know how can i do this ?