07-15-2014 09:56 AM - edited 07-15-2014 10:00 AM
Hi guyz!
I was just wondering if you could help me with this problem. I have been trying to get the following circuit to work on a labview. But how do I go about
developing a GUI to control the components and display the circuit outputs.I have attached a screenshot do see. Any help would be appreciated.
07-15-2014 09:59 AM
LabVIEW is a programming language, not a circuit simulator. Perhaps you wanted this forum?: http://forums.ni.com/t5/Circuit-Design-Suite/bd-p/370
07-15-2014 10:03 AM
I am not trying to simulate a circuit.
07-15-2014 10:09 AM - edited 07-15-2014 10:09 AM
You'd have to represent the resistors by numeric controls and then either use formula or simple multiplication/addition/etc.
I'd suggest LabVIEW tutorial.
By the way, to do what you want with any other programming language would be the same.
That is assuming you know how to program in another language.
07-15-2014 10:17 AM
@nyc_(is_out_of_here) wrote:
You'd have to represent the resistors by numeric controls and then either use formula or simple multiplication/addition/etc.
I'd suggest LabVIEW tutorial.
By the way, to do what you want with any other programming language would be the same.
That is assuming you know how to program in another language.
Yes, I have manged to get it done in c programming. If you can please give me an helping hand that would be great.
07-15-2014 10:19 AM - edited 07-15-2014 10:22 AM
Am I doing it right?
07-15-2014 10:23 AM - edited 07-15-2014 10:25 AM
I am not one to mess much with circuits, but just implementing the formula will require the following components:
-Vin should be a numeric control (There is no need to try to "prompt" the user for info. Controls can be edited in by default when the program is run)
-Rf should be a constant = 10K (from the drawing)
-R1 should be a constant = 10K (from the drawing)
-Vout should be a numeric indicator (This will display the result)
Then you can simply wire each of these to the appropriate math functions from the pallette (i.e. multply, divide, add, etc).
07-15-2014 10:31 AM - edited 07-15-2014 10:32 AM
@MrHappyAsthma wrote:
I am not one to mess much with circuits, but just implementing the formula will require the following components:
-Vin should be a numeric control (There is no need to try to "prompt" the user for info. Controls can be edited in by default when the program is run)
-Rf should be a constant = 10K (from the drawing)
-R1 should be a constant = 10K (from the drawing)
-Vout should be a numeric indicator (This will display the result)
Then you can simply wire each of these to the appropriate math functions from the pallette (i.e. multply, divide, add, etc).
So, which controls should I pick for R1 and Rf?
07-15-2014 10:32 AM - edited 07-15-2014 10:33 AM
@Vick472 wrote:
@MrHappyAsthma wrote:
I am not one to mess much with circuits, but just implementing the formula will require the following components:
-Vin should be a numeric control (There is no need to try to "prompt" the user for info. Controls can be edited in by default when the program is run)
-Rf should be a constant = 10K (from the drawing)
-R1 should be a constant = 10K (from the drawing)
-Vout should be a numeric indicator (This will display the result)
Then you can simply wire each of these to the appropriate math functions from the pallette (i.e. multply, divide, add, etc).
So, which control should i pick for R1 and Rf?
I don't understand the circuit because I have no electrical background. If they are fixed values, you will want to make them be Numeric Constants. (the diagram leads me to believe they are set to 10K each, but perhaps this is not fixed). If they are also user-editable while the program is running, you can leave them as they are (Numeric Controls).
07-15-2014 10:33 AM
Your numeric controls are just fine. Just make sure their default is set to 10000.
I would highly recommend you go through some of the online tutorials since you seem very new to this.