A simple CNCjs pendant based on a USB 4/6-axis xHB04B-4 Manual Pulse Generator pendant.
After cloning the repository to your work directory, change into this directory and run
npm install
On linux, make sure you have installed the following packages
libusb-1.0-0-dev
libudev-dev
These can be installed with apt-get.
Run bin/cncjs-pendant-LHB04B-4 to start. Pass --help to cncjs-pendant-LHB04B-4 for more options.
bin/cncjs-pendant-LHB04B-4 --help
- To figure out the random socket.io listening port used to communicate with the CNCjs server, select
View in browserfrom theViewmenu - If running on the same machine as the server, the secret key will automatically be extracted from the
.cncrcfile (why is this not.cncjsrc?!?) --listwill list the local serial ports, not the server's serial ports. WTF.
Hotkeys:

