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
<_whitenotifier-4> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/ngscopeclient/scopehal/compare/e8431accaaa4...cceb6569e384
<_whitenotifier-4> [scopehal] azonenberg cceb656 - RGBLEDDecoder: added brightness scale parameter
<_whitenotifier-4> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/ngscopeclient/scopehal/compare/cceb6569e384...4a029d9b151f
<_whitenotifier-4> [scopehal] azonenberg 4a029d9 - RGBLEDDecoder: now a PacketDecoder
_sgstair is now known as sgstair
Degi has quit [Ping timeout: 252 seconds]
Degi has joined #scopehal
<_whitenotifier-4> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/ngscopeclient/scopehal/compare/4a029d9b151f...f7ee4c056054
<_whitenotifier-4> [scopehal] azonenberg f7ee4c0 - RGBLEDDecoder: added GetScale() accessor
<_whitenotifier-4> [scopehal-apps] azonenberg pushed 3 commits to master [+0/-0/±10] https://github.com/ngscopeclient/scopehal-apps/compare/8421c6684247...c71bc9fc2bee
<_whitenotifier-4> [scopehal-apps] azonenberg 69dd580 - Began work on support for video output in image columns
<_whitenotifier-4> [scopehal-apps] azonenberg f207d18 - TextureManager: added upsample nearest neighbor capability
<_whitenotifier-4> [scopehal-apps] azonenberg c71bc9f - Added scanline protocol analyzer display. Fixes #619.
<_whitenotifier-4> [scopehal-apps] azonenberg closed issue #619: Implement scanline color rendering in protocol analyzer - https://github.com/ngscopeclient/scopehal-apps/issues/619
<_whitenotifier-4> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/ngscopeclient/scopehal-apps/compare/c71bc9fc2bee...e0dd8c5ace44
<_whitenotifier-4> [scopehal-apps] azonenberg e0dd8c5 - Fixed bug where images for scanlines weren't marked as used in the current frame
<_whitenotifier-4> [scopehal-apps] bvernoux commented on issue #748: Copy DLLs needed to run ngscopeclient.exe as part of the build process - https://github.com/ngscopeclient/scopehal-apps/issues/748#issuecomment-2490324787
anuejn has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
vup has quit [Quit: vup]
anuejn has joined #scopehal
vup has joined #scopehal
<dingwat> would someone kindly remind me where ngsc stores configured instruments and other things? i.e. what do I need to delete to "reset"
<azonenberg> dingwat: On linux that's normally ~/.config/ngscopeclient. under windows probably somewhere under appdata but i cant remember
<azonenberg> there's three plain text files: recent.yml is recent instruments, recentfiles.yml is recent sessions, preferences.yml is settings
<dingwat> ugh I hate windows search. Thankfully Everything exists. Windows is "AppData/Roaming/ngscopeclient"
<dingwat> azonenberg: I'm running ngsc with --debug and can consistently provoke a crash, and I don't get any messages in the console. Is there an additional level of logging that I can enable?
<azonenberg> dingwat: not globally. there's --trace but this is filtering by extra logging from a specific class since it's far too bloated to log everything
<azonenberg> e.g. --trace TextureManager or --trace MainWindow
<azonenberg> you can add as many --trace arguments as you want to trace a couple of glasses
<azonenberg> classes*
<azonenberg> otherwise if you get me a stack trace i can look int oit
<azonenberg> do you have reproduction steps i can try on my end?
<dingwat> Well, it might be specific to the agilent driver. Basically, when I connect to a scope in roll mode, I get a flood of messages 'Unknown trigger type "NONE"' which makes sense. But when I try to change the trigger to "Edge", it freezes and then crashes
<azonenberg> then there's probably not going to be any useful trace output
<azonenberg> my guess is that you're desyncing from the command stream
<azonenberg> we don't currently support roll mode and i have no idea what the actual data transfer looks like there
<azonenberg> but it's probably sending back data in a way that we don't understand and reading too few / too many samples
<azonenberg> just a guess
<azonenberg> but figure out where it crashes first
<dingwat> hmm, now that I'm thinking about it, I'm guessing it's crashing because it's trying to set Edge trigger when the scope is in a state that Edge trigger cannot be set
<dingwat> I should probably just not be in roll mode lol
<dingwat> but a hard crash with no logs isn't ideal
<azonenberg> i mean yes, that's obviously what's happening
<azonenberg> the question is what the failure mode is and how can we error out cleanly rather than segfaulting :p
<dingwat> yarp
<azonenberg> Which will take more investigation
<dingwat> much less importantly, windows cmd doesn't support ansi color sequences. sadge
<azonenberg> At some point we can look at adding support for windows color stuff as a LogSink
<azonenberg> I remember playing with it years ago, windows does have APIs for coloring in cmd.exe
<dingwat> yeah, not a big deal, but it does muddy up the console output on Windows for sure
<azonenberg> which is apparently getting deprecated? i guess you're supposed to use powershell now maybe
<azonenberg> well as a minimum
<dingwat> oh hmm. I guess that would make sense
<azonenberg> we should not try to use ansi escape sequences on unsupported terminals
<azonenberg> try running in powershell and see if you get proper coloring
<azonenberg> there's probably a way to tell which you're running under
<azonenberg> or actually it looks like we need to do this
<azonenberg> ENABLE_VIRTUAL_TERMINAL_INPUT
<azonenberg> this may be done automatically under powershell idk
<dingwat> heh. It still doesn't work on powershell. At least, with whatever settings I have for powershell, maybe I need to set some stuff
<azonenberg> File a ticket against logtools so we at least have this as a todo
<gurki> also test whatever youre doing with ps within windows terminal
<gurki> it behaves differently at times
<dingwat> gurki: uh, maybe a dumb question, is windows terminal different than powershell and cmd?
<dingwat> oh is that the new thing that WSL uses?
<gurki> windows terminal is another xterm or gnome terminal to bash
<gurki> it can run both cmd and ps underneath
<dingwat> gotcha. Ok, will do
<gurki> yes it can also run your wsl
<gurki> :)
electronic_eel has quit [Quit: No Ping reply in 180 seconds.]
electronic_eel has joined #scopehal