DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

CPU load

Hey all,

 

Does anyone have a way to read the CPU load/usage in DasyLab? I don't really want the percentage used by DasyLab, but rather the total CPU usage. Though at this point, I'll take what I can get.

 

I see there used to be global variables that gave this information but they are no longer supported (I'm using V11).

 

Thanks,

 

RJ

0 Kudos
Message 1 of 2
(6,161 Views)

I just checked on my Vista computer, and the ${TOTAL_LOAD} system variable agrees, more or less, with the Task Manager (Taskmgr) process list.

 

But when I try to verify this by forcing DASYLab to use more CPU time (I unchecked the "Release CPU if idle" setting in the Options->Global Settings, it looks like DASYLab is reporting a value that is about twice the value that the Windows Task Manager shows.

 

By the way, even in that setting, DASYLab was only using about 58% of CPU, according to the task manager. With the setting selected, it used less than 5%. I am running the WaveformGenerator.dsb example on a new laptop running Windows Vista.

 

I also turned on the "Determine Module Process Time" setting in the Options->Global Settings, and then, while running, opened the Module Process Time display by selecting Options->Module Process Time...

 

This feature, new in V10, allows you to see which modules are using time, and how. It shouldn't surprise you to find out that the graphical chart displays, like the Chart Recorder and Y/t Chart, are the real resource consumers.

 

The best way to monitor usage is a combination of the Task Manager and the DASYLab Module Process Time display.

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 2 of 2
(6,159 Views)