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
Degi_ has joined #scopehal
Degi has quit [Ping timeout: 240 seconds]
Degi_ is now known as Degi
<_whitenotifier> [scopehal-pico-bridge] glscopeclient added user azonenberg - https://github.com/azonenberg
<_whitenotifier> [scopehal-pico-bridge] azonenberg pushed 4 commits to master [+1/-0/±7] https://github.com/glscopeclient/scopehal-pico-bridge/compare/09eb3b79123e...e8d30534fc38
<_whitenotifier> [scopehal-pico-bridge] azonenberg 6b85023 - Minor cleanup, added thread names for debugging
<_whitenotifier> [scopehal-pico-bridge] azonenberg c2db9bc - Merge branch 'master' of github.com:glscopeclient/scopehal-pico-bridge
<_whitenotifier> [scopehal-pico-bridge] azonenberg 176a571 - Updated copyright year
<_whitenotifier> [scopehal-pico-bridge] azonenberg e8d3053 - Added initial scpi-serve-rtools submodule and linker configuration. No actual refactoring done yet.
<_whitenotifier> [scpi-server-tools] azonenberg pushed 1 commit to master [+0/-0/±3] https://github.com/glscopeclient/scpi-server-tools/compare/9d3266401dc8...32a4cc1c6611
<_whitenotifier> [scpi-server-tools] azonenberg 32a4cc1 - OnQuery() now returns a bool
<_whitenotifier> [scopehal-waveforms-bridge] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal-waveforms-bridge/compare/7198cfab696b...835f8f16917f
<_whitenotifier> [scopehal-waveforms-bridge] azonenberg 835f8f1 - Updated submodules
<_whitenotifier> [scopehal-pico-bridge] azonenberg pushed 1 commit to master [+2/-1/±4] https://github.com/glscopeclient/scopehal-pico-bridge/compare/e8d30534fc38...487c940246bd
<_whitenotifier> [scopehal-pico-bridge] azonenberg 487c940 - Refactored to use scpi-server-tools
<azonenberg> @louis ok i think the pico bridge is mostly refactored to this point
<azonenberg> and i'm already finding API changes i want to make
<azonenberg> let me know when you have your bridge updated and we'll regroup to discuss
monochroma has quit [*.net *.split]
monochroma has joined #scopehal
bvernoux has joined #scopehal
kbeckmann has quit [Remote host closed the connection]
kbeckmann has joined #scopehal
mxshift has quit [Ping timeout: 250 seconds]
sorear has quit [Ping timeout: 250 seconds]
sorear has joined #scopehal
mxshift has joined #scopehal
<_whitenotifier> [scopehal-apps] azonenberg opened issue #408: Headless benchmarking tool - https://github.com/azonenberg/scopehal-apps/issues/408
<_whitenotifier> [scopehal-apps] azonenberg labeled issue #408: Headless benchmarking tool - https://github.com/azonenberg/scopehal-apps/issues/408
<_whitenotifier> [scopehal-apps] azonenberg edited issue #408: Headless benchmarking tool - https://github.com/azonenberg/scopehal-apps/issues/408
<d1b2> <louis> @azonenberg RE: server-tools, here's a first stab at command interfaces: c++ virtual void Start(bool oneShot = false); virtual void ForceTrigger(); virtual void Stop(); virtual void EnableProbeEnabled(size_t chIndex, bool enabled); virtual void SetProbeCoupling(size_t chIndex, const std::string& coupling); virtual void SetProbeRange(size_t chIndex, double range); virtual void SetSampleRate(uint64_t rate_hz);
<d1b2> virtual void SetSampleDepth(uint64_t depth); virtual void SetTriggerDelay(uint64_t delay_fs); virtual void SetTriggerSource(size_t chIndex); virtual void SetEdgeTriggerLevel(double level); virtual void SetEdgeTriggerEdge(const std::string& edge);
<d1b2> <louis> The other item is that we are exchanging sample rates as fs/sample on the wire, but producing and consuming them both in Hz; is there any reason for that or can we get rid of the fs/sample<->Hz conversion at both ends?
<d1b2> <louis> Err, here: c++ virtual void Start(bool oneShot = false); virtual void ForceTrigger(); virtual void Stop(); virtual void SetProbeEnabled(size_t chIndex, bool enabled); virtual void SetProbeCoupling(size_t chIndex, const std::string& coupling); virtual void SetProbeRange(size_t chIndex, double range); virtual void SetSampleRate(uint64_t rate_hz); virtual void SetSampleDepth(uint64_t depth); virtual void
<d1b2> SetTriggerDelay(uint64_t delay_fs); virtual void SetTriggerSource(size_t chIndex); virtual void SetTriggerTypeEdge(); virtual void SetEdgeTriggerLevel(double level); virtual void SetEdgeTriggerEdge(const std::string& edge);
<d1b2> <louis> Could enum-out coupling, edge, trigger types if we wanted to.
<azonenberg> And well, there are conversions in all of the drivers because waveforms work in fs/sample
<azonenberg> but the gui works in hz
<azonenberg> hz over the wire does make more sense though i think
<azonenberg> Triggers get fun because there's so many types. we can include some common types in the base class
bvernoux has quit [Read error: Connection reset by peer]
<d1b2> <louis> Do you want me to add those to BridgeSCPIServer and refactor the sigrok into them, or do you want to set up the API?
<d1b2> <louis> I've been fixing that off-by-a-few-samples trigger timing bug in the DSLogic. Did the 1+ sample trigphase offset as suggested.
<d1b2> <louis> Before and after 🙂
<azonenberg> @louis: awesome
<azonenberg> I have no pending un-pushed changes
<azonenberg> I think those APIs look decent for now
<azonenberg> Feel free to go apply them on your end then i can read through everything when you're done
<azonenberg> Related: I am planning to build a little test board soon
<azonenberg> It's going to use a DS125DF111 10gbit retimer as a differential PRBS genenerator
<azonenberg> including some single ended and differential test points and SMA outputs
<azonenberg> and programmable equalization etc
<azonenberg> So i can slap a stm32 on it and have a simple uart and/or push button based UI to create serial stimulus waveforms of various types
<_whitenotifier> [scpi-server-tools] 602p forked the repository - https://github.com/602p