I am new to this forum and am looking into some guidance on an issue I'm facing. I'm using arduino IDE 1.8.9 on a raspberry pi model B. I have my program run on startup using the rc.local file, but it runs the program in the background. I would like a way to see the serial plotter as it displays information important to the user. Is there a way I can get it to display serial plotter on bootup?
The Serial Plotter has to know about the serial port to which it should connect, which is known only to the IDE (after compilation).
And what is "my program"?
You may get better answers in a RasPi forum, dedicated to your OS.
The hacky way to do it would be to create a script that starts the Arduino IDE, waits until it's open, then emulates the Ctrl + Shift + L keyboard shortcut to open the Serial Plotter.
I don't know whether it is possible to do that in a non-hacky way, or to open the Arduino IDE's Serial Plotter by itself.
You might want to look into whether there is a standalone equivalent application. One possibility is this:
https://bitbucket.org/hyOzd/serialplot/src/default/
Thank you both, I did consider posting on the raspberry pi forums but figured people here would have more knowledge on the properties of the Arduino IDE. I will try to use the standalone plotter and get back to you on its progress. Again thank you both for your responses.
I don't have an Arduino on a Linux machine in front of me to try this out, but, assuming the serial plotter runs as a separate executable and task, you should be able to start it up manually, then do "ps -ef" from a terminal window and see the task and its startup parameters. Then shut down the plotter and IDE and try to start from the command line.
I used the command and had no luck, but found it uses the file dev/ttyAMC0 and I read into tty files and opeing them from boot and they seemed to be very unusual and weird things in general. Thank you for your help nonetheless.