cchisholm
Posts: 84
Joined: Sat Mar 07, 2015 4:47 pm

CNCjs install on Rp3 problem

Tue Feb 13, 2018 2:12 pm

The last several days have been spent trying to get CNCjs to run. I've had to re-install the os several times, swap out SD card and finally after a couple days of this, I thought it had installed correctly and I tried to run it for the first time ....
pi@pcb1:~ $ cnc -H 192.168.0.210
2018-02-13T14:01:56.079Z - info: init Loading configuration from "/home/pi/.cncrc"
2018-02-13T14:01:57.138Z - info: init Starting the server at http://192.168.0.210:8000
...and it never went any further. After about 20 minutes, I Ctrl-C'ed out of it and tried a few more times with the same result.

I'd like to get CNCjs running enough to figure out if that's what I want to use, but I can't get that far. My primary goal is to find software for controlling the tinyG (or GRBL if that doesn't work) on the Rp3. If anyone has successfully installed and ran CNCjs or any other CNC softare, please let me know what you did. I thought building the machine would be the hard part......sheesh!

Thank you in advance for any help you can offer.
Charlie

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: CNCjs install on Rp3 problem

Tue Feb 13, 2018 2:23 pm

Duplicate of recent post

viewtopic.php?f=91&t=204353&p=1270894
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

cchisholm
Posts: 84
Joined: Sat Mar 07, 2015 4:47 pm

Re: CNCjs install on Rp3 problem

Tue Feb 13, 2018 2:27 pm

No sir, this is not a duplicate of the other post. Two different stages of the problem. The first had to do with getting CNCjs installed and the second has to do with a problem after the install. There may be some common points, but they are different questions. Did you read both?

I really need some help so please don't prevent me from asking for it.

Heater
Posts: 15950
Joined: Tue Jul 17, 2012 3:02 pm

Re: CNCjs install on Rp3 problem

Tue Feb 13, 2018 4:27 pm

Looks to me like its running fine.

It leaves you with the start up message:

2018-02-13T14:01:57.138Z - info: init Starting the server at http://192.168.0.210:8000

Which is all I would expect.

Now open up a web browser and point it at the URL it tells you. http://192.168.0.210:8000

Boom you should see the interface in your browser. And perhaps some log messages will appear on the command line you launched it from.
Memory in C++ is a leaky abstraction .

cchisholm
Posts: 84
Joined: Sat Mar 07, 2015 4:47 pm

Re: CNCjs install on Rp3 problem

Tue Feb 13, 2018 6:07 pm

Wow. That was it. Just needed to understand the paradigm. I've done a lot of reading about this in the past few days, but mostly on getting past the installation issues with Nodesjs and CNCjs. Now I can start to learn how the software works. I am a Mach 4 user, so I am pretty sure the differences will be substantial, but you've gotten me back on the road.

Thank you very much.

Charlie

Heater
Posts: 15950
Joined: Tue Jul 17, 2012 3:02 pm

Re: CNCjs install on Rp3 problem

Tue Feb 13, 2018 6:21 pm

My pleasure.

I had never heard of CNCjs before. Looks interesting.
Memory in C++ is a leaky abstraction .

Return to “General discussion”