Hi, I made some drivers for some devices made by myself, one of them its a hid device with analog inputs and I read like a multimeter/scope, works well on pulseview (as scope) and smuview (as multimeter). Another device its a pic microcontroller with a usb bulk read, have some logic channels and two analog inputs, its slow compared with some other devices but its ok for my needs, again, it works well with pulseview, I can sample at 20khz in live mode with no problems. But I want to change some parameters for my board inside the same pulseview, I only madeSR_CONF_COUPLING works from pulseview (using groups) but I want to use, for exampleSR_CONF_OFFSET and SR_CONF_AMPLITUDE (both already implemented in the driver) but I can't see them in pulseview. Using smuview (I know that its a different project for different purpose than pulseview) I can set offset and amplitude per channel and per device. Because my board can use 2.5v, 5v or external vcc as a VRef for the ADC I would like to change this parameter inside pulseview because when I calculate the voltage from ADC raw value I need this values in the formula, at the moment I wrote this values in the ram of the microcontroller with another program then go to pulseview to adquire data ( I read this values inside the dev_open and set variables as well for my formula). I useSR_CONF_PATTERN_MODE &SR_CONF_FILTER as a workaround to change some of the board settings (I know that Pattern its for the demo device) but its working for my own driver/board.

Maybe some custom key could be added with multiple user options per device/group to extend the functions coverage for some custom devices like mines, from pulseview point of view its just a combobox displaying a title and user options, nothing more (Like the coupling one), but the title should be provided by the user to be a custom option.

For example I want to change, not only the VCC value of the ADC, else the Clock divider of the ADC, some delays, some pins direction and so on.

Thanks for this cool project, I use a lot since a long time ago in Linux compiled by myself.



_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to