Looking at the ha;_manualtoolchange.py file, I see the following: h = hal.component("hal_manualtoolchange") h.newpin("number", hal.HAL_S32, hal.HAL_IN) h.newpin("change", hal.HAL_BIT, hal.HAL_IN) h.newpin("change_button", hal.HAL_BIT, hal.HAL_IN) h.newpin("changed", hal.HAL_BIT, hal.HAL_OUT) h.ready()
So this tells me what pins are created, the only one I am unsure of is the change_button, can someone explain this one? I know this seems petty, but I am trying to wrap my head around it enough so I can teach a few high schoolers what is going on. Or maybe a little glimpse of how the parts fit and work together. Before I can do that, I need to teach myself. My impression is the hal_manualtoolchange component does the following: a) receives the tool number via hal_manualtoolchange.number pin b) receives a command to change the tool via hal_manualtoolchange.change pin c) The component then opens the dialog informing the user to change to tool #X d) User does the tool change and clicks the okay button. e) the okay button send signal via hal_manualtoolchange.changed am I close? Joe ----- On Apr 4, 2017, at 1:56 PM, Joe Hildreth j...@threerivershospital.com wrote: > Hello all, > > I am looking through the docs and cannot find a man page for the > hal_manualtoolchange userspace component, and only see reference to it in the > HAL Examples section of the doc. Also missing is the man page for the parport > rt module. Who do I need to request for these docs, or is it worth the time? > > Thanks for putting up with me folks! :-) > > Joe > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users