DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

CPU Usage 100% during macro run

Started by RWMURRAY, July 03, 2009, 02:22:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RWMURRAY

Does anyone have any suggestions as to why the CPU usage increases so dramtically when a macro is running and is there any way of reducing it.

Thanks

Richard

Bob P

#1
Haven't tried it myself, but Process Tamer could be run before and after the macro.  In the discussion below the description, there are also alternatives mentioned.

RWMURRAY

I just tried Process tamer and other than lowering designcad to low priority the cpu use was still 100%. Sigh, thanks for the suggestion although, it was a possibility. The problem has to be in the macro exe somewhere. Does Designcad team participate in this forum, perhaps they might have some insight, when I'm running on my OQO for outside data collection I run through double sized batteries like water.

Richard

dcadRob

Certain BAsicCAD functions use lots of CPU resources. For example ANYKEY sends the CPU to 100% but INPUT doesn't. You may want check which parts of your macro are consuming more resources than others.

RWMURRAY

Rob, thanks for the insight, my entire program runs on an Inkey$ do loop type statement for all input and program operation in much the same way as windows operating systems works. This allows me complete control over the input, pesentation etc. I found the designcad Window statement which was my first choice for input wouldn't refresh itself, was overwritten all the time in general a real pain. I do all of my input on the status line at the bottom in an excel box input type system allowing the operator to move back and forth up and down through the data input and correct any errors in the input as well as run different algorithims thru each input box. I'll have to try the window statement again and see if it consumes less power.

www.rmurray.ca