azonenberg changed the topic of #scopehal to: ngscopeclient, libscopehal, and libscopeprotocols development and testing | https://github.com/ngscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi has quit [Ping timeout: 272 seconds]
Degi has joined #scopehal
balrog has quit [Ping timeout: 260 seconds]
<d1b2> <rapzak_> found the issue i had with channels still linked.. the remotebridge do not work with streams:
balrog has joined #scopehal
<d1b2> <azonenberg> Oh. yeah none of the currently implemented bridge scopes have more than one stream on a channel so that would make sense
<d1b2> <azonenberg> you'll have to override those methods and extend the protocol for your scope
<d1b2> <azonenberg> or well,. not even extend the protocol since all of the range stuff is done clientside
<d1b2> <azonenberg> but if there's instrument config to do too that will need a protocol extension
<d1b2> <azonenberg> the remote bridge protocol now is basically the common features of the Digilent, ThunderScope, and PicoScope drivers
<d1b2> <rapzak_> yearh i have overwritten the functions an seems to work... i may consider skip the remotebridge...
<d1b2> <azonenberg> yeah there's absolutely no requirement to use that class it's just a convenience helper for network-attached custom scopes since we used so much of the same features in each driver
<d1b2> <azonenberg> if your instrument is significantly different in feature set it may not buy you much
<d1b2> <rapzak_> i gave me a lot learning
<d1b2> <rapzak_> together with the tiny vna driver for stream
<d1b2> <azonenberg> (in fact i think we started with separate drivers for pico and digilent then i combined the copy-pasted code and refactored into a base class)
<d1b2> <rapzak_> starts to look cool.... i do still think i have some issues... like the power is not correclt made...
<d1b2> <rapzak_> if the offset input from the device always is 0... does it mean it can not be moved in the graph (up/down)?
<d1b2> <rapzak_> will i then have to add/sub the offset on the input stream
<d1b2> <rapzak_> seems the hardware offset and screen offset is the same
<d1b2> <azonenberg> correct, hardware and display offset are the same. there's been some talk of decoupling them
<d1b2> <azonenberg> but making that work well in the UI would be nontrivial
dingwat has joined #scopehal