azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/azonenberg/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
<_whitenotifier> [scopehal-sigrok-bridge] 602p pushed 1 commit to commandapi [+0/-0/±6] https://github.com/glscopeclient/scopehal-sigrok-bridge/compare/38c2302fab8d...838e982ad4aa
<_whitenotifier> [scopehal-sigrok-bridge] 602p 838e982 - Support DSLogic device's trigger settings, and fix misreported trigger position bug here too
<_whitenotifier> [scopehal-sigrok-bridge] 602p pushed 1 commit to commandapi [+0/-0/±2] https://github.com/glscopeclient/scopehal-sigrok-bridge/compare/838e982ad4aa...2419d09f7e7c
<_whitenotifier> [scopehal-sigrok-bridge] 602p 2419d09 - Use correct channel for trigger offset; fix bugs with trigger source and offset selection on DSLogic
<_whitenotifier> [scopehal-sigrok-bridge] 602p pushed 2 commits to commandapi [+0/-0/±2] https://github.com/glscopeclient/scopehal-sigrok-bridge/compare/2419d09f7e7c...317e0eace735
<_whitenotifier> [scopehal-sigrok-bridge] 602p de41754 - Much simpler correct trigger position offseting for DSLogic
<_whitenotifier> [scopehal-sigrok-bridge] 602p 317e0ea - Clean up DSLogic capture offset stuff
<_whitenotifier> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/glscopeclient/scopehal/compare/0e43d13028c9...1b42cbfeb9b6
<_whitenotifier> [scopehal] azonenberg 1b42cbf - Refactoring: PicoOscilloscope now uses twinlan transport like other bridge-based drivers. Fixes #566.
<_whitenotifier> [scopehal] azonenberg closed issue #566: Pico: use new twinlan transport - https://github.com/glscopeclient/scopehal/issues/566
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #scopehal
<_whitenotifier> [scopehal-pico-bridge] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal-pico-bridge/compare/f3ca5b70b695...7851a72ab710
<_whitenotifier> [scopehal-pico-bridge] azonenberg 7851a72 - Don't print warning message if we request an invalid timebase because too many channels are enabled. Just hide it from the list.
<_whitenotifier> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±5] https://github.com/glscopeclient/scopehal-apps/compare/66af81a3b368...88e6e72bef18
<_whitenotifier> [scopehal-apps] azonenberg 88e6e72 - Refresh timebase properties dialog when channels are added/removed, in case set of valid sample rates/depths changed as a result
<_whitenotifier> [scopehal] azonenberg closed pull request #569: RemoteBridgeOscilloscope refactoring - https://github.com/glscopeclient/scopehal/pull/569
<_whitenotifier> [scopehal] azonenberg pushed 6 commits to master [+4/-0/±16] https://github.com/glscopeclient/scopehal/compare/1b42cbfeb9b6...dd63058cb7fe
<_whitenotifier> [scopehal] 602p 3043eae - Initial splitting of functionality into RemoteBridgeOsc
<_whitenotifier> [scopehal] 602p 8e91fb2 - Use twinlan transport for DSLabs
<_whitenotifier> [scopehal] 602p 4963ec8 - Switch to accepting reported rates in fs/sample to match the SCPI server tools convention
<_whitenotifier> [scopehal] ... and 3 more commits.
<_whitenotifier> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±4] https://github.com/glscopeclient/scopehal/compare/dd63058cb7fe...069135021e08
<_whitenotifier> [scopehal] azonenberg 0691350 - Fixed typos in copyright line
<azonenberg> @louis: ok so i merged your PR and also fixed a typo in the copyright lines (you had 2022- instead of 2012-2022)
<azonenberg> Going to start porting the digilent and pico drivers over to this model shortly
<azonenberg> at that point i think the control plane refactoring will be pretty solid
<azonenberg> then we can turn our attention to data plane, we need to make the waveform data protocol more consistent across the bridges and also figure out the fine points of the flow control scheme
<_whitenotifier> [scopehal-sigrok-bridge] 602p pushed 9 commits to main [+0/-0/±30] https://github.com/glscopeclient/scopehal-sigrok-bridge/compare/c9ee4fc81a4d...317e0eace735
<_whitenotifier> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/glscopeclient/scopehal/compare/069135021e08...bc652d752cf4
<_whitenotifier> [scopehal] azonenberg bc652d7 - DigilentOscilloscope: now based on RemoteBridgeOscilloscope
<azonenberg> well that was surprisingly painless
<azonenberg> now to do the same for the Pico driver
<_whitenotifier> [scopehal-docs] azonenberg pushed 1 commit to master [+1/-0/±2] https://github.com/glscopeclient/scopehal-docs/compare/a78ed1858315...fd7c4a8ca3ad
<_whitenotifier> [scopehal-docs] azonenberg fd7c4a8 - Documented complex import filter and reverse rainbow color gradient
<_whitenotifier> [scopehal-docs] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal-docs/compare/fd7c4a8ca3ad...66194b5ec42e
<_whitenotifier> [scopehal-docs] azonenberg 66194b5 - Documented digital-to-NRZ and digital-to-PAM4 filters. Added skeleton descriptions for a lot of filters.
bvernoux has joined #scopehal
<Degi> azonenberg: re channels: Isn't that exposed in the API where you can get if a channel is active or not? (And that should be read from the scope at startup IIRC)
<azonenberg> Degi: what is not exposed is whether it's a usb or standalone scope
<Degi> I see
<azonenberg> the theory is, a usb scope should start up with some reasonable default channel set
<azonenberg> as they have no memory between uses of what's going on
<azonenberg> a standalone scope should start up with the currently active channel set unless there are no channels active
<azonenberg> in which case it should enable some default set
<Degi> Hmm
<Degi> If the USB scopes have no memory, then either none or all channels will be active (at least that is my guess)
<azonenberg> Default is normally none i think
<Degi> Hmm, then we could check for none and activate some default set maybe
<azonenberg> yes, i guess that is one option
<azonenberg> ("all analog" is probably a reasonable default in that scenario)
<Degi> Maybe storing configuration between sessions could be nice
<azonenberg> although we'd have to figure out what to do with a LA
<azonenberg> I dont like th eidea of storing config
<azonenberg> because often when i disconnect and reconnect to an instrument it's because i'm doing something totally different from last time
<Degi> Another idea: Sample every channel and only enable channels with > 10 % FSR RMS readings or so
<azonenberg> i dont like that idea at all
<Degi> Yeah, a bit unpredictable
<azonenberg> your dut might just be off or something
<azonenberg> yeah
<Degi> Hmm, though storing config as an option could be nice, so that I don't have to re-enter IP address and everything each time (maybe it is there and I didn't see it)
<Degi> (Like as an option in the drop down or so)
<azonenberg> oh
<azonenberg> you just mean locatio nof the scope
<Degi> Hmm, I thought also channels etc. could be nice but location would be a good start
<azonenberg> file | recent instruments
<Degi> Oh nice, thanks!
<azonenberg> it stores the ... 10? most recently used
<azonenberg> (I have 7 including all the digilent gear and the demo scope simulator, i might need to up that limit soon lol)
<Degi> Maybe add a config option xD
<azonenberg> I've been adding a lot of content to the docs lately on filters and such but i should go through and document a bunch of the recently added menu items and such too
<azonenberg> the docs are definitely lagging the actual feature set by a fair bit
<azonenberg> I wonder how far we are from breaking 200 pages (currently 191)
<azonenberg> although many of those 191 are empty headings for filters that are not fully documented and just have a sentence or so of text
<Degi> I wonder if a HTML documentation generated from the tex could be useful, like with collapsible sections and stuff
<azonenberg> once we have content we can always reformat it
<azonenberg> getting the text is the hard part for now
<Degi> true
<azonenberg> and keeping it up to date
<_whitenotifier> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3] https://github.com/glscopeclient/scopehal-apps/compare/88e6e72bef18...8885651f48fc
<_whitenotifier> [scopehal-apps] azonenberg 8885651 - Filter graph editor menu is now a toggle. Fixes #319.
<_whitenotifier> [scopehal-apps] azonenberg commented on issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295#issuecomment-1075414665
<_whitenotifier> [scopehal-apps] azonenberg commented on issue #384: ERROR: OpenCL error: clBuildProgram (-11) - https://github.com/glscopeclient/scopehal-apps/issues/384#issuecomment-1075418446
<_whitenotifier> [scopehal-apps] azonenberg edited a comment on issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295#issuecomment-1075414665
<azonenberg> (wow those notifications were quite delayed)
<_whitenotifier> [scopehal-apps] azonenberg closed issue #319: make the filter graph window menu option a toggle - https://github.com/glscopeclient/scopehal-apps/issues/319
<_whitenotifier> [scopehal-sigrok-bridge] 602p pushed 1 commit to main [+0/-0/±5] https://github.com/glscopeclient/scopehal-sigrok-bridge/compare/317e0eace735...76482944931b
<_whitenotifier> [scopehal-sigrok-bridge] 602p 7648294 - Various cleanup and rate-report fixing
<d1b2> <louis> @azonenberg I think it's safe to go ahead and merge https://github.com/glscopeclient/scopehal-docs/pull/38 now that we're actually using twinlan and it reflects DSLogic support also
<_whitenotifier> [scopehal] 602p opened pull request #570: Support first-sample offset in digital waveforms for DSLogic devices - https://github.com/glscopeclient/scopehal/pull/570
<_whitenotifier> [scopehal] 602p synchronize pull request #570: Support first-sample offset in digital waveforms for DSLogic devices - https://github.com/glscopeclient/scopehal/pull/570
<azonenberg> Ok great i have a call in a few minutes and will review it after that
<azonenberg> I refactored the Digilent driver to use RemoteBridgeOscilloscope last night but did not have time to do Pico
<azonenberg> that's on my agenda for tonight
<azonenberg> In the meantime, if you're looking for something to do i suggest starting to work on unifying the data plane side of the bridge
<azonenberg> Think about how we can handle various kinds of data (raw ADC codes, fp32/fp64, sparse/dense MSO samples)
<azonenberg> so we'll probably have to add a type field
<azonenberg> i want to do that unification first, then flow control on top of it
<tnt> azonenberg: have you ever simulated high speed lanes on flat flex ? I'm wondering how doable it'd be to have pcie (2.0 or 3.0) on flex from oshpark ?
<azonenberg> tnt: The AKL-PT2 did ~6 GHz BW on oshpark flex in prototyping although i moved to a chinese fab for volume
<azonenberg> it was limited by losses due to length of the flex, that was the -3 dB BW
<azonenberg> for digital data especially with good equalization, a foot or so should be very viable out to gen3 speeds and maybe even gen4
<azonenberg> assuming you don't have a ton of loss elsewhere in the system
<tnt> azonenberg: oh good to know. It'd be way less than a foot, maybe 15 cm max, it's mostly to extricate the lanes from the underside of a motherboard. The classic "riser cables" that use a bunch of coax is not flexible enough to make a 90 deg angle.
<Degi> Gen 2 works with flat band cables (at least when aluminium shielded, though not sure if that is necessary since I changed two parameters during my test and thus I'm not sure what was the cause)
<Degi> (Gen 3 might too, didn't try)
<Degi> (The second parameter was a disconnected line of one side of a differential pair, it still worked but with a lot of errors and thus at a reduced rate, even compared to Gen 1 speeds)
<_whitenotifier> [scopehal-docs] azonenberg closed pull request #38: Initial DSLabs driver docs - https://github.com/glscopeclient/scopehal-docs/pull/38
<_whitenotifier> [scopehal-docs] azonenberg pushed 3 commits to master [+0/-0/±3] https://github.com/glscopeclient/scopehal-docs/compare/66194b5ec42e...b712fb035d50
<_whitenotifier> [scopehal-docs] 602p 4fe00d7 - Initial DSLabs driver docs
<_whitenotifier> [scopehal-docs] 602p 73c3000 - Update for DSLogic support and bridge URL
<_whitenotifier> [scopehal-docs] azonenberg b712fb0 - Merge pull request #38 from 602p/dslabs Initial DSLabs driver docs
<_whitenotifier> [scopehal] azonenberg closed pull request #570: Support first-sample offset in digital waveforms for DSLogic devices - https://github.com/glscopeclient/scopehal/pull/570
<_whitenotifier> [scopehal] azonenberg pushed 4 commits to master [+0/-0/±4] https://github.com/glscopeclient/scopehal/compare/bc652d752cf4...7382c8cd0928
<_whitenotifier> [scopehal] 602p 8403cfa - Support first-sample offset in digital waveforms for DSLogic devices
<_whitenotifier> [scopehal] 602p 2a0fc19 - Avoid unneeded non-RLE samples
<_whitenotifier> [scopehal] 602p fae959b - Silence unused parameter warning now that digital threshold is device-wide
<_whitenotifier> [scopehal] azonenberg 7382c8c - Merge pull request #570 from 602p/dslabs Support first-sample offset in digital waveforms for DSLogic devices
nelgau has quit []
<_whitenotifier> [scopehal-apps] someone--else commented on issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295#issuecomment-1075757488
<_whitenotifier> [scopehal-apps] azonenberg commented on issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295#issuecomment-1075758427
<_whitenotifier> [scopehal-apps] azonenberg unlabeled issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295
<_whitenotifier> [scopehal-apps] azonenberg labeled issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295
<_whitenotifier> [scopehal-apps] azonenberg labeled issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295
<_whitenotifier> [scopehal-apps] azonenberg labeled issue #295: Issue with FFTS for Windows with MSYS2 mingw64 (Keysight 3000T) - https://github.com/glscopeclient/scopehal-apps/issues/295
<_whitenotifier> [scopehal-apps] azonenberg edited issue #295: AVX2 disabled on Windows as workaround for gcc bug - https://github.com/glscopeclient/scopehal-apps/issues/295