cncjs / cncjs-shopfloor-tablet

A simplified UI for cncjs optimized for tablet computers in a production (shop floor) environment.
https://cncjs.github.io/cncjs-shopfloor-tablet/src
MIT License
35 stars 29 forks source link

Nothing displayed in the port drop down #8

Closed eciramella closed 5 years ago

eciramella commented 6 years ago

I'm sure it's something I'm doing, but with two pendants loaded (the tiny one for my phone and this one for my rpi touchscreen), the shopfloor one does not show anything in the ports dropdown.

I've successfully connected via the phone pendant and the normal cncjs interface, but for whatever reason, this one shows nothing in the ports drop down.

I'm happy to dig/poke/hack at this, but haven't found anything useful yet.

eciramella commented 6 years ago

I regenerated the boilerplate code for the controller and the app and things seem to be working successfully.

MitchBradley commented 6 years ago

I hardwired the serial port list so it shows only the one connected to my TingG controller. That keeps me from making silly mistakes that cause problems in the shop. Here is a commit that undoes that change, restoring all the serial ports to the menu.

https://github.com/cncjs/cncjs-shopfloor-tablet/pull/6/commits/a22e50ee91f8e5d2df2474eeebc4bf3bfbb72b05

qiwalker commented 5 years ago

Dear Mr. @MitchBradley

can i use this without cncjs sir ? like standalone web aplication

thanks Rizki

MitchBradley commented 5 years ago

You need the server part of cncjs to run the cncjs-shopfloor-tablet user interface. The full cncjs user interface is not necessary. The server can run on a small computer like a Raspberry Pi. In my setup, I have an Arduino Due running g2core firmware, in the same enclosure as a Raspberry Pi Zero W running the cncjs server, connected via wifi to an Android tablet that displays the cncjs-shopfloor-tablet user interface.

qiwalker commented 5 years ago

thanks Mr. @MitchBradley

one more question how to get list of gcode file sir i can find anyting in drop down menu gcode file im sory for my bad english

Regards Rizki