LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: RLC

Solved!
Go to solution

Hi frnds,

 

I designed RLC circuit using labview. Everything is working fine but still I couldn't see any waveform in the XY graph.

 

kindly help m to fix this issue.

 

For your reference i attach my RLC vi. please have a look and let me you if there is any correction

 

0 Kudos
Message 1 of 6
(2,784 Views)
Solution
Accepted by topic author ummy123

You forget to make 'RESET' false (which is by default TRUE).

 

Also there is direct function available for 'Square'... by mistake I mentioned it as 'Use SQUARE ROOT function'... just ignore it...

 

Forget to Reset.png

 

Also find attached edited VI.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 2 of 6
(2,774 Views)

What happens if we put false incase of firstcall?

Boldness has genius, power and magic in it!'
0 Kudos
Message 3 of 6
(2,760 Views)

@MaveenD wrote:

What happens if we put false incase of firstcall?


You may want to clear/reset the Graph as soon as you run the code, as there is a possibilty that the graph has some data from the previous run..

If you put FALSE, it will never clear the data, so on multiple runs (without closing the VI completely), you'll always see the previous run's data.

 

Now, First Call is True only once and then it remains false forever, untill you re-run the VI.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 6
(2,745 Views)

One Advice: Avoid use Express VI. They are Slowly and Unpredictable. There's better clean solution than using that.

U might consider use WaveForm Chart (with fixed size history length) instead XY Graph,cause ur X axis value are based on Iteration Terminal of the loop (A Scalar value. Sum with 0?). Wire ur Y Axis Value directly to the chart terminal and put "Wait to next ms multiply" function instead Time Delay express VI.

To clear ur indicators on every call. Check the "Clean Indicators when called" option in ur VI ( VI > Properties > Execution)

0 Kudos
Message 5 of 6
(2,726 Views)

Thank you so much for your post.

0 Kudos
Message 6 of 6
(2,691 Views)