LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate signals, phase problem

I'm trying to simulate (using formula node) the phase shift in a sine wave created by an inductance in a circuit.  

Test 1 vi works fine using a control to adjust the phase of waveform 1 (without the formula) but Test 2 (with the formula) does not. 

Could anyone explain why and offer a solution please?

 

Thanks in advance for any help

John Statter

Download All
0 Kudos
Message 1 of 3
(1,404 Views)

Ok, I think it is working; I just can't see it because of the way I'm displaying the signal. Not sure how to solve that. Although I've been a member here for years, I rarely use Labview.

 

0 Kudos
Message 2 of 3
(1,359 Views)

@Statts wrote:

Ok, I think it is working; I just can't see it because of the way I'm displaying the signal.


Well, you generate two signals, one shifted in phase. What else do you expect to see? Please be very specific!

 

Why is there no toplevel while loop? If you use "continuous run", the express Vis will reset with every restart and your boolean control will make no difference. (a better name for "continuous run" is "restart when done with all code")

 

As an good exercise, try not to use express Vis and dynamic data. Here's how your formula would look like instead:

 

altenbach_0-1614981862791.png

 

0 Kudos
Message 3 of 3
(1,337 Views)