====== SCPI Scripts on Linux Mint ====== Here I will describe a simple solution to control two units of programmable power supplies via Ethernet. ===== Setup ===== * 2 Units, Rigol DP832 with Ethernet (LXI) Extension installed * Notebook running Linux Mint 17.3 {{ ::both_power_supplies.jpg?direct&600 |}} ===== Ethernet Config ===== First the Ethernet interface on the RIGOLs has to be configured. We have to use fixed IP-addresses so our scripts then will work every time we want to use them. {{ ::rigol_ethernet_setup.jpg?direct&600 |}} ===== Configure Nemo on Linux Mint ===== The goal is to have shell scripts, which can be run with a double-click. \\ {{ ::2017-01-04_001.png?direct&600 |}} \\ For this Nemo's config has to be changed, so we don't get annoying dialogs: \\ {{ ::2017-01-04_002.png?direct&600 |}} ===== The Scripts ===== For the shell scripts we use netcat (short nc), which makes a raw TCP connection to the SCPI-Server (the RIGOL instrument). Netcat gets the SCPI command via echo and a pipe. \\ {{ ::2017-01-04_003.png?direct&600 |}} \\ To make a script runnabla/clickable, we have to give it the permission via right-click, Properties: {{ ::2017-01-04_004.png?direct&600 |}} ===== Downloads ===== {{::rigol-dp832-scripts.zip|}} (don't forget to make them executeable) {{tag>english script scpi electronics ethernet linux remote_control article software}}