channel added to the legend but not plotted, crashes upon clicking view all data
Run ndscope H1:PEM-MX_WIND_ROOF_WEATHER_MPH
. Remove the channel from the plot. Add a channel to the plot. Hit start online. Add another channel to the plot. The channel is added to the legend, but is not plotted until hitting stop online and then start online. If you hit view all data before toggling stop online and start online then there is a crash:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ndscope/data.py", line 569, in remote_recv
self.db[trend].extendleft(dbd)
File "/usr/lib/python3/dist-packages/ndscope/data.py", line 233, in extendleft
self.buffers[chan].extendleft(buf)
KeyError: 'H1:PEM-EY_WIND_ROOF_WEATHER_MPH'
Aborted