Skip to content

frnckdlprt/hdsctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HDSCTL: CLI for Owon HDS200 series oscilloscope

A cross platform golang CLI to control the Owon HDS200 series oscilloscope with SCPI commands, with also a minimal web frontend.

Installation

Prerequisites:

Then go install github.com/frnckdlprt/hdsctl/cmd/hdsctl@latest

Usage

  • Run SCPI commands with for example hdsctl ":HOR:SCAL 50ns;CH1:SCAL 1.00V" or hdsctl :DATa:WAVe:SCReen:HEAD? | jq
  • Run a minimal web interface with hdsctl serve, accessible on http://localhost:8080

Limitations / Known issues

  • the web UI has a very low refresh rate, about once per second (it could be pushed a bit higher, but then very soon the scope itself becomes less responsive)
  • may require root privilege, alternatively on fedora I have been using sudo chown $USER:$USER /dev/bus/usb/$(lsusb | grep PDS6062T | awk '{print $2 "/" substr($4,1,length($4)-1)}') to avoid permission issues

About

CLI for Owon HDS200 series oscilloscope

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published