backendcode
Member
Hello Guys, I have sensor on the conveyor and everytime when part hit that sensor, i want to know the date and time and how long part stayed there after it hit the sensor. So i wrote the following code. Link is below and It gives me what i want
https://ibb.co/h6SPdk
Now problem is everytime, when new part come. it overwirte my previous date/time and time stayed information. I know I need to move the data everytime to new cell of my array but how Can i do that?
Thanks
https://ibb.co/h6SPdk
Now problem is everytime, when new part come. it overwirte my previous date/time and time stayed information. I know I need to move the data everytime to new cell of my array but how Can i do that?
Thanks