azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/azonenberg/scopehal-cmake, https://github.com/azonenberg/scopehal-apps, https://github.com/azonenberg/scopehal | Logs: https://freenode.irclog.whitequark.org/scopehal
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±5] https://git.io/JviwW
<_whitenotifier-3> [scopehal-apps] azonenberg b9e8bf5 - Continued work on file loading. Can now load all UI config, but when waveform area is realized, it hangs during startup. Not yet sure why.
<azonenberg> well this is just lovely
<apo> thank you
<azonenberg> Gtk::GLArea::on_realize() is hanging during creation when loading a save file
<azonenberg> deep inside glXQueryServerString() and the nvidia driver
<azonenberg> Lovely
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 2 commits to master [+0/-0/±4] https://git.io/JvioB
<_whitenotifier-3> [scopehal-apps] azonenberg 541a954 - Continued file load support. Can now load all currently supported UI configuration.
<_whitenotifier-3> [scopehal-apps] azonenberg 1c6fb27 - Added HistoryWindow::SetMaxWaveforms. History is no longer deleted if history view is hidden.
<azonenberg> monochroma, lain: i think at this point the basics of config loading and saving are implemented and working
<azonenberg> no support for waveform data, and no support for offline mode if the scope you created the savefile from isn't available
_whitelogger has joined #scopehal
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±5] https://git.io/Jvi67
<_whitenotifier-3> [scopehal-apps] azonenberg accca55 - glscopeclient: implemented waveform data saving (not fully tested as there's no load support yet). See #3.
<azonenberg> This code is going to need some refactoring, i have a bunch of code in various glscopeclient classes that should probably move to scopehal longer term so as to enable headless waveform loading and analysis etc
<azonenberg> but it does work
<monochroma> :O
<azonenberg> Tomorrow i'll work on loading, at that point you should be able to reconnect to a scope and analyze saved data from a previous session
<azonenberg> Setting up a default UI for loaded waveforms when you didn't load the UI config is still pending
<azonenberg> next step will be to allow offline waveform viewing - right now you have to be reconnected to the same scope you captured the data from
<azonenberg> So i need to make a dummy scope object that can mock the real scope, set functions are no-ops, gets return the value from the save file
<azonenberg> never triggers or produces new waveform data, etc
<azonenberg> As of right now, file io status is:
<azonenberg> save: fully implemented, lightly tested. Supports ~all currently implemented features but will need to be extended when we add APIs for timebase config etc
<azonenberg> load: can load UI config but not waveform data, and requires you to be connected to a scope
<azonenberg> (the same scope the file was created with)
_whitelogger has joined #scopehal
_whitelogger has joined #scopehal
<monochroma> :D
<monochroma> zigggggy: i'm guessing you don't know, but do you have any idea what the official difference between the DDA-5005 and the DDA-5005A ? i originally thought it was just the motherboard upgrade (and removal of the adorable integrated printer?) but then i believe i saw some 5005A units with the pentium3 motherboards and windows 2000
<zigggggy> no clue
* monochroma nods nods
<monochroma> old stuff :3
<monochroma> lol.
<zigggggy> short and to the point, eh?
* monochroma advocates for more bunny suit fashion outside the clean room
<Famine> monochroma, i'm advocating for 18th century plague doctor attire https://i.etsystatic.com/5288709/r/il/920fdb/1411047655/il_794xN.1411047655_k74p.jpg
<monochroma> basically early bunny suits! ;)
<Famine> o.O these 32 bit ADCs are insane
<monochroma> :O
<monochroma> which ones?
<Famine> ads1262
<Famine> ~200pV/bit resolution (1Vref), you probably need some serious signal processing to get anything past 20 usable bits
<monochroma> ah, so not super fast
<monochroma> 38 kSPS
<Famine> looks like AD/LT makes a 1 MSPS 32 bit ADC, looks like they are $100 at 1 off prices
_whitelogger has joined #scopehal
<azonenberg> monochroma: fyi lecroy has been known to do computer upgrades without changing the SKU of a scope
<azonenberg> if the old motherboard went eol or something
<monochroma> azonenberg: yeah, not surprised
<azonenberg> i think they've eve ndone OS upgrades
<azonenberg> but for example, they advertise i5-6500 quad core 3.2 GHz in the current waverunner 8000 datasheet
<azonenberg> I have a dual core 2.7 GHz i5-3610ME
<azonenberg> So they bumped from ivy bridge to skylake at some point
<azonenberg> i.e. mine is definitely an early-model 8K. Not that i didn't know that already, it's a 2017 manufacture date
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±2] https://git.io/Jvi7a
<_whitenotifier-3> [scopehal-apps] azonenberg fa79ace - Continued file load work. Can now load waveform data, but only when reconnecting to an existing scope. See #3.
<azonenberg> ok, so i think the only thing left to do is add support for mock scopes
<azonenberg> and test load/save of digital channels, which isn't yet tested
bvernoux has joined #scopehal
<azonenberg> hey zigggggy question for you... is there a good way to get the serial number of an attached ProBus probe via scpi or automation?
<_whitenotifier-3> [scopehal-docs] adamgreig opened issue #5: System requirements missing 'libyaml-cpp-dev' - https://git.io/JvidL
<_whitenotifier-3> [scopehal-docs] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/Jvidq
<_whitenotifier-3> [scopehal-docs] azonenberg 32201f0 - Added yaml-cpp to dependency list in "getting started" section. Fixes #5.
<_whitenotifier-3> [scopehal-docs] azonenberg closed issue #5: System requirements missing 'libyaml-cpp-dev' - https://git.io/JvidL
gruetzkopf has quit [*.net *.split]
apo has quit [*.net *.split]
gruetzkopf has joined #scopehal
apo has joined #scopehal
<_whitenotifier-3> [scopehal] azonenberg pushed 1 commit to master [+2/-0/±2] https://git.io/JviFw
<_whitenotifier-3> [scopehal] azonenberg a002044 - Initial implementation of MockOscilloscope. Fixes #90.
<_whitenotifier-3> [scopehal] azonenberg closed issue #90: Add mock scope for testing / demonstration - https://git.io/Jv8Jz
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±2] https://git.io/JviFr
<_whitenotifier-3> [scopehal-apps] azonenberg faddf97 - Added offline file loading. Basic file load/save functionality is now complete. Fixes #3.
<_whitenotifier-3> [scopehal-apps] azonenberg closed issue #3: File I/O support - https://git.io/JviFo
<_whitenotifier-3> [scopehal-cmake] azonenberg pushed 1 commit to master [+0/-0/±3] https://git.io/JviFK
<_whitenotifier-3> [scopehal-cmake] azonenberg 3ee33c8 - Updated submodules with file load/save support (no docs yet)
<azonenberg> ok, now to make a demo file and have somebody else try opening it - the real test
bvernoux has quit [Quit: Leaving]
* zigggggy raids azonenberg's fridge
<azonenberg> ok this miiight be a little big for a demo...
<azonenberg> 10 waveforms * 2 chans * 1M points * 20 Gsps is 420 MB on disk...
<azonenberg> interestingly it's serializing all channels, even those not enabled. Which is a waste of space
<azonenberg> And loading of some protocol decodes is failing horribly. Time to figure out why
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3] https://git.io/Jvibp
<_whitenotifier-3> [scopehal-apps] azonenberg 56a0310 - Fixed several bugs related to file serialization. Added load support for protocol decoders.
<_whitenotifier-3> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/JviNY
<_whitenotifier-3> [scopehal] azonenberg 768a0cd - ProtocolDecoder: fixed parsing bug for fractional-SI integers (e.g. 1.5M as int)
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±4] https://git.io/JviNO
<_whitenotifier-3> [scopehal-apps] azonenberg c7da605 - Protocol analyzers now properly load when opening files
<_whitenotifier-3> [scopehal-cmake] azonenberg pushed 1 commit to master [+0/-0/±2] https://git.io/JviN3
<_whitenotifier-3> [scopehal-cmake] azonenberg aea59af - Updated submodules with file parsing fixes
<azonenberg> oops
<azonenberg> monochroma / lain: try compiling latest glscopeclient and opening that file
<azonenberg> (glscopeclient example.scopesession)
<azonenberg> you'll have to untar it yourself, currently no support for opening compressed save files
<azonenberg> anybody else, feel free to test and report issues too
<azonenberg> Well, now that my big sprint for the weekend is over, anybody have ideas on what my next dev priority should be?
<_whitenotifier-3> [scopehal] azonenberg closed issue #94: Improve handling of connection strings - https://git.io/Jvga9
<azonenberg> At this point i'm debating shifting gears back to hardware and starting work on AFE design for the entry level scope
<adamgreig> azonenberg: connecting to antikernel.net on ipv6 seems to hang, ok on v4
<adamgreig> loading the session does seem to work though
<azonenberg> hmm my server can hit the internet fine via ipv6
<azonenberg> let me check firewall rules
<azonenberg> adamgreig: interesting apparently i never had an exception for inbound https to that box
<azonenberg> only on v4
<azonenberg> try now?
<adamgreig> yea works ok now
<adamgreig> ipv6 eh :p
<azonenberg> asan is finding a memory leak when loading files, havent figured out what's causing it yet
<azonenberg> so that's a todo at some point. let me file a ticket
<_whitenotifier-3> [scopehal-apps] azonenberg opened issue #81: ASAN reports memory leak after opening files - https://git.io/JviNj
<_whitenotifier-3> [scopehal-apps] azonenberg labeled issue #81: ASAN reports memory leak after opening files - https://git.io/JviNj
<_whitenotifier-3> [scopehal-apps] kbeckmann opened issue #82: Crash after failing to reconnect to an unavailable scope when loading a session - https://git.io/JviAe
alexhw_ has joined #scopehal
alexhw has quit [Ping timeout: 258 seconds]
<_whitenotifier-3> [scopehal-apps] kbeckmann opened issue #83: glscopeclient: Crash when trying to load a scopesession that doesn't exist - https://git.io/Jvix5