LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply my function to the circuit

Hello, 

 

I generated an exponential function using MathScript. How can I apply it to a circuit I already built, and get an output of the behaviour of the circuit after applying the function on it. 

Can anyone please help, the circuit is a simple RC circuit. 

0 Kudos
Message 1 of 4
(937 Views)

What does this have to do with LabVIEW (the purpose of this Forum)?  You attached no LabVIEW code, you provided no picture or diagram of "a circuit I already built" (or "a simple RC circuit"), you didn't describe either the Software (version, 32 or 64-bit) or Hardware (including PC/MAC, how you are "measuring" anything).  Are you using physical Resistors and Capacitors?  What values?  How are you designing the "measurement"?

 

Bob Schor  

0 Kudos
Message 2 of 4
(913 Views)

As has been said, LabVIEW has nothing to do with "circuits". If you are looking for a circuit simulator, maybe multisim is a better option.

 

Of course LabVIEW is a full featured programming language and you can program anything you want. I strongly recommend to ignore MathScript (a scripting node by NI that is called on the LabVIEW diagram and accepts matlab-like syntax. MathScript no longer actively developed or recommended). 

 

LabVIEW has all the exponential functions and other math you possibly need and you can program anything (anything!) directly in native LabVIEW on the block diagram (which is a graphical representation of the code, and definitely not a "circuit") . It will perform better and will be easier to debug.

 

What have you already built? What is your definition of an "output"? Your post is not clear at all!

0 Kudos
Message 3 of 4
(884 Views)

Assuming 'circuit' is a block diagram, then you only need to connect Controls and Indicators to your connector pane for inputs and outputs, then you can use it as a sub-VI in another VI.

Check top right of your front panel window, click one of the small boxes, then which control/indicator it should connect to.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 4
(800 Views)