viper
C# noob, trying to do a GUI app with a background service
Hello, what I am trying to do is:
- Have a background connection to KSP (game) through a RPC library.
- Plot live data coming from the connection
I've used the WPF template from Rider, as it is the first one to choose from. At the moment I am trying to figure out how to have this background thread that updates the graph (using ScottPlot)
This main loop is here: https://github.com/viperML/KspAutopilot/blob/2ad64786e8dd1bdb6457bf0b4e278b40b76b191e/MainWindow.xaml.cs
Right now it "works", but closing window crashes with:
Feel free to recommend any alternative to WPF or ScottPlot, as I just wanted to try the language as an alternative to python/matplotlib
129 replies