On Friday 29 November 2013 04:33:03 Frederic Rible did opine:

> On Thu, 28 Nov 2013 18:10:25 -0500, Gene Heskett <[email protected]>
> 
> wrote:
> > On Thursday 28 November 2013 17:31:26 Frederic RIBLE did opine:
> > 
> > 
> > Can I specify that SUBROUTINE_PATH twice?
> 
> I do not know.
> 
> > HALUI]
> > MDI_COMMAND=o<align-start>call
> > MDI_COMMAND=o<align-y>call
> > MDI_COMMAND=o<align-x>call
> > MDI_COMMAND=o<clear-offset>call
> > MDI_COMMAND=o<_camon>call
> > MDI_COMMAND=o<_camoff>call
> > MDI_COMMAND=o<_camstore>call
> > MDI_COMMAND=o<_camcenter3>call
> > MDI_COMMAND=o<_camcenter4>call
> > 
> > 
> > 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-06
> > net cam2 forOff.out => halui.mdi-command-07
> > net cam3 camview.hal_button1 => halui.mdi-command-08
> > #net cam4 camview.hal_button2 => halui.mdi-command-09
> > #net cam5 camview.hal_button3 => halui.mdi-command-10
> 
> Please modify your HAL commands as below to match your MDI_COMMAND list
> net cam1 forOn.out => halui.mdi-command-04
> net cam2 forOff.out => halui.mdi-command-05
> net cam3 camview.hal_button1 => halui.mdi-command-06
> net cam4 camview.hal_button2 => halui.mdi-command-07
> net cam5 camview.hal_button3 => halui.mdi-command-08

I have now done that, and I have moved the subroutine directory to 
everyplace but the shortstop position, matching it with the 
SUBROUTINE_PATH = ~/gene/linuxcnc/cam.stf> 
directive, and an ls -l of that tree:
gene@shop:~/linuxcnc$ ls -l cam.stf
total 40
-rwxrw-rw- 1 gene gene 202 2013-08-21 14:48 align.ini
-rwxrw-rw- 1 gene gene 265 2013-11-28 11:46 align-start.ngc
-rwxrw-rw- 1 gene gene 592 2013-11-28 11:47 align-x.ngc
-rwxrw-rw- 1 gene gene 595 2013-11-28 11:48 align-y.ngc
-rwxrw-rw- 1 gene gene 881 2010-12-07 17:00 _camcenter3.ngc
-rwxrw-rw- 1 gene gene 580 2010-12-07 17:00 _camcenter4.ngc
-rwxrw-rw- 1 gene gene 229 2010-12-07 17:00 _camoff.ngc
-rwxrw-rw- 1 gene gene 548 2010-12-07 17:00 _camon.ngc
-rwxrw-rw- 1 gene gene 807 2010-12-07 17:00 _camstore.ngc
-rwxrw-rw- 1 gene gene 134 2012-06-14 05:38 clear-offset.ngc

But still I get , even with a chown 0766 to the tree
checking or unchecking the g43h99 box or the Save XYZ buttons
is Unable to open o<_camon>, o<_camoff>, and o<_camstore> files, in that 
same order.

Opening the hal show screen, selecting watch, then selecting the camview, 
halui, and pyvcp buttons shows that all buttons are apparently working from 
a mouse click but doing nothing except the 1st 3 noted above.

And just for grins, manually loading/opening each of the 3 files works, as 
does executing them except no error OR machine motion, and despite 5 or 6 
runs of camstore,
the global vars #<_CamX1> and #<_CamY1> are trash ### and #3999 remains at 
0.000000.

This is frustrating, and burning up my sleep time, hard to find with an 
aching knee.  That of course is NOT your problem, its mine. ;-)

Thanks Frederick
> 
> ------------------------------------------------------------------------
> ------ Rapidly troubleshoot problems before they affect your business.
> Most IT organizations don't have a clear picture of how application
> performance affects their revenue. With AppDynamics, you get 100%
> visibility into your Java,.NET, & PHP application. Start your 15-day
> FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.cl
> ktrk _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

The fact that it works is immaterial.
                -- L. Ogborn
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to