C Program don't want to open

Moderators: TomKerekes, dynomotion

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

C Program don't want to open

Post by 4minnovations » Tue May 05, 2020 2:40 pm

Hi, I open kMotion on my desktop. I push the "C Program" tab and I have an error: Error opening program file: C:\KMotion435b\C Programs\ From previous thread filenames. What can I do? I don't remember the last filename.

Moray
Posts: 288
Joined: Thu Apr 26, 2018 10:16 pm

Re: C Program don't want to open

Post by Moray » Tue May 05, 2020 6:01 pm

I think we'll need more details.

I'm assuming you want to edit a C program that you are already using in KMotionCNC?
If you are, then open KMotionCNC, open Tool Setup, then find the link for the C Program you'd like to open. I.e. if you want to edit your main initialisation file, go to the User Buttons tab, then find the filename for the relevant button.

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

Re: C Program don't want to open

Post by 4minnovations » Tue May 05, 2020 6:40 pm

i just want to view a c program and probably modify them.
1) I open kmotion
2) I push on the tab "C Program"
3) If it's the first time, an error appair: Error opening program file: C:\KMotion435b\C Programs\ From previous thread filenames
4) Nothing open and I can't view any c program.
5) if I retry to push the tab "C Program", nothing append

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

Re: C Program don't want to open

Post by 4minnovations » Wed May 06, 2020 3:59 pm

Hi, I try to make what you said, but I don't understand very well.
I open kmotionCnc and open tool setup, but I don't know where to search.
I try also to change the opening page in screen editor to custom and retry, same error.
I open kmotionCnc and open tool setup, but I don't know where to search.
Attachments
error kmotion4.png
error kmotion3.png
error kmotion3.png (7.68 KiB) Viewed 2892 times
error kmotion2.png
error kmotion1.png

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

Re: C Program don't want to open

Post by 4minnovations » Thu May 07, 2020 5:32 pm

Any news?

User avatar
TomKerekes
Posts: 2679
Joined: Mon Dec 04, 2017 1:49 am

Re: C Program don't want to open

Post by TomKerekes » Thu May 07, 2020 7:21 pm

Hi 4minnovations,

The error is because the last filename is blank. You can ignore that error. Does the C Programs Screen open after clicking ok to the error? Its up to you to know what C Programs were created for your system. You might search by date to see which .c files were modified most recently.
Regards,

Tom Kerekes
Dynomotion, Inc.

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

Re: C Program don't want to open

Post by 4minnovations » Fri May 08, 2020 12:15 pm

Hi Tom,
this is the problem, the c program tab with the seven thread didn't open after ok in the error.

User avatar
TomKerekes
Posts: 2679
Joined: Mon Dec 04, 2017 1:49 am

Re: C Program don't want to open

Post by TomKerekes » Fri May 08, 2020 4:57 pm

Hi 4minnovations,

Not sure why the C Programs Screen is not displayed. Maybe it is somehow moved out of view of the monitor?

What has been changed? Anything moved, copied, or editied? What is the history of the problem?

You might rename the C:\KMotion435b directory then re-install Version 4.35b to the default directory and check if it opens.

The positions of the Screens are stored in a file C:\KMotion435b\KMotion\Data\persist.txt. You might check that and compare to one of a fresh installation.

Sometimes Windows Regional Settings can cause issues. You might try setting the language and region to US - English. But I switched to French and didn't see a problem.
Regards,

Tom Kerekes
Dynomotion, Inc.

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

Re: C Program don't want to open

Post by 4minnovations » Sat May 09, 2020 1:25 pm

Hi Tom,

I don't know what has changed.
I worked on a project last month and when I arrived to reopen for a change, it was like that.
I will try what your said, but first I don't find your file C:\KMotion435b\KMotion\Data\persist.txt.

4minnovations
Posts: 47
Joined: Fri Nov 01, 2019 7:18 pm

Re: C Program don't want to open

Post by 4minnovations » Sat May 09, 2020 1:34 pm

Hi Tom,

I renamed my existing kmotion435b folder and I reinstall. It works now. However, I still can't find your persistent.txt file.

Post Reply