Tektronix oscilloscope screen capture with Bash (andrejradovic.com) 16 points by cue_the_strings 2y ago ↗ HN
[–] a1o 2y ago ↗ > Here are the commands:> stty -F /dev/ttyUSB0 19200 raw parenb parodd> cat /dev/ttyUSB0 > /tmp/tekrecv> # in another terminal:> tail -f /tmp/tekrecv> Running these commands, we get these files with wildly varying sizesI think something is missing there or I don’t get how to get the different file formats with just these commands. [–] Const-me 2y ago ↗ The file formats are produced on another end of the RS232 cable. That particular oscilloscope can send screenshots over that cable, in various formats. [–] cue_the_strings 2y ago ↗ Exactly. You pick the format in the menu on the oscilloscope itself (the menu can be seen in the screencap). [–] cue_the_strings 2y ago ↗ Updated the article to clarify that you pick the format in the menu on the scope itself.
[–] Const-me 2y ago ↗ The file formats are produced on another end of the RS232 cable. That particular oscilloscope can send screenshots over that cable, in various formats. [–] cue_the_strings 2y ago ↗ Exactly. You pick the format in the menu on the oscilloscope itself (the menu can be seen in the screencap).
[–] cue_the_strings 2y ago ↗ Exactly. You pick the format in the menu on the oscilloscope itself (the menu can be seen in the screencap).
[–] cue_the_strings 2y ago ↗ Updated the article to clarify that you pick the format in the menu on the scope itself.
4 comments
[ 3.1 ms ] story [ 12.9 ms ] thread> stty -F /dev/ttyUSB0 19200 raw parenb parodd
> cat /dev/ttyUSB0 > /tmp/tekrecv
> # in another terminal:
> tail -f /tmp/tekrecv
> Running these commands, we get these files with wildly varying sizes
I think something is missing there or I don’t get how to get the different file formats with just these commands.