Ah, I just realized I completely misunderstood the data format. Of course each channel only requires one bit! Thanks for the help.
Sent from my iPhone > On Aug 2, 2017, at 12:54 AM, Gerhard Sittig <gerhard.sit...@gmx.net> wrote: > >> On Tue, Aug 01, 2017 at 22:30 -0500, Jason Pepas wrote: >> >> [ ... merge two srzip files ... ] >> >> I gave this a shot, but something went wrong (Pulseview gives a "generic / >> unspecified" error when I try to open up the resulting zip file). >> >> I threw together a quick python script to mux the binary files. I think I >> got it right -- the resulting logic-1-1 file is exactly twice the size of >> the two source files. I've attached the two source srzip files and the >> resulting output srzip file. >> >> [ ... ] >> >> Maybe there is a way I can make Pulseview spit out some debugging info or a >> more detailed error? > > You can pass -l with numbers up to five, to raise the log level. > Whether the srzip input module has detailled messages about the > cause for rejecting the archive, I don't know off the top of my > head. > >> [global] >> sigrok version=0.6.0-git-58ffcf9 >> >> [device 1] >> capturefile=logic-1 >> total probes=16 >> samplerate=1 MHz >> total analog=0 >> probe1=D0 >> [ ... ] >> probe16=D7 >> unitsize=1 > > Of course you cannot have 16 probes in units of 1 byte size. > Make that unitsize=2 to match the 16 data bits per sample point. > > > Your script assumes that units are always full bytes (i.e. probes > are full multiples of eight). That's OK, just put a note > somewhere to remain aware. :) Folding odd numbers of bits > together is a little more involved. > > Oh, and use binary mode for the files with sample data, for > improved portability. > > > virtually yours > Gerhard Sittig > -- > If you don't understand or are scared by any of the above > ask your parents or an adult to help you. > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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