From adbd19f51bed9dc70392dabe9334f039e8b650dd Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 12 Aug 2023 14:56:53 +0200 Subject: [PATCH] Add interval option to README --- README.md | 33 +++++++++++++++++---------------- ut8803e.py | 3 +-- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 2645ecf..6ad1007 100644 --- a/README.md +++ b/README.md @@ -80,36 +80,37 @@ few options: Commands: - log start logging data + log start logging data - get_ID get instrument id + get_ID get instrument id - brightness change display brightness (3 steps) + brightness change display brightness (3 steps) - select press `select` button + select press `select` button - range_manual switch to next manual range + range_manual switch to next manual range - range_auto set auto range + range_auto set auto range - minmax set/toggle min/max mode + minmax set/toggle min/max mode - exitminmax exit min/max mode + exitminmax exit min/max mode - rel set relative mode + rel set relative mode - d_val capacitor D value + d_val capacitor D value - q_val inductance Q value + q_val inductance Q value - r_val inductance/capacitor resistance + r_val inductance/capacitor resistance - exit_dqr exit DQR mode + exit_dqr exit DQR mode Options: - -p, --period TEXT Length of logging period [HH:MM:SS]. Max period: 23:59:59 - -f, --format TEXT Logging data format (csv/json/reversing) - --full show value even if ERR or OL app + -p, --period TEXT Length of logging period [HH:MM:SS]. Max period: 23:59:59 + -i, --interval INTEGER Logging interval [s] + -f, --format TEXT Logging data format (csv/json/reversing) + --full show value even if ERR or OL app Most commands act the exact same way as pressing the respective button on the instrument. diff --git a/ut8803e.py b/ut8803e.py index 2c95c12..c3173e5 100755 --- a/ut8803e.py +++ b/ut8803e.py @@ -84,7 +84,6 @@ class ut8000: "r_val" : b"\x51\x00", "exit_dqr" : b"\x50\x00", "confirm" : b"\x5a\x00", - #"unk1" : b"\x58\x00", # sent by windows software at the begining } # modes @@ -243,7 +242,7 @@ class ut8000: "unk14" / C.Flag, "unk15" / C.Flag, "unk16" / C.Flag, - "serpal" / C.Flag, # XXX: confirm + "unk17" / C.Flag, # XXX: serial/parallel? "unk20" / C.Flag, "unk21" / C.Flag,