Difference between revisions of "Controlling CPU Usage"

From ATTWiki
Jump to: navigation, search
(Other Pages)
(Other Pages)
 
Line 31: Line 31:
  
 
====Other Pages====
 
====Other Pages====
Back to [[CNC Bender]]
+
*Back to [[CNC Bender]]
Back to [[CNC Bender Tutorials]]
+
*Back to [[CNC Bender Tutorials]]

Latest revision as of 19:51, 20 March 2008

CNC Bender requires the majority of the CPU on an operator station. Setup for Windows 2000 and Windows XP is different because the two systems allow CNC Bender to use CPU resources differently.

Check.jpg Adjusting CPU Usage Governors for Windows XP

The following three variables are available in CNCProcessor.cfg. Adjust them to control how much CPU Usage CNC Processor is allowed to use. The values are each PAUSE values that cause CNC Processor to sleep every loop (the internal command is literally "sleep".) The value makes the process that is called the "thread" to go to sleep for a specified number of milliseconds.

Keep in mind that the sleep values are applied to CNC Processor every time it performs an internal loop. Because it is applied so frequently, it is important that the sleep value not be much more than half a second. You can try higher, but it may prevent CNC Processor from loading at start. A high pause duration may also shut down the bender because the outputs are not being serviced quickly enough.

The values are in the [Loop] section and they look like this for Windows XP:

[Loop]
Power Off Manual Mode Pause=500
Power On Manual Mode Pause=250
Cycle Hold Pause=500

The values for Windows 2000 may look like this:

[Loop]
Power Off Manual Mode Pause=50
Power On Manual Mode Pause=20
Cycle Hold Pause=20


The value unit is milliseconds. The values shown in the example are specifically for Windows XP-based operator stations. Windows 2000 can run with these values set to 0, however, it is acceptable to set them up to 50 in Win2000.

Adjust these values in the Low Level menu, or in an editor outside of CNC Bender. Be sure CNC Bender is not running if you edit the values inside an editor.


Other Pages