chillibasket/processing-grapher

Reading from the port is not functioning properly.

Closed this issue · 2 comments

Hello! I need help. No matter how much I try, I can't get your program to read data from the port properly. The problem is that, firstly, she does not see any streaming incoming data, and secondly, she cannot even be responsible for the messages that I send through her to the microcontroller (NodeMCU V3 ESP8266). At the same time, everything in the Arduino IDE in the plotter and port monitor works flawlessly. I used the code from the documentation and even tried to run the program through the Processing IDE version that was listed in the documentation. True, if you quickly click on the Connect\Disconnect button, then some data sometimes appears. But it's a one time thing. I also tried to run everything on different computers, but all to no avail.
Screenshot_1
Screenshot_2
Screenshot_3
Screenshot_13
Screenshot_232

The program is working fine for me using an Arduino Uno and also a Teensy 3.6. The issue you are seeing is probably specific to your application using the NodeMCU V3 ESP8266. Here are some things to try in order to figure out what could be causing the problem:

  • If you run the program through the Processing IDE, do any errors appear in the console at the bottom of the IDE?
  • In the Grapher program, click on the settings icon on the top-right and try switching the "Line Ending" option between "New Line" and "Carriage Return". Do either of these options work?
  • In the Processing IDE in the file "ProcessingGrapher.pde", try changing line 218 from final String activeRenderer = FX2D; to final String activeRenderer = JAVA2D;

Closing this thread as I can't replicate the issue and haven't received any more information