Need help, new HDD, installing old LCNC software

More
01 Sep 2015 15:08 - 01 Sep 2015 15:39 #61982 by cncbasher
can you make an archive of your config folder and post that ?
your config should be placed in home/<name>/linuxcnc/configs

for a full path you can put a ~ (tilde) first then a slash ~/home/alan/linuxcnc/ ... etc
although with the above /home/alan/linuxcnc/configs/<yourmachinename>
should be fine

their are some changes you need to make in your old config , as some syntax and naming has changed
but post your archive , and i'll change it for you . should make life a little easier , once you have a master
conversely run stepconf and just make a dummy run , and then hand edit the changes .
Last edit: 01 Sep 2015 15:39 by cncbasher.
The following user(s) said Thank You: allenwg2005

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 20:26 #61994 by allenwg2005
Below is a copy of the config folder.

And here's what I think Lcnc is trying to tell me is wrong, I wrote it down to share it here.

libnml/cms/cms_config.cc 621: cms_config:
can't open 'emc. nml' Error =2 -- No such file or directory

libnml/nml/nml.cc 386: NML: cms_config return-1.
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 20:47 #61996 by LearningLinuxCNC
Have you customized the emc.nml file?

If not then comment out the line in your .ini file that says: "NML_FILE = emc.nml" change that line to "#NML_FILE = emc.nml"

If your .ini file points to any other files with paths make sure the path is correct for your new hard drive.

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 21:08 #61998 by allenwg2005
I can't find an "NML_FILE = emc.nml" in my "Router.ini" file.
I'm not sure I know what a nml file is, I can't recall ever seeing one.

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 21:42 - 01 Sep 2015 22:11 #62003 by cncbasher
give me a few mins to sort it , and i'll post back

Alan , your router config works fine , have you got some hidden files copy'd across from the old configs ?
your sim files collection however are wrong
but you can copy new examples perhaps for that, but for now

look at your ini files in sim and delete the following line
NML_FILE = emc.nml
also amend
PROGRAM_PREFIX = /home/allen/emc2/nc_files
to
PROGRAM_PREFIX = /home/allen/linuxcnc/nc_files
Last edit: 01 Sep 2015 22:11 by cncbasher.
The following user(s) said Thank You: allenwg2005

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 22:41 #62008 by allenwg2005
Basher,

I don't.......think...... I have any old files copied across, I did copy the config as it is in it's entirity to this post, (if that detail helps).

I didn't know that the program (EMC2, Linuxcnc which ever) used both configuration files, I though by pointing it to my original config folder from the old HD it would simple use that set of files. Or am I confused here? I must admit this is all very tall grass for me.

I did find the NML_FILE = emc.nml and deleted it.
I was able to locate and change the PROGRAM_PREFEX and replaced emc2 with Linuxcnc.

I get the same error at start-up.

I could start over and select a different config if that would help, I just need to know which one will work best.

Thanks

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 22:52 #62009 by LearningLinuxCNC
Allen,

Please copy and paste the command from the launcher icon to the forum so we can see if there is an error there also.

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 23:02 #62010 by allenwg2005
This did seem like an odd command line to me (not that I would know), it could be a problem, it did start the program though.

/usr/bin/emc /home/allen/emc2/configs/Router/Router.ini

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 23:48 #62012 by cncbasher
are you running an installed version or run in place
the links now should point to linuxcnc not emc2
so manually changing should cure it

Please Log in or Create an account to join the conversation.

More
02 Sep 2015 01:00 #62019 by allenwg2005
It's an installed version, nothing on the HDD but 8.04 and a Linuxcnc distro, (I think I saw 2.4.?).

You know, I thought the program folder being identified as EMC2 was odd, the change from EMC2 to Linuxcnc took place pretty much at the same time I started all this, maybe just a little before. (Just my luck).
I know the program had a folder name of Linuxcnc on the old HD, not sure who, how, or when that happened (too long ago).
But that's all beside the point now.

So, let me understand this correctly before I hose this up even more.
I should change: /usr/bin/emc /home/allen/emc2/configs/Router/Router.ini,
to read: /usr/bin/emc /home/allen/Linuxcnc/configs/Router/Router.ini,
and change the EMC2 folder name to Linuxcnc.

Am I getting this correctly? (Again I don't want to assume anything and make things worst).

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum