LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting time period and current on XY graph.

Hello All,

 

So I'm fairly new to using Labview, and I'm taking a course. We have an assignment that requires us to "Design a VI to display and plot I (t) and t as t is varied from 0 to 5 τ in increments of 1 τ". 

 

So the info on the circuit is "A coil which as an inductance of 40mH (L) and a resistance of 2Ωs (R) is connected together to form RL series circuit with a 20V DC (Vs) supply."

 

What I have so far is a For Loop with a formula node that has the formula to find the current at a time period. I just can figure out how to get the VI to take the values for each time period and run it through the formula, to give the associated current at that time period.

 

I then need to ploy the info on an XY graph, where x=time and y= current.

 

Any help would be awesome!

Thanks

Also, I have attached a screen shot of the problem.

0 Kudos
Message 1 of 4
(2,528 Views)

Can you show us your code?

0 Kudos
Message 2 of 4
(2,519 Views)

I will take a screenshot of what I have when I get home from work. Labview isn't on my work PC.

0 Kudos
Message 3 of 4
(2,515 Views)

Not a screenshot, the actual code.

0 Kudos
Message 4 of 4
(2,511 Views)