On Thursday 21 April 2016 01:12:13 [email protected] wrote: > Didn't realize I sent off-list. > > OK, I think I see a key problem, under Hal Meter, > "xhb-hb04.require_pendant = false", although "connected" is true. > > Right in the main .ini: > > [XHC_HB04_CONFIG] > require_pendant = yes > > I tried "true" instead of "yes", no change. > I believe hal treats them equally, but my hand isn't anywhere near a bible.
> [HALUI] for all the MDI_COMMAND stuff is in the main ini file now. It > shows up under the HAL meter- but are always false. I pressed every > button on the mpg. > > The jog.enable-x show true/false when selected. > > So, what I'm seeing is that any button listed inside my xhc-hb20.hal > file works fine. But all the [HALUI] and [XHC_HB04_BUTTONS] stuff is > inactive. > > > Danny The one file tha is part of my setup that didn't get posted, is campins.hal which I believe shows how the HALUI stuff is connected to the system. Yous obviously will be different, but this will show how much of that stuff is done on my machine: ===================SOF================= #CamView pins loadrt oneshot names=forOn,forOff addf forOn servo-thread addf forOff servo-thread setp forOn.width .1 setp forOff.width .1 setp forOff.falling 1 setp forOff.rising 0 net forOnNet <= camview.hal_checkbutton1 => forOn.in forOff.in net cam1 <= forOn.out => halui.mdi-command-00 net cam2 <= forOff.out => halui.mdi-command-01 net cam3 <= camview.hal_button1 => halui.mdi-command-02 net cam4 <= camview.hal_button2 => halui.mdi-command-03 net cam5 <= camview.hal_button3 => halui.mdi-command-04 =================EOF================= which shows how those 6 pyvcp buttons are "net"ed, hooking them up to mdi functions. The <= and => symbols above are mostly ignored by hal, but they help you keep track of where the signal comes from to get to the net "name", and where its sent from that net name" To get any closer, the rest of the list, and there are far more experienced people here than I, we'll have to see this mythical xhc-hb04 file. How it uses the layout2 argument and all. [...] 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) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
