04-02-2012 12:26 AM
Hello, I'm having issues creating and simulating a logarithmic converter. I'm supposed to use a LM741 op-amp, and I'm supposed to use a potentiometer to increase the voltage from 0.25 to 5.00 volts in increments 0.25 volts, or a DC variable supply. I need to then measure Vout using a Multimeter or something. I've been trying for a while, just hope someone could help me out.
04-03-2012 08:35 AM
Hi,
I would say using a DC supply and run a quick DC sweep would be the simplest approach to finish your task. To do so, go to Simulation->Analyses->DC sweep. There's currently no easy solution to vary the potentiometer setting on the fly. Hope this helps.
A snippet has been enclosed for your reference. The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense