LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programming in labview?

I don't think that giving a solution to what is obviously a homework question is in the best interest of the student. The student has not appeared to put any effort into learning even the basics.
Message 21 of 26
(835 Views)

@Dennis_Knutson wrote:
The user seems to have basic trouble with math as well.

Either that or the user is explaining what he wants incorrectly...

 

Going off the supposedly fixed values for R1 and Rf, the formula reduces to Vout = -Vin.  So... I don't even think there is a need to use LabVIEW 😛  However my ability to read electrical symbols is about as good as my ability to speak Klingon, so I figured I was missing something with the symbols that has more meaning that the equation printed below it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos!
0 Kudos
Message 22 of 26
(832 Views)

MrHappyAsthma wrote:

Going off the supposedly fixed values for R1 and Rf, the formula reduces to Vout = -Vin.


That is true as long as the input and output voltages are within the supply voltage (assuming basic Op-Amp here, some will allow outside of the supply voltage).  But that would be another set of inputs for the In Range & Coerce.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 23 of 26
(818 Views)
The basic math problem that I noticed in his image was Vin-Vin. Not smarter than a fifth grader.
0 Kudos
Message 24 of 26
(802 Views)

RTSLVU wrote:

BUT this is where this type of simulation ends, because you can not limit the mathematical Vout like an Op-Amp's rail voltage will limit actual Vout in a circuit or a proper circuit simulation program would.


Anything can be simulated, given an appropriate mathematical model and a little bit more code. 😉 

0 Kudos
Message 25 of 26
(795 Views)

@crossrulz wrote:

MrHappyAsthma wrote:

Going off the supposedly fixed values for R1 and Rf, the formula reduces to Vout = -Vin.


That is true as long as the input and output voltages are within the supply voltage (assuming basic Op-Amp here, some will allow outside of the supply voltage).  But that would be another set of inputs for the In Range & Coerce.


DOH! I always forget about In Range & Coerce...

 

Inverting Op-Amp.JPG

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 26 of 26
(793 Views)