Inhaltsverzeichnis

SCPI Scripts on Linux Mint

Here I will describe a simple solution to control two units of programmable power supplies via Ethernet.

Setup

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.

Configure Nemo on Linux Mint

The goal is to have shell scripts, which can be run with a double-click.

For this Nemo's config has to be changed, so we don't get annoying dialogs:

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.

To make a script runnabla/clickable, we have to give it the permission via right-click, Properties:

Downloads

rigol-dp832-scripts.zip (don't forget to make them executeable)