sha33
2008-07-31 19:10:10 UTC
Hello All:
I have a rather simple problem. I have two loops; one is a timed loop and the
other is a counter source picking up random signals. The algorithm is:
- I have a stream of signal coming in thru the source.
- I have a times loop that is used for a trigger.
- The setup is such that after 5 sec (determined by the
timed loop) I want to wait for the next immediate random signal (high state) and
when they are both true to I want to generate a pulse train for 20 sec.
What I have done so far is attached. The problem is when
they are both true and while I am generating the pulse train, there will still
be state when they both are true but we wont do anything during the pulse train
generation.
So far I have created global variables to transport the signals outside the loop but now what?
This is that simple but my simple mind cannot solve this
problem. I am stuck! Any help?
Thanks in advance.
<img src="Loading Image...">
I have a rather simple problem. I have two loops; one is a timed loop and the
other is a counter source picking up random signals. The algorithm is:
- I have a stream of signal coming in thru the source.
- I have a times loop that is used for a trigger.
- The setup is such that after 5 sec (determined by the
timed loop) I want to wait for the next immediate random signal (high state) and
when they are both true to I want to generate a pulse train for 20 sec.
What I have done so far is attached. The problem is when
they are both true and while I am generating the pulse train, there will still
be state when they both are true but we wont do anything during the pulse train
generation.
So far I have created global variables to transport the signals outside the loop but now what?
This is that simple but my simple mind cannot solve this
problem. I am stuck! Any help?
Thanks in advance.
<img src="Loading Image...">