UNI-T Downloads: https://instruments.uni-trend.com/download?cate=33
Installing UNI-T Drivers:
- Connect PSU USB B port to computer USB.
- Power on PSU. Device will show in the “Other Devices” tab as a device without a driver named UDP3000S or similar.
- Download and install “Instrument Application” using all the default options.
- Update the PSU to the latest firmware. In my case it was V1.17. Firmware is on downloads page. This might not be required for you.
- Download UNI-T SDK and install the 2 drivers in the driver's folder.
- Restart computer
Python Wrapper Usage:
- Ensure you have python 3 and VS-CODE installed on your computer.
- Open folder attached to this task.
- There is a wrapper I wrote for all the most useful commands to control and monitor the UNI-T power supply, a test script that demos the commands, and a script which scans for all SCPI devices and prints their resource address and ID.
- Run the scan-for-devices.py. You should hear a beep from the PSU and see the resource address and device ID of PSU in the terminal output. You might get an error about not having the pyvisa library installed so install it with: pip install pyvisa.
- Open test.py and change the resource address in class init to the address of your PSU.
- Run test.py. Fingers crossed it should work to control you UNI-T PSU.
- Enjoy! The commands should be pretty self explanatory.