Benutzer-Werkzeuge

Webseiten-Werkzeuge


scpi_scripts_on_linux_mint

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

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

scpi_scripts_on_linux_mint.txt · Zuletzt geändert: 2018/03/26 01:00 von karl