I'm sorry about the level of this question, but is it possible to use a Serial Monitor in the PLC IDE in the same way as the standard Arduino IDE? I am using a Portenta Machine Control and it would be helpful to monitor some of the variables in the sketch in a serial monitor.
Hello!
You can use the Watch Window and the Oscilloscope.
Here is how they look like:
To enable them go to View -->Tool windows --> Watch/Oscilloscope.
Have a nice day!
Hi and thanks for the reply! I am aware of the Watch Window, however, this will not work directly with variables in the sketch. I have tried to use "Shared variables", but I find it hard to do simple debugging of the sketch itself doing it this way.
Sorry this isn't an answer to your question. But I would like to use Serial.print statement and see the output in a serial monitor within PLC IDE, please. When debugging a sketch.
I have not found any serial in PLC IDE however I just open Arduino IDE and open the serial monitor there and vola you can se your serial.print stuff, just remember to close the serial port before up upload the code otherwise the upload may fail you can only open com port from one place and when you upload it will close the comport that it is connected to and open the second one and upload witch is the one you use in Arduino IDE
I also would like to use edge impulse to monitor inputs and the code requires an executable line that needs to be entered in the serial monitor to work.
Where could this be done?