LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple graph

Solved!
Go to solution
i want to make a vi that can """simulate""" ohm's law...

 i mean
I=V/R

what i want is to make a graph I=f(R) , that shows with my stable R, how I changes for V from 0 to 100volt...
and i cant do it....

i need real help so, if someone can make this VI for me and mail me the picture of "front panel" and "block diagram" i'll owe you...
thanks in regards

(my email is fotisg24@hotmail.com)
( and i am using labview 2009 )

THANKS AGAIN

Message Edited by LABVIES on 05-04-2010 01:48 PM
0 Kudos
Message 1 of 7
(3,615 Views)

I will give you some indications...

 

On the Front Panel, place a Waveform Graph, which is in the COntrols Palette, under Graphs.

Create two numeric controls, one called Voltage and the other Resistance.  The control can be a numeric control or a dial.

On the Block diagram, use the  divide function and wire the Voltage control at the top terminal and the resistance to the bottom terminal.

 

You can wrap this up inside a While loop.  Simply place a STOP button on the front panel and wire it to the loop conditional terminal (stop sign).  Then wire the output of the divide function to outside the while loop.  Enable indexing at the tunnel exiting the loop and wire  the array to the Waveform Graph.

0 Kudos
Message 2 of 7
(3,596 Views)
Solution
Accepted by topic author LABVIES
Something like this would work.
Tim
GHSP
0 Kudos
Message 3 of 7
(3,591 Views)

aeastet wrote:
Something like this would work.

 

It's fun doing homework, isn't it?

 

(Tis the season of senior design projects and end-of-course assignments. All one needs to do is to see all the one-hit wonders and the flurry of activity from people who "desperately" need help that have been frequenting the board recently.)
Message 4 of 7
(3,581 Views)
thanks everyone!!! i am so glad! actually noone ever teached me this software... i am a physics teacher and i found out this software from a friend! my only help is a REAL BAD BOOK! thanks again!
0 Kudos
Message 5 of 7
(3,571 Views)
Ray.R SPECIAL THANKS!!!

i tried what you said and they really work...!!!!
and it is really easy to do!!!
i can make lots of simulations now...! these simple stuff are superb for a teacher!!!
0 Kudos
Message 6 of 7
(3,555 Views)

LABVIES wrote:
Ray.R SPECIAL THANKS!!!

i tried what you said and they really work...!!!!
and it is really easy to do!!!
i can make lots of simulations now...! these simple stuff are superb for a teacher!!!

 

Glad to help 🙂

 

 


smercurio_fc wrote:

 

It's fun doing homework, isn't it?

 

(Tis the season of senior design projects and end-of-course assignments. All one needs to do is to see all the one-hit wonders and the flurry of activity from people who "desperately" need help that have been frequenting the board recently.)

 

Saverio,

I didn't write any code this time 😉 

0 Kudos
Message 7 of 7
(3,549 Views)