01-20-2016 11:58 AM
Hello,
What purpose of the "Reset Signal" in the "Simulate Signal" block.
I sought, that once activated it sets the output of the "Simulate Signal" block to the default value, i.e. 0.
But it seems that the functionnality of the "Reset Signal" is different.
On Fig.1 - Block Diagram of my setup with push button "Reset Generator" in bottom-left corner.
On the Fig. 2 and Fig. 3 - the ouput of the "Simulate Signal" block and some derived signal with "Reset Generator" OFF and ON consequently.
As you can state, in the ON case, the output isn't 0.
Thanks in advance for clarification
Pavel
Fig.1
Fig.2
Fig.3
Solved! Go to Solution.
01-20-2016 02:24 PM
The reset is used to "reset" the phase of the signal to it's default value when set to "True". If you leave the "reset" value to "false" and you execute the signal simulator in a loop you will get a contineous waveform, even when your signal simulator does not generate an integer number of cycle (combinaison of signal frequency, sampling frequency, and the number of samples). If you set the "reset" to "true" the waveform will be interrupted (the phase will be set to it's default value on each iteration).
Here's an example:
"RESET"=FALSE, see graph below:
"RESET"=TRUE, see graph below:
01-21-2016 04:48 AM
Ok, thanks Michel