sgstair_ has joined #scopehal
sgstair has quit [Ping timeout: 246 seconds]
Degi has quit [Ping timeout: 248 seconds]
Degi has joined #scopehal
Zevv has joined #scopehal
<
Zevv>
wow 45 nicks, not bad.
<
Zevv>
lacking a LAN module in my mos-x 3k series, any chance to make this work over the USB device interface of the scope?
<
Zevv>
oh right it just works
<
Zevv>
well that is a pleasant surprise
<
Zevv>
ah *almost*: SCPITMCTransport::FlushRXBuffer is unimplemented
<
Zevv>
ERROR: Waveform preamble length (0) does not match data length (4000)Floating point exception
<
azonenberg>
Zevv: Try running with --debug --trace SCPITMCTransport
<
azonenberg>
see if you can get a log of what it's trying to do
<
Zevv>
I just added an early retorn on preamble length mismatch and now I get some data in
<
Zevv>
I think the logic on SCPITMCTransport ReadReply might not be sound for my scope
<
azonenberg>
search tickets
<
azonenberg>
i think there is a known quirk around certain buffer sizes
<
azonenberg>
you might be impacted by that?
<
Zevv>
nah I found that in the code and played with that a bit, but that doesn't seme to be my issue
<
Zevv>
so either my scope sends a short answer, or the logic for determining end-of-message hits prematurely
<
Zevv>
I get '+0' on some wave form preambles only
<
Zevv>
i don't get the gist on this `m_data_depleted` yet
<
azonenberg>
ok i didnt write that bit so can't help, let me know if you figure it out
<
Zevv>
i'll fiddle around a bit. It seems the logic assumes that all data for the response will come in in one chunk, but it doesnt.
<
azonenberg>
yeah i think that is exactly the case
<
Zevv>
yeah but there's just newlines there to chunk on right
<
azonenberg>
this may be related
<
Zevv>
sounds like its related yes, unfortunately no logging or traces in the ticket
<
Zevv>
haha this 150Mb staging buffer
<
azonenberg>
yeah there's some ugly hacks there that need to get improved at some point
<
azonenberg>
i didnt write the code, i didn't like it, but it was better than not working at all :p
<
Zevv>
is there a way to make my scope connect and start without me clicking through the gui every time?
<
Zevv>
it's in the list when i do 'add oscilloscope', but I still need to go click there every time i run
<
azonenberg>
you mean have it auto reconnect on startup?
<
azonenberg>
not currently. file a ticket and we'll think about a way to make that work
<
azonenberg>
(i have a lot of hardware and usually every time i start ngscopeclient i'm using something different from last time lol)
<
Zevv>
i'm just not a gui/mouse kind of guy.
<
Zevv>
well i replaced this with the most trivial of code which works for me ™
<
Zevv>
why is 'filter graph' grayed out in the window menu
<
Zevv>
well, this is nice stuff. friendly code base to work with