Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2450 source meter - Labview code to operate as a voltage supply

Hi,

 

I have a Keithley 2450 which I want to use as a programmable voltage supply. Basically just go to a desired output voltage between -10 and +10 V. My code executes, but I only achieve an output of about 100 mV no matter what I set. Any suggestions?

0 Kudos
Message 1 of 6
(530 Views)

How much current are you trying to draw?

 

(Very few have LabVIEW 2024, and I recommend to "save for previous" (2020 or below) before attaching VIs. Thanks)

0 Kudos
Message 2 of 6
(528 Views)

Inside of the loop, you are using the Configure Output, which has an input for the range.  By default, the range is 0.1.  Since you did not wire up that input, the range is being set to 0.1V (100mV).  Instead, use Configure Source Level, which only sets the output voltage or output current.


GCentral
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
Message 3 of 6
(517 Views)

Hi, thanks for the replies. I've tried many different combinations of the functions as suggested inside and outside the loop, but still achieve the same result of only ~115 mV output. Updated code in older version attached. I can run the example programs for this instrument (eg sweeps, etc) with no issue. I'm sure it's something simple in the code I've written.

 

Any thoughts?

0 Kudos
Message 4 of 6
(484 Views)

Have a look at the provided LabVIEW example "\Keithley 2450\Examples\Keithley 2450 Read Single.vi".  You are not configuring the SMUs ouput limit (default is 0.1 A or 0.1V + the overange limit of +15%) thus you only get 115mV.  You need to use the Configure Output.vi to set the Source level and the source limit level (otherwise known as overvoltage/overcurrent or compliance limit).

 

Hope that helps.

Craig

0 Kudos
Message 5 of 6
(457 Views)

Use the Configure Output before the loop to set the initial level and the range and the Configure Source Level inside of the loop to set the output.


GCentral
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
Message 6 of 6
(431 Views)