arduino-plotter icon indicating copy to clipboard operation
arduino-plotter copied to clipboard

Listener opens just a grey screen

Open Nicolaslarag20 opened this issue 3 years ago • 5 comments

Hi, just found out your code. It seems awesome! The only issue is that it doesnt work for me.

I'm using a Windows 10 machine with Arduino IDE 1.8.13 and an arduino uno.

At first I thought that I was messing something up on my code, but then i tried using the "quick_start" example and its the same. The listener exe opens but I can only see the whole window in a light grey color. Tried running it as an admin and nothing changes.

I unistalled my java and then reinstalled and nothing.

Thanks!

Captura de pantalla 2021-04-16 141415

Nicolaslarag20 avatar Apr 16 '21 19:04 Nicolaslarag20

I`m currently having the same problem here, did you find a solution yet?

Badkast avatar May 15 '21 18:05 Badkast

@Nicolaslarag20 @Badkast are you able to see text in the arduino debugger output?

devinaconley avatar Sep 25 '21 23:09 devinaconley

Go and see issue #38 and the work around I suggested. Rebuild the project with the 'java embeded' option ticked. There is an issue with the serial port between processing and java making the app crash if not run on the same PC they were built on.

phdv61 avatar Sep 26 '21 09:09 phdv61

Open .pde file in the listener directory with processing. It will say to put that file in a folder named listener before exporting, just click "ok" and then cut graph and listener (java files) to that folder where .pde file is put by the processing application. Then in processing application go to file -> export -> check "java embedded" and then export. The app should appear in a newly build directory (in my case its name is application.windows ). run the newly built listener.pde file there and this time it should work.

khanasif786 avatar Oct 11 '21 13:10 khanasif786

One addition to above These steps does not work for processing V4 and I guess you don't have listener.java anymore. Try steps with Processing V3 and ignore listener.java then it works.

leCandas avatar Feb 06 '22 10:02 leCandas