03-05-2021 05:44 AM
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
03-05-2021 07:36 AM
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.
03-05-2021 04:06 PM
@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: