You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The range function in the LCR driver is not working. The issue is that we attempt to perform a fancy string to number to string coversion. The LCR will only take the following in its SCPI commands (tested manually)
📖 SCPI Command Reference
The driver wraps these low-level serial commands into high-level Python methods.
In addition to this there are a few other drivers that use this
Keysight 33500b - turns fixed strings into numbers
rigol dg1022 - turns fixed strings into numbers
agilent u1732c (this driver) - turns arbitrary input into numbers (with bugs)
I think we should remove unit_scale entirely, fix up any scripts that rely on it, and delegate any sort of api related behaviour to drivers only, and force users to put numbers in, instead of strings with multiple formats.
Activity
daniel-montanari commentedon May 29, 2026
In addition to this there are a few other drivers that use this
Keysight 33500b - turns fixed strings into numbers
rigol dg1022 - turns fixed strings into numbers
agilent u1732c (this driver) - turns arbitrary input into numbers (with bugs)
I think we should remove unit_scale entirely, fix up any scripts that rely on it, and delegate any sort of api related behaviour to drivers only, and force users to put numbers in, instead of strings with multiple formats.