On Thursday 14 November 2013 14:57:19 David Armstrong did opine: > On 14/11/13 15:30, Gene Heskett wrote: > > On Thursday 14 November 2013 10:24:42 Gene Heskett did opine: > >> I recall when I had it work 5 or 6 days ago, that I had a dro display > >> supered over the upper left corner on the image in the backplot > >> screen, but now its missing. > >> > >> Where should I look? > >> > >> Thanks > >> > >> Cheers, Gene > > > > I found this bit of twaddle in Caa3axis.hal > > > > #CamView pins > > #for correct DRO we need to SUBB tool.length_offset from pos-relative > > loadrt sum2 count=3 > > addf sum2.0 servo-thread > > addf sum2.1 servo-thread > > addf sum2.2 servo-thread > > setp sum2.0.gain1 -1 > > setp sum2.1.gain1 -1 > > setp sum2.2.gain1 -1 > > #net sum20in0 halui.axis.0.pos-relative => sum2.0.in0 > > #net sum21in0 halui.axis.1.pos-relative => sum2.1.in0 > > #net sum22in0 halui.axis.2.pos-relative => sum2.2.in0 > > net sum20in1 halui.tool.length_offset.x => sum2.0.in1 > > net sum21in1 halui.tool.length_offset.y => sum2.1.in1 > > net sum22in1 halui.tool.length_offset.z => sum2.2.in1 > > #empty net to have DRO happy > > net sum20out sum2.0.out > > net sum21out sum2.1.out > > net sum22out sum2.2.out > > > > I have not such in my-mill-atom-2.hal, but this looks like a good > > excuse to learn how to write a .hal file using names as mine already > > uses some enumerated sum2.s. Call them dro-X dro-Y dro-Z and dro-A > > maybe. I'll putz with it after a nap. That should give you folks > > time enough to tell me its the wrong tree to bark up. :) > > > > > > Cheers, Gene > > nope your correct Gene , > i'm loosing track where it all is now anyhow ! , brains fry'd to death
So are mine despite cooking in olive oil these days. And, it turned out that my particular setup was not using any sum2 modules, so I added the above, with a 4th axis for my 4" table, and it all shows up in a hal configuration display. But still no dro is overlaid on the camview screen when switched to it in linuxcnc. And I'm about bumfuzzled again. If those who have this working could pm me their camviewcfg files for comparison, I'd sure appreciate it because ISTR I elided a <unit = stanza due to an LCNC stopper error at some point a week or so back. Question: Is it possible to comment out a section of an .xml file? # signs in the first character position of a line seem to be ignored and its a PIMA. Thanks. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Money and women are the most sought after and the least known of any two things we have. -- The Best of Will Rogers A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users