Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A script to display text on the Keysight PSU
#!/usr/bin/env python
import visa
rm = visa.ResourceManager()
rm.list_resources()
inst = rm.open_resource('TCPIP0::192.168.5.185::5025::SOCKET')
# print(inst.query("*IDN?"))
inst.write('*RST?')
inst.write('DISP:TEXT "Inderpreet is Awesome!"')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment