#emc-devel | Logs for 2006-12-29

[03:25:53] <maddash> I'm trying to write my own "GUI" frontend to emc2. All it would do is take a gcode file as one argument and pass along the relevant commands to emc. in writing this frontend, would it work if I simply transplanted the sendProgram* procedures from emcsh.cc?
[03:27:35] <SWPadnos> well, there's a lot to the machine other than g-code
[03:27:53] <SWPadnos> machine on/off, estop on/off/reset ...
[03:28:11] <SWPadnos> execution mode: manual, auto, MDI
[03:28:39] <SWPadnos> you'd also want to use parts of the status buffer to see what's happening
[03:33:18] <maddash> is the "emcWaitType" variable the status buffer?
[03:33:25] <maddash> at least in emcsh.cc?
[03:33:30] <SWPadnos> I'm not sure
[03:33:35] <SWPadnos> it's emcStatus I think
[03:33:36] <jepler> You can turn up the debug level and observe the NML messages that are sent as you use an existing GUI to perform the actions you want
[03:34:01] <maddash> good idea
[03:35:35] <jepler> emcStatusBuffer / emcStatus are the so-called "status buffer"
[03:35:49] <jepler> in emcsh.cc
[03:38:29] <maddash> I notice that those two are not accessed in either sendProgramOpen or sendProgramRun. why not?
[03:38:44] <SWPadnos> emc/NML isn't a "command/response" system
[03:39:08] <SWPadnos> you send commands down channel, and you find out that they were executed by looking at the status
[03:39:36] <SWPadnos> I think you can wait until the command has been sent, or get confirmation that it was received
[03:41:42] <maddash> oh, I see...emcCommandWaitReceived calls updatestatus
[17:38:05] <ve7it> ve7it is now known as LawrenceG
[19:14:01] <cradek> jepler: time to unveil jdi? another person is asking about it now
[19:16:17] <lerneaen_hydra> jdi? ;)
[19:21:02] <jepler> unveiled: http://axis.unpy.net/01167419757
[19:23:13] <cradek> you want to reply on the list or should I?
[19:23:20] <cradek> forget it
[19:31:28] <lerneaen_hydra> neato
[19:31:42] <lerneaen_hydra> nice for low-level use of emc
[19:31:54] <lerneaen_hydra> like a multipurpose axis controller
[19:37:38] <skunkworks> Wow - cool
[19:37:56] <skunkworks> jepler data entry
[19:38:09] <skunkworks> Jepler Data Input
[21:04:46] <SWPadnos> Jepler Did It :)
[21:31:52] <skunkworks> who is this mario guy anyways ;)
[21:32:07] <jepler> no idea
[21:36:38] <cradek> I don't know, but his advice is bad, I corrected him
[21:36:46] <cradek> (politely, I hope)