07-25-2018 05:14 PM
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.
07-25-2018 08:09 PM
@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.
07-26-2018 08:09 AM
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
07-30-2018 04:48 AM