Hi Tom.
I want to create the most universal C programs for Kmotion CNC and would like to control the variables in these scripts using a window application to make configuration easier for consumers.
According to the type of how you implemented config and flash.
Any hint from yo.
Maybe I can use visual studio to open the config and flash source?
Any advice please.
Regards,
Taras.
Window interface for configuring programs in C
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Window interface for configuring programs in C
Hi Taras,
Not sure exactly what you are asking. We already have the KMotion.exe Windows App to do the configuration and generate C code.
We don't release the KMotion.exe source code because it has our proprietary code for servo tuning, filter generation, Bode Plotting, etc.
Not sure exactly what you are asking. We already have the KMotion.exe Windows App to do the configuration and generate C code.
We don't release the KMotion.exe source code because it has our proprietary code for servo tuning, filter generation, Bode Plotting, etc.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Window interface for configuring programs in C
Hi Tom.
I understand you Tom, I'll try to do it myself.
Perhaps at some stage your advice as a C++ specialist will be needed
Can I get advice if something happens?
Regards,
Taras.
I understand you Tom, I'll try to do it myself.
Perhaps at some stage your advice as a C++ specialist will be needed
Can I get advice if something happens?
Regards,
Taras.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Window interface for configuring programs in C
Hi Taras,
Of course. We can try to answer specific questions.
Good luck.
Of course. We can try to answer specific questions.
Good luck.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Window interface for configuring programs in C
Hi Tom.
I want to collect all the variables that require adjustment from my C programs into one file and then refer to it in other C programs.
In the future I will make a window application to easily edit these variables.
Basically, I need to create a header file with the extension .h ? Or can I just use a .с file?
Regards,
Taras.
I want to collect all the variables that require adjustment from my C programs into one file and then refer to it in other C programs.
In the future I will make a window application to easily edit these variables.
Basically, I need to create a header file with the extension .h ? Or can I just use a .с file?
Regards,
Taras.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Window interface for configuring programs in C
Hi Taras,
The C Compiler will include text from any file it doesn't matter. By convention files that only contain definitions are named .h and files containing code are .c
The C Compiler will include text from any file it doesn't matter. By convention files that only contain definitions are named .h and files containing code are .c
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.