i downloaded XY-Plotter-2.0-master and when i run Gremte.cmd a windows open and close who says vrsion off java is incorrect. My Os is Windows seven is 32 bits.i tried in other computer with Windows seven 64 bit and it wok fine.could you give a good version java for 32 bits.
Gremote.cmd doesnt start
No response? Does that mean i have to buy 64bit PC or is there any cheaper version to make this working?
I also saw this problem yesterday and mentioned it in my post about the extra heatsinks. Reading through the forums show that several other people have posted of this problem, but none of them have received a reply. I was able to borrow a 64-bit machine to get my plotter running.
I then looked at running the Gremote,pde using Processing, which could offer a way of running on a 32-bit machine. However, there is a problem in that the Processing software stops with a report that the ControlFont constructor is unknown. I suspect from my initial look through the source code that an addition is needed to the ControlP5 library to define a font. I searched all the other pde files and the library itself and was not able to find any other references to fonts.
The quickest solution to this would be to remove the 64-bit java portion in the bin folder and substitute a 32-bit java, which I will try later on this week.
Solved as anticipated, by ignoring the supplied 64-bit java and using the installed 32-bit java. Here is how I did it.
1 Opened Windows Explorer, checked C:\program files, found java, beneath which were two directories for jre6 and jre1_5_0_02
( if you haven’t got java you are going to have to download and install it)
2 Started a command window by run cmd - typed in java and saw it responded
3 Plugged Orion board into lower front USB, checked it showed signs of life.
4 Started Control Panel - System - Hardware - Device manager, looked under ports and saw Makeblock at COM16
5 powered up Stepper supply
6 edited GRemote.bat as follows
comment out cd /java/bin
altered the paths in the following line to replace two instances of …/…/ with ./
Save changes
7 Run GRemote.bat
Success
(IGNORE However, this is not yet a full solution because now the servo emits a whistling noise and the keys do not move the steppers, and the blue LED on the Orion board is flashing, so there may be a java library difference, or the jar files need converting. I will investigate further.)
ETA - the problem was that there is a file setting.ini which is looked for under the path GRemote.app/Contents which is needed. I cheated and copied the file from the Windows 64 machine and placed it so that there was a GRemote.app folder in the GRemoteFull folder, with the Contents inside it and then the setting.ini file in that, and now I can run the GRemote program successfully under Windows XP 32-bit.
For those people who don’t have a 64-bit machine to cheat as I did, I think creating the GRemote.app folder. then the Contents folder, then running the program and manually making and saving the settings shown in the picture might work.
Is this right?
@echo off
for %%i in (%0) do set aa=%%~dpi
cd /d %aa%
C:\Program Files\Java\jre1.8.0_31
java -Djava.ext.dirs=**./lib -Djava.library.path=./**lib GRemote
echo %aa%
It opens Gremote now, but in CMD says C:\Program is not recognised as an internal or external command, operable program or batch file
and
ControlP5 2.0.4. … libraries/controlP5
Try removing the C:\Program files\Java\jre part, so the line simply says
java -Djava.ext.dirs=./lib -Djava.library.path=./lib GRemote
Or, if you have to put a full path in, you are going to have to enclose the path in double quotes.
Also, I suggest you create a folder GRemote.app in the same folder that the bat file is in, in the new folder create a folder called Contents, and see if the program will start up and allow you to enter the figures shown in the picture, and then save them to it.
Try removing the C:\Program files\Java\jre part, so the line simply says
java -Djava.ext.dirs=./lib -Djava.library.path=./lib GRemote
I did, C:\Program is not recognised is gone but im stuck with ControlP5 2.0.4. … libraries/controlP5
Also, I suggest you create a folder GRemote.app in the same folder that the bat file is in, in the new folder create a folder called Contents, and see if the program will start up and allow you to enter the figures shown in the picture, and then save them to it.
I did this earlier and gave me setting.ini is missing than I copy/paste from 64bit Java / bin, results ControlP5 2.0.4. … libraries/controlP5
You say GRemote now runs, do you get the window with green and black and the dropdown to choose the port?
OK, in that case it is waiting for you to click on the port number to choose it, after you do that, assuming the board is all connected and powered up, it should run, so click on the COM8 and you should see things come to life.
I was looking at the code differences between the Orion software the links tell you to download, and the master software in GitHub, and the difference in the code is that the GitHub version looks at the OS and if it recognises Windows, it looks for the setting.ini file in a different location, so tomorrow I will try running the latest GitHub code, and see if I need to revise anything I have written.
On the picture you can see, that i already clicked on com 8 and it doesnt give me the commands, just one green line.
I would expect this to happen, this is from manual.
Yes, that is how it is working on my setup.
You have run the Gcodeparser.ino first to make sure your comms to the motherboard work?
Great.
I experimented further today with using the software from the Github. It has some differences, notably the java source now looks for the setting.ini file in a different location if the operating system is detected as starting with “Win”.
To run with 32-bit OS using the altered batch file I found I had to move the file setting.ini to the same folder as the batch file.
I also found that the setting .ini file in the GitHub release is wrong, it makes the servo whistle and nothing else works. Internally it is also a different format with integers in the last three entries instead of floats. Substituting the setting.ini file that I knew worked cured the problem.
ETA - the Arduino files seem to be faulty as well as the setting.ini, I had to initialise the board using the gcodeparser.ino file that is in the Orion download. So I no longer know what the purpose of the GitHub software is, it certainly isn’t the current release.
For my next trick, I hope to get the processing software to run.
How Run Gcodepaser.ino???
I am working in a laptop 64 bits So I assumme that doesnt have to change but I have the same problem as Hendrix that only shows me a green square. So I dont undestand how to run Gcordeparser.ino!
Please help me
Thanks