i am a beginner to python Programming and i have been learning for the past 1 month.
- I am working in a Automation project where i am using a position sensor to measure the displacement of a moving plate which moves upwards for a certain distance and come back to original position. Along with position measurement, i also have to find the time taken for the plate to move up and come down, all these takes place within 200 milliseconds.
- Also i have to display a graph between displacement( in mm) and time( ms). i know that matplotlib will do the job by providing these inputs in dictionary/ arrays,/list. But i couldn't find how to get time information for each of the sensor reading ( minimum of 1 reading for every 2 milliseconds)
Can somebody throw some inputs on how to proceed and which library to go for ?