knarfS / smuview

SmuView is a GUI for sigrok that supports power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters and so on.
GNU General Public License v3.0
130 stars 25 forks source link

KeyError #43

Open dwarning opened 2 years ago

dwarning commented 2 years ago

I am using latest image Version 0.0.6-git-7050317 under Ubuntu 20.04. The device is a VC830 dmm connected by USB hid cable. The manual connection and measurement works very well. ` import smuview import time

dmm_device = Session.connect_device("voltcraft-vc830:conn=1a86.e008")[0] dmm_conf = dmm_device.configurables()[""]

dmm_conf.set_config(smuview.ConfigKey.MeasuredQuantity, smuview.Quantity.Voltage) ` I got following error:

`KeyError: ('',)

At: /smuview/smuscript/battery_characteristic.py(8): ` My python is Version 3.8.