Loading screan script files from C programs
Posted: Tue May 29, 2018 4:07 pm
Hello;
I have created a user button in the KmotionCNC screen to open a custom screen used to enter several values that are passed to and used in a C program. I added two buttons to the new screen, Return and Accept. Pressing the return button returns to the KmotionCNC screen without executing the C program. Pressing the accept button executes the C program. The C program immediately displays a Wait dialog box so I can then press the return button returning to the main KmotionCNC screen where I can acknoledge the Wait dialog box and continue on with the C program. Ideally, I would like to press the accept button and have the C program reload the main KmotionCNC screen. I have exhausted my limited ideas on how to accomplish this task and hoping someone else can help.
I have created a user button in the KmotionCNC screen to open a custom screen used to enter several values that are passed to and used in a C program. I added two buttons to the new screen, Return and Accept. Pressing the return button returns to the KmotionCNC screen without executing the C program. Pressing the accept button executes the C program. The C program immediately displays a Wait dialog box so I can then press the return button returning to the main KmotionCNC screen where I can acknoledge the Wait dialog box and continue on with the C program. Ideally, I would like to press the accept button and have the C program reload the main KmotionCNC screen. I have exhausted my limited ideas on how to accomplish this task and hoping someone else can help.