Andy, I think you are telling Gene that the subroutine should be named o<tholefinder> but the file should still be “tholefinder.ngc”. Is that correct? Thanks for the clarification, Alan Sent from my iPhone
> On Mar 2, 2024, at 9:28 AM, [email protected] > wrote: > > Send Emc-developers mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/emc-developers > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Emc-developers digest..." > > > Today's Topics: > > 1. Re: Dynamically building a string for a varname? (gene heskett) > 2. Re: Dynamically building a string for a varname? (Andy Pugh) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 2 Mar 2024 07:32:51 -0500 > From: gene heskett <[email protected]> > To: [email protected] > Subject: Re: [Emc-developers] Dynamically building a string for a > varname? > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > >> On 3/2/24 04:59, andy pugh wrote: >>> On Fri, 1 Mar 2024 at 23:38, gene heskett <[email protected]> wrote: >>> >>> Well, I seem to be up to the first named subroutine call. But it cannot >>> find it. >> >> Drop the ".ngc" from the subroutine name in the .ngc fle. >> >> You have >> >> o<tholefinder.ngc> sub >> > Didn't help, Andy. > I renamed tholefinder.ngc to tholefinder, fixed it internally, It is not > (most of the time) looking in the right place as specified in [RS@&$NGC] > SUBROUTINE_PATH in the .ini file. See attached screenshot. > Most of the time its looking in /tmp, /home/tmp (which doesn't exist, or > /home/gene/tmp which is apparently where its caching stuff. but NEVER > looks in /home/gene/linuxcnc/nc_files/subs/ which is where [RS274NGC} > SUBROUTINE_PATH = ~/linuxcnc/nc_files/subs point it at. > > Am I being dense? Or are you saying the files name still has the .ngc, > and the search adds that to the simplified name used in the parent file? > I'll try that but after some shoe-goo cures a while. After a decade the > glue holding the gear shift tally switches has given way so I had to > reglue that assembly before the spindle runs right. Takes about an hour. > > Thank you, take care & stay well. > > Cheers, Gene Heskett, CET. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Screenshot_20240302_061446.png > Type: image/png > Size: 15984 bytes > Desc: not available > > ------------------------------ > > Message: 2 > Date: Sat, 2 Mar 2024 15:27:46 +0000 > From: Andy Pugh <[email protected]> > To: EMC developers <[email protected]> > Subject: Re: [Emc-developers] Dynamically building a string for a > varname? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > > >> On 2 Mar 2024, at 12:35, gene heskett <[email protected]> wrote: >> >> I renamed tholefinder.ngc to tholefinder, > > Leave the filename the same. > Rename the subroutine inside that file. > Call it by the subroutine name. > > > > > ------------------------------ > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > ------------------------------ > > End of Emc-developers Digest, Vol 215, Issue 3 > ********************************************** _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
