Simulink stop a counter

Status
Not open for further replies.

ireon

Junior Member level 2
Joined
Mar 28, 2013
Messages
21
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,455
I need to stop a counter at a certain value in simulink. I need that counts until 1500 and remains at 1500. I used the counter block, but it resets when reach the value 1500, someone could help me?
 

This can be done by means of a network of diodes and resistors on the output pins. Arrange their polarity so that they pull the enable pin low (or high, whichever is needed), when the combination of outputs matches the binary pattern for 1500.

Or did you already try this, and it resets? Then as an alternative, try pulling the incoming signal low (or high, whichever works).
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…