LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

capacitor charge

Hi,

Can anyone help me to design a VI that can be used to show how the voltage rises across a capacitor in a simple RC circuit when excited by a step function.

 

The output from the VI will consist of two plots displayed on one XY graph. One plot will be the input wave Vin = Eu(t) (V) displayed from t = -10 (ms) to T1 (ms) The second plot will be the voltage across the capacitor VC = E(1 – e -t/RC) displayed from t = 0 to

 

t = T1 (ms)

 

The VI will run continuously allowing all inputs to be varied.

 

The inputs to the VI will perform the following functions:

 

  1. Set the number of points for the VC plot, default 100.

 

  1. Set the final time T1 in (mS) default 50 (mS).

 

  1. Set the resistor value in (Ω) default 500 (Ω).

 

  1. Set the capacitor value in (μF) default 20 (μF).

 

  1. Set the height of the input step function default 10(V).

 

The outputs from the VI will display the following:

 

1)   The Time Constant T = R.C

 

         2)   The two plots on an XY graph as specified above.

 

 

I will appreciate

0 Kudos
Message 1 of 12
(6,388 Views)

Fifa you do know that your professor is also a member of this forum 😉  And also we do not mind helping in this forum. But we are not some free homework service. So in order to get help please post your code. And tell us why and how you struggle. Just as you would if you asked your professor for a push in the correct direction. Shall we start in that end.

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 2 of 12
(6,380 Views)

Well, it's not like this person hasn't tried to fish for getting their homework done before. Oh, wait. http://forums.ni.com/t5/LabVIEW/Urgent-Help-please/m-p/1291098

Message 3 of 12
(6,369 Views)

And you can tell it is a "cut and paste" of the assignment because in the assignment part of the posts their english is perfect.

 

Alan

0 Kudos
Message 4 of 12
(6,348 Views)

As the author of the original document I would ask people not to help here. This is the second of two assignments given to students to assess their ability to design LabView code to achieve solutions to non trivial problems. This was only given out last week so not a lot of time spent thinking. Thank you in advance for your co-operation.

Message 5 of 12
(6,316 Views)

This person also posted the exact same post over on the LAVA board, you might want to put up the same responce over there.

 

Here is the link

 

http://lavag.org/topic/13473-capacitor-charge/

 

Thanks,

 

Alan

0 Kudos
Message 6 of 12
(6,313 Views)

The LAVA forum didn't fall for it either.  They saw it was homework and provide a link back this thread.

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 7 of 12
(6,249 Views)

Hello fifa,

 

The forums are a great place to have your work peer reviewed by other LabVIEW users in the industry with years of experience in solving real world problems through Virtual Instrumentation and Modular and Traditional hardware platforms. 

 

If you would like assistance on these forums with your concept exercises, it is recommended that you show your line of thinking and your possible solution, pointing our exactly where you are stuck. This could be a VI you have started, or a flowchart of a solution you are having trouble translating into code.

 

As a starting point, all students can visit the following pages to get some out of classroom practice in using LabVIEW.

 

Best Regards,

 

George T.
Senior Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 8 of 12
(6,177 Views)

George T,

 

Be aware in this case this persons instructor has asked the forum NOT to help. I am sure if he went to the instructor he/she could get all the help needed to finish the assignment.

 

Alan

0 Kudos
Message 9 of 12
(6,156 Views)

Hi Alan,

 

Good point.  Although the forums are here to help, all coursework should be developed under the guidelines of the college/university for achieving the learning standard that is promised by that institution.  It is a student's responsibility to adhere to the guidelines, and go through the proper channels for getting help.

 

Regards,

George T.
Senior Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 10 of 12
(6,148 Views)