pulse set - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

pulse set

tako_belltako_bell Posts: 11Member
Hi, im using a triggered sub system, the system works when trigger pulse is 1 and don't work when pulse is 0.

My problem is that i dont know how to set a pulse of 1 of 0 with out using the pulse generator that gives me a random pulse, and this isn't good for my simulation (whether the pulse is 1 or 0 it dependent's on another sub system).


Any idea which block i should use?

Thank you.

Comments

  • giuggiug Posts: 217Member
    You can try to use the [u]switch[/u] block.
  • tako_belltako_bell Posts: 11Member
    How can i use a swich blook to out-put a 1 or a 0 pulse ?
  • giuggiug Posts: 217Member
    I can't figure out very well your problem.

    I try:

    subsys1 (output 0 or 1) --> subsys2 (works if output is 1, doesn't work if it is 0).

    I think that the output of the first subsystem is not random but depends on some conditions, it is right?
    Please explain better your problem, so that I can try to help you.
  • tako_belltako_bell Posts: 11Member
    Thank you,
    you gave me a new idea that worked.
Sign In or Register to comment.