Skip to content

Instantly share code, notes, and snippets.

@gtalusan
Created April 30, 2018 19:06
Show Gist options
  • Save gtalusan/7b2152e7cd736f63dd3d9bb049558250 to your computer and use it in GitHub Desktop.
Save gtalusan/7b2152e7cd736f63dd3d9bb049558250 to your computer and use it in GitHub Desktop.
Dump a PNG from your RIGOL
#!/bin/sh
if [ "x$1" == "x" ]; then
echo "You need a filename"
exit 1
fi;
echo ':display:data? ON,OFF,PNG' | nc -w 20 rigol.local 5555 | tail -c +12 > $1.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment