On Sat, Nov 9, 2013 at 4:02 AM, Gene Heskett <ghesk...@wdtv.com> wrote:
> Greetings; > > It appears that /usr/bin/halui has never been edited and rebuilt since a > long time back. > > When the camview-emc stanza for [HALUI] is added to the ini file, I am > getting a whole raft load of errors because halui can't find stuff it is > apparently hard coded for, starting with the use of the "emc" naming > convention. > > Is there a fix? Or, since I don't know where this file comes from, is it > camview-emc's responsibility? > Gene: I'm bewildered (nothing new!) so maybe I'll learn something here. The userland component halui is rebuilt from src/emc/usr_intf/halui.cc every time LinuxCNC is rebuilt from sources. Maybe it hasn't been edited recently because it hasn't needed any modification. This source file and the associated man page state in similar ways that halui exports various UI related hal pins and communicates with EMC through NML messages. To quote the man page, "halui.mdi-command-XX bit in halui looks for ini variables named [HALUI]MDI_COMMAND, and exports a pin for each command it finds. When the pin is driven TRUE, halui runs the specified MDI command. XX is a two digit number starting at 00. If no [HALUI]MDI_COMMAND variables are set in the ini file, no halui.mdi-command-XX pins will be exported by halui." The docs section on INI Configuration say the same thing about [HALUI] in considerably less detail. What bewilders me is how a "camview-emc" stanza fits into [HALUI]. Is that described somewhere? Inquiring minds want to know. You see, I've got all these cams sitting around.... Regards, Kent ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users