LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

first order RC circuit

"I just started working with LABVIEW 6.1,I am working on simulating the first order RC circuit where I need to show the input voltage(Square or sine) and output voltage across the capacitor on the same plot in the front panel.I am unable to figure out how to update the waveform at the output, I am using the Basic function generator.vi at the input and I tried to split the waveform of the input using generate waveform components and tried to update Y(data Values of the waveform),but doesn't work.Is there any other way I can generate the output wave form using the formulas I have for the out put voltage across the capacitor..Please help.

thanx
vishnu
0 Kudos
Message 1 of 3
(3,500 Views)
Greetings, Vishnu;

As you may have discovered, Labview doesn't have the same modeling capability as, for example, Pspice. However , you can model just about any RC circuit using the filters toolbox, (order 1 butterworth) in your example.
If you want to show the filter response in the frequency domain, you will need to sweep the function generator, and then plot the output as a function of frequency. (You can use the WAVEFORM Max to read the values, and then plot it on a graph.
There is no direct equivalent in Labview for either a resistor or a capacitor, but the exponential math functions, can, of course show your RC time constant quite nicely.
Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 2 of 3
(3,500 Views)
Thanks Eric.
0 Kudos
Message 3 of 3
(3,500 Views)