CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Forum Navigation
You need to log in to create posts and topics.

[Feature request] Improve SimCNC macro execution

:wave: 

I noticed that macro execution takes a bit - I suspect this is due to the subprocess creation and python parsing/ processing time for my macros.

EG, even simple macros that just call print() for debugging add a noticeable execution lag. This is not great when plasma cutting because the torch dwells for a bit.

 

Any chance we can get SimCNC macros to work without the current CGI-like process creation?

Is there any solution to this that people commonly use? If not, @CSLab support what are the chances of you adding a feature for HTTP-2 push integration, or a "proper" SDK where I can just write Java for my macros?

SimCNC already keeps a pool of pre-initialized processes to reduce macro execution latency. If you are still experiencing noticeable delays, it may indicate that something on your system is heavily loading the CPU, or that the PC being used is simply not fast enough.

At the moment, there are no plans to change the API or the scripting mechanism.

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland