2/17/2020 4:14 PM | |
Posts: 18 Rating:
|
This is what I was looking for! The only thing I cannot figure out is how to use my input signal lenght, accumulated in a timer, to compare it with the system time. I miss a small piece of knowledge block I guess... Any tip please? ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 02/18/2020 10:27:53New subject after splitting |
|
2/24/2020 1:38 AM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
This code you posted is in Cyclic OB or interrupt? I'm not sure I',m following the question as it seem to have changed from measuring the time length of a pulse to measuring time between pulses. If is the latter you may consider HSC as in this example. |
2/24/2020 10:01 AM | |
Posts: 18 Rating:
|
The code is in interupt OB40. I want to measure the time between the pulses. Thanks for the suggestion, I'll check it later. |
Follow us on