janst Posted October 8, 2012 Report Share Posted October 8, 2012 Hello, I need to count pulses which are longer than ca 8ms and exclude the shorter pulses. Is any way how to set HSC input on V130-33-R34 like that? Frequency of the longer pulses (which I want to count) is up to 50Hz, shorter pulses (which I want to discard) occured randomly. Thanks Jan Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted October 9, 2012 MVP 2023 Report Share Posted October 9, 2012 You can't make the HSC input selective like that, but you can utilize the 1.25 ms interrupt subroutine to get close. If you use an immediate input inside the subroutine, you can make sure it stays on for more than six calls (7.5 ms) and then count it. Joe T. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now