Python Interface installation

Getting started

  1. Assemble a HVPS, including the low voltage and high voltage testing.
  2. Perform the initial configuration and calibration, using either the LabVIEW interface (point 2.1) or sending commands to the board (point 2.2).
  3. It is recommended to perform a calibration of the HVPS if you have a HV probe and a multimeter
    1. You can make make a manual calibration (point 2)
    2. If you also have a NI-DAQ platform, you can use the LabVIEW interface to perform an automatic calibration

Windows: using the executable file

  1. From the Download page, grab the archive and uncompress it somewhere on your computer
  2. Double click on the main.exe executable to launch the interface
  3. 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 or Linux, you can easily launch the interface using the source code. This also applies to Windows if you want to modify the source code.

  1. Install Python 3 on your system.
  2. 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 intall pyserial).
  3. Get the from the download page and uncompress it on your computer.
  4. to run: python (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
    1. On Linux-based systems, you can use the file to start the interface. You may need to change the file attribute to give it permission to launch (chmod +x
    2. On Windows, you can create a GUI.bat file in the interface folder with the line
      python .\
      Double clicking on it will launch the interface. You can then create a shortcut to your desktop to easily launch the interface.
  5. The file install.txt contains more info on the requirement, installation, and configuration on different platforms.