Hello, I've submitted management for a conf file system to the maintainer for libsigrok. Unfortunately, this software will not be accepted. Uwe has his reasons which I also accept.
Nevertheless, I would like to briefly outline the possibilities of use here. @ John you had asked on the IRC, if it is possible to script conf files. Maybe my solution is indeed an approach. Here is a link to my sources https://github.com/sigrokproject/libsigrok/pull/8/commits/136ee788443ba33c6f971869ebbf6f3e819f0043 and there is a comment here in the pull Abstract: description With a conf file certain parameters of the hardware drivers for libsigrok can be set. The libconfig library is used https://hyperrealm.github.io/libconfig/ function It is possible for non-standard Sigrok installations https://sigrok.org/wiki/Building#Installing_to_a_non-standard_directory_using_LD_LIBRARY_PATH per working directory for the devices used create a parameter set. ! Multiinstallations ! completely read here. https://github.com/sigrokproject/libsigrok/pull/8 Understandably Uwe explained his refusal - additional dependencies - importantly architectural issues an excerpt from the homepage of libconfig https://hyperrealm.github.io/libconfig/libconfig_manual.html#Using-the-Library-from-a-C-Program https://hyperrealm.github.io/libconfig/ ################################################## To use the library from C code, include the following preprocessor directive in your source files: #include <libconfig.h> To link with the library, specify ‘-lconfig’ as an argument to the linker. The library includes bindings for both the C and C++ languages. It works on POSIX-compliant UNIX and UNIX-like systems (GNU/Linux, Mac OS X, FreeBSD), Android, and Windows (2000, XP and later). ################################################### For most Logic analyzers, the need for its low setting options is certainly not apparent. But libsigrok also has other devices on its supported page, and what the future brings is open. Also, very specific applications can explain the effort against usability. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel