arduino / arduino-serial-plotter-webapp

arduino-serial-plotter-webapp
GNU Affero General Public License v3.0
4 stars 8 forks source link

Mark interesting lines #21

Open vasco65 opened 4 years ago

vasco65 commented 4 years ago

Hi,

Serial plotter is a handy tool, however I found a situation where I need a way to mark the line I want to be plotted, all the others should be ignored. In this case I cannot avoid the other lines to be printed, I'm writing a program that puts the ESP8266 to deep sleep, however, while the Atmel crowd just continues executing the next instruction when it wakes up the ESP8266 'reboots', and while rebooting there is no way (that I know) to stop them writing a few lines to Serial. Even with settings Debug Port: Disabled and Debug Level: None every time my board wakes from deep sleep I got this on Serial

11:59:38.222 ->  
11:59:38.222 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
11:59:38.222 -> 
11:59:38.222 -> load 0x4010f000, len 3456, room 16 
11:59:38.262 -> tail 0
11:59:38.262 -> chksum 0x84
11:59:38.262 -> csum 0x84
11:59:38.262 -> va5432625
11:59:38.262 -> ~ld
11:59:38.262 -> V2
11:59:38.262 -> Mo
11:59:38.422 -> 98614.63

I only want to plot the value in the last line, of course. So, I'd like to have an option to have to mark a line as 'interesting' in order for it to be plotted. Something like 2 specific chars at the beginning of the line, something that I could choose that I know it does not come up in other lines.

thank you

per1234 commented 4 years ago

There is a request for the inverse (mark lines to ignore) here: https://github.com/arduino/arduino-serial-plotter-webapp/issues/28

I realize that proposal wouldn't help with your use case, but I want to link the two related issues, since the discussion in one may provide information relevant to the other.