Created
April 30, 2018 19:06
-
-
Save gtalusan/7b2152e7cd736f63dd3d9bb049558250 to your computer and use it in GitHub Desktop.
Dump a PNG from your RIGOL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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