Column Control DTX

System Power Supply Programming Using Python and Sockets

White Papers

Python programming is growing in popularity as it is easy to learn and available free of charge. Python, along with sockets, can send SCPI commands to an instrument with a LAN interface. In this paper, Python programming configures a system power supply.

Python programming is whitespace sensitive and uses indentation for flow control. To get started with Python, you will need to download a free version and an open environment such as Microsoft Visual Studio Code. Using the development environment, Visual Studio Code helps with creating the proper indenting. The structure of the python program code in this paper emphasizes the SCPI programming for the power supply.

You will also learn how to set the power supply’s voltage and measure voltage and current via a sample Python program. Download this white paper today! 


Please have a sales contact me.

Preferred method of communication? *Required Field
Preferred method of communication? Change email?
Preferred method of communication?

By clicking the button, you are providing Keysight with your personal data. See the Keysight Privacy Statement for information on how we use this data.

Thank you.

A sales representative will contact you soon.

Column Control DTX