The release of hvps-x means the end of development and support for the original SHVPS described on this page. The files and instructions remain accessible, but we won’t provide upgrades or support. The reason for stopping support is that we don’t have any SHVPS left to work on, nor any LabVIEW license to work on the user interface. If you want to assemble a high voltage power supply, we recommend our new hvps-x.
- Assemble a HVPS, including the low voltage and high voltage testing.
- Perform the initial configuration and calibration, using either the LabVIEW interface (point 2.1), The Python library (point 2.2), or sending a command to the board (point 2.3).
- It is recommended to perform a calibration of the HVPS if you have a HV probe and a multimeter
Windows: using the executable file
- Be sure the drivers are installed on your system.
- From the Download page, grab the py-hvps-interface-exe_vx.x.zip archive and uncompress it somewhere on your computer
- Double click on the main.exe executable to launch the interface
- The interface opens. You must have an HVPS connected to the USB port, or you will get an error message.
Using the source code
Currently, we only have made an executable for Windows. If you are using OSX, Linux, or another OS, you can easily launch the interface using the source code. This also applies to Windows if you want to modify the source code, or use the HVPS class to write your own programmes.
- Install Python 3 on your system.
- Install PySerial from command line (command prompt / terminal): pip install pyserial (if you have both python 2 and python 3 on your system, you may need to use pip3 install pyserial).
- Optionally, if you want to be able to display the custom waveform within the interface, you need to install the Pillow library (pip install Pillow). Matplotlib is also required, but usually installed with Python. In any case, if these packages are missing, a warning message will be displayed.
- Get the py-hvps-interface.vx.x.zip from the download page and uncompress it on your computer.
- to run: python main.py (must be done from the directory that contains the interface files. If you have Python2 and Python3 on your system, the command might be python3 main.py)
- Alternatively, on Linux-based systems, you can use the file GUI.sh to start the interface. You may need to change the file attribute to give it permission to launch (chmod +x GUI.sh)
- Alternatively, on Windows, you can use the GUI.bat file to start the interface.
Double clicking on it will launch the interface. You can then create a shortcut to your desktop to easily launch the interface.
- The file install.txt contains more info on the requirements, installation, and configuration on different platforms.