-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
My UNI-T UT61E has a RS232 interface, not a USB interface.
I ended up modifying miniterm to set 7 bits as it allows me to set everything else, DTR to +5V, RTS to -5V, 19200, and odd parity.
(Actually, I think voltage is closer to +-6V...)
On piping serial to es51922 I had to modify it to make it work:
-
I needed just value - so not es51922 issue and I can work with es51922 stdout output
-
es51922 does not flush stdout so I added sys.stdout.flush()
and for your information,
- why is CSV format using a semicolon ';' instead of a comma ','?
With these changes I can do this:
./miniterm.py --dtr 1 --rts 0 --parity O /dev/ttyUSB0 19200 \
| ~/.local/bin/es51922 \
| feedgnuplot --stream --lines --xlen 50 --xlabel sample --ylabel V
Which generates a nice strip-chart-like graph of last 50 (in this case) values.
[diff.txt](https://github.com/pklaus/ut61e_python/files/681999/diff.txt)
Metadata
Metadata
Assignees
Labels
No labels