On Wednesday 24 March 2021 23:02:16 Jon Elson wrote: > Hello, > > I have a gadget I put together for a project at work, beagle > bone and Machinekit. > It is a one-axis linear positioner. I only need to move to > the correct positions for > 4 samples. So, the G-code is something like : > > G1 F25 X1 > > Where the number after the X will be 0,1,2,or 3. > > I already have a pyvcp on it. I'd like to add buttons > marked 1, 2, 3 and 4, and when the user clicks > one, the G-code is fed to the interpreter and run. I know > people have discussed doing things > like this before, but I'm a little vague on how to do it. > > Thanks, > > Jon > See the HALUI docs Jon, then I'd probably make pyvcp buttons, I've done similar to that for the align and campy kits. Make the machine move so the camera is at the spindle position when the camera is being used as an edge finder, then back to the normal position once the alignment has been done. Haven't used it a lot, haven't found a really good camera yet. > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users
Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users