2015-02-10 0:34 GMT+01:00 Aurelien Jacobs <au...@gnuage.org>: > This conf name seems highly specific, but I think it could be generalized. > > IIUC, your device will read a voltage, and this config will indicate > the (inverse of the) factor to apply to convert it to a current. > > This is very similar to oscilloscope probe configuration (1x, 10x...). > And some oscilloscopes allow to set random probe factor and unit, so > that you can plug a current clamp and have direct current reading > in Amps. > > So I think it would be better to have a more generic conf name that > could be used with many kind of hardware. > Maybe something like SR_CONF_PROBE_FACTOR ?
It's reasonable. I hope we can keep the units in mOhms in case of ACME driver? I'll wait for other reviews before applying this change and resending. Bart ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel