Skip to content

Quickstart

Get galois-edge running on your machine and controlling instruments in under 5 minutes. The daemon is a single self-contained binary — no Python runtime, no Docker, no dependencies.

  • Linux (x86_64 or arm64) or Windows 10/11
  • At least one instrument connected via USB, GPIB, LAN, or Serial
Terminal window
curl -fsSL https://get.galoislabs.ai | sh

The installer places galois-edge in /usr/local/bin and registers a systemd service. Supports x86_64 and arm64 (including Raspberry Pi).

Terminal window
galois-edge start

The daemon auto-discovers connected instruments and prints what it found:

galois-edge v0.9.4 starting...
Scanning GPIB bus... found Keithley 2400 at GPIB::24
Scanning USB... found Keysight 34461A at USB0::...
gRPC API listening on :50051
WebSocket API on :8765
Ready.

Install the PyVISA backend:

Terminal window
pip install pyvisa-galois

Then use it just like standard PyVISA — one line changes:

import pyvisa
rm = pyvisa.ResourceManager("@galois") # swap in the galois backend
# List all connected instruments
print(rm.list_resources())
# ('GPIB::24', 'USB0::2391::...')
# Open an instrument and take a reading
dmm = rm.open_resource("USB0::2391::...")
print(dmm.query("*IDN?"))
print(dmm.query("MEAS:VOLT:DC?"))