Hello, I sent a set of changes a while ago to support the Hantek 6022BL as 16bit LA. I got no feedback so far. Can someone please have a look into that?
Thanks a lot, Jan * Jan Losinski <losin...@wh2.tu-dresden.de> [2017-01-17 02:17]: > Hello, > > The Hantek 6022BL[1] LA is supported out of the box by the fx2lafw > driver in libsigrok. As it identifies itself as saleae-logic it is > supported only as 8-channel-LA. I made some changes to fix that: > > * I changed the way the fx2lafw driver selects wide-sampling (and > therefore limits the maximum samplerate). Instead of choosing it by > the 16-bit-capability of the device while init it checks before it > starts sampling, if one of the "higher" 8 channels is enabled. If not, > it uses "normal" (8bit) sampling with possibly the full rate. > The change is in a branch at github and can be pulled from [2]. > * I set the 16bit capability for the saleae-logic device. This should be > as the "upper" 8 channels should just deliver no data if selected. And > with the on-demand-wide-sampling it has no impact on the maximum > sample rate if only 8 channels are selected. > The change is in a branch at github and can be pulled from [3]. > > Please tell me if this can be merged in this form or if I should change > something. > > Thanks a lot, Jan. > > [1] http://sigrok.org/wiki/Hantek_6022BL > [2] > https://github.com/janLo/libsigrok/commit/872421f626b0d820ba50884880cab5cd1dd79023 > [3] > https://github.com/janLo/libsigrok/commit/b2c385ebff8b0eaf32dabadc510991eb47446896
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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