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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted October 9, 2012 MVP 2022 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.