Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can not set Voltage on a Keithley 2380-500-15

I have been trying to control a electronic load system from Keithley but am unable to set voltage manually or using py-visa. 

Here is some code that just receives errors:

def set_voltage(user_input):
import visa
rm = visa.ResourceManager()
inputs = rm.list_resources()
usb_port=(inputs[0])
keith = rm.open_resource(usb_port)
print(keith.write("*VOLT " + str(user_input)))

set_voltage(1.0)

 

 

import visa
rm = visa.ResourceManager()
inputs = rm.list_resources()
usb_port=(inputs[0])
keith = rm.open_resource(usb_port)
print(keith.write("SYST:ERR?"))

 

Both say status success but then an error appears above the screen. 

0 Kudos
Message 1 of 4
(2,282 Views)

@Nathan4321 wrote:

I have been trying to control a electronic load system from Keithley but am unable to set voltage manually


 

Please explain about setting voltage manually.
0 Kudos
Message 2 of 4
(2,264 Views)

My end goal is to create a program where I just type in the voltage and a function will set the voltage on the Keithley electric load system. In order to try and make the code for that I am trying find out the process the machine takes to set voltage by setting it manually (just pressing the buttons on the machine). I have read the users manual and am unable to remotely or manually set the voltage on the Keithley machine

0 Kudos
Message 3 of 4
(2,253 Views)

An IVI driver is available.

greetings from the Netherlands
0 Kudos
Message 4 of 4
(2,210 Views)