07-30-2013 07:34 AM
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
Solved! Go to Solution.
07-30-2013 07:46 AM - edited 07-30-2013 07:48 AM
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...
Also find attached edited VI.
07-30-2013 08:18 AM
What happens if we put false incase of firstcall?
07-30-2013 09:18 AM
@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.
07-30-2013 10:18 AM - edited 07-30-2013 10:24 AM
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)
07-31-2013 02:36 AM
Thank you so much for your post.