LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Purpose of the "Reset Signal" in "Simulate Signal" block

Solved!
Go to solution

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

Reset_Generator_issue - Block_Diagram.JPG

Fig.2

Reset_Generator_issue - Front_Panel(1).JPG

 

 

Fig.3

Reset_Generator_issue - Front_Panel(2).JPG

 

0 Kudos
Message 1 of 3
(5,231 Views)
Solution
Accepted by topic author Pavel_47

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:

 

example.png

 

"RESET"=FALSE, see graph below:

false.png

 

"RESET"=TRUE, see graph below:

false.png

Message 2 of 3
(5,200 Views)

Ok, thanks Michel

0 Kudos
Message 3 of 3
(5,163 Views)