Hi All.
I have started to write the logic to control a machine that will stress test some components with force (0-2000 N). And I want to log the peak value of the force applied to the component. Has any one ever done similar logging of analog values?
So far I have come up with this...
Step 1:
Read current value 1.
Step 2 - after 50 ms
Read current value 2. and compare the two values.
If the values are increasing, jump back to step 1 if not record the 1st value and display it as peak value.
What do you guys think... Doable?
Regards
Ales
I have started to write the logic to control a machine that will stress test some components with force (0-2000 N). And I want to log the peak value of the force applied to the component. Has any one ever done similar logging of analog values?
So far I have come up with this...
Step 1:
Read current value 1.
Step 2 - after 50 ms
Read current value 2. and compare the two values.
If the values are increasing, jump back to step 1 if not record the 1st value and display it as peak value.
What do you guys think... Doable?
Regards
Ales