I noticed that there really weren't very many options for dealing with analog files. Input is restricted to raw_analog and wav. Output is analog, csv, srzip and wav. That you can output csv but not input it seems truly odd. Sems like the analog options may be new enough not to have gotten a lot of love.
I've set about doing something about this. I've added analog output to gnuplot - mostly. The stream format can include frames that encompass multiple packets. I've written the code (well, cribbed it from output/csv.c) but can't test it - or at least can't find a way to test it, as it seems that the only way to generate such a stream is from one of the hardware drivers that does so. If I'm wrong about testing this code, I'd appreciate instructions on how to generate a stream for testing. If you've got one of the relevant hardware dervices (hantek-dso, hameg-hmo, gwinstek-gds-800, hung-chang-dso, yokogawa-dlm, byalibre-accme, arachnid-labs-re-load-pro, maynuo-m97, rigo-ds) and are willing to download and build from source to help test, you can find it at https://github.com/mwm/libsigrok. If you're installing with homebrew on the mac, you can use my tap mwm/sigrok to install this version. Note that this branch includes the (in progess) support for they jyetech dso112a I've been using for testing. Next step (underway, but not in the repo) is input of csv analog values. I also plan on looking at adding analog to vcd write & read. The real goal is adding analog values to the protocol decoder API. Thanks, Mike
------------------------------------------------------------------------------
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel