On Thursday 28 November 2013 16:22:46 Frederic RIBLE did opine:

> Le 2013-11-28 12:33, Gene Heskett a écrit :
> > On Thursday 28 November 2013 06:13:27 Frederic Rible did opine:
> > 
> > And just to maintain camera focus, should not restore it to the
> > starting height at the end of that motion? This camera does however
> > seem to be autofocus over about a 1.5" range of vertical motion
> > though, and apparently without any xy movement as it does this.
> 
> My hardware setup looks different from yours: my machine is a gantry and
> the camera is not attached to the spindle.
> => its Z position is fixed.
> See http://blog.f1oat.org/wp-content/uploads/2013/09/20130831_171726.jpg
> So, there is no effect on camera if I move the spindle up.
> Yes, in your case you will need a different strategy for the _camoff.ngc
> and _camon.ngc files.
> You can keep the original ngc files and be careful about your spindle
> height before clicking on G43H99.
> 
> > Reading some of the code, as in camstore.ngc in particular, it appears
> > that IF this is the code executed when the "Store XYZ" button is
> > clicked, which we can apparently do 4 times after measuring the holes
> > from both sides, it appears that it builds up a record array, 2 by 4,
> > that can then be used to calculate the required corrections.  I am
> > thinking this then works with the align buttons on the right to
> > achieve this.  Since there aren't any docs for this, I guess its up
> > to us to decipher it, using the code for the documentation.
> 
> When you click "Save XYZ", a new point is stored in the memory. Up to 4
> points can be stored.
> When you click "Center3" or "Center4", your table will move
> automagically to the center of the circle you have pointed with 3 or 4
> points.
> 3 points centering is ok if you do not have two points aligned on same X
> or Y line
> 4 points centering is more convenient because typically you will point
> and jog only on X or Y to get the opposite point.
> 
> Regards.
> Frederic.
> 

Unforch, it appears that, and I am reading between the lines here,
probably wrongly, that the enuming halui does with all those mdi 
command in the main .ini file, are totally scrambled.

I moved all the help files out to storage in a separated directory, 
then recorded this in an editor as I clicked on the buttons:

First, this is my tool.tbl file, in the $config directory
T1 P1 X0 Y0 Z0 D0.126 ;1/8 drill 
T2 P2 X0 Y0 Z0 D0.135 ;5/32 drill 
T3 P3 X0 Y0 Z0 D0.038 ;0.040 drill 
T4 P4 X0 Y0 Z0 D0.041 ;0.045 drill 
T5 P5 X0 Y0 Z0 D0.052 ;0.052 pcb component lead clearance drill 
T6 P6 X0 Y0 Z0 D0.0514 ;placeholder pcb bigger component clearance drill 
T7 P7 X0 Y0 Z0 D0.001 ;interconnect pattern etch 
T8 P8 X0 Y0 Z0 D0.625 ;reference hole drill 
T9 P9 X0 Y0 Z0 D0.04 ;a #58 drill 
T10 P10 X0 Y0 Z0 D0.0625 ;a .0625 2 fl end mill 
T11 P11 X0 Y0 Z0 D0.0312 ;added 20130917 
T12 P12 X0 Y0 Z0 D0.0015 ;Added 20130918
T99 P99 x-0.1 Y-0.05 Z0 D0.0001;test of camview-emc, added 20131128

The latter to give a small motion I could see, but not far enough to 
hurt anything since I left the motor power on, but I am ssh -Y to
the machine for all this.

The ngc files for this have been moved to /home/gene/linuxcnc/cam.stf

And the main .ini file now has this
SUBROUTINE_PATH = /home/gene/linuxcnc/cam.stf/:/home/gene/linuxcnc/nc_files

Which the first path apparently is still not in the search path. So they
are effectively hidden to our processes.
Actions, or lack thereof:

Checking checkbox for G43H99 gives 
Unable to open <_camstore>, and no motion

Unchecking it gives 
Unable to open <_camcenter3>, and no motion

Clicking on "Save XYZ" gives 
Unable to open <_camcenter4>

Clicking on Center3 returns no error msg
Clicking on Center4 returns no error msg
clicking on Align start returns no msg
Clicking on Align Y returns no msg
Clicking on Align X returns no msg
Clicking on Clear offset returns no msg

So obviously the SUBROUTINE_PATH isn't working, and the MDI
enumeration is screwed.

The lack of decent docs other than trying to read the code, and
some of the GTK stuff may as well be swahli to me, so I am not
able to establish what file actually belongs to what button.

Any help in this regard would be much appreciated.

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>

hubub, hubub, HUBUB, hubub, hubub, hubub, HUBUB, hubub, hubub, hubub.
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