10-23-2023 04:29 AM
Hi guys!
I would like to know if its possible get CPU usage from a VI while running(exe in a future)
Thanks.
10-23-2023 04:34 AM
Hi Ivan,
@IvanMalonda wrote:
I would like to know if its possible get CPU usage from a VI while running(exe in a future)
Do you want the CPU load of a single VI or the whole program?
Getting the CPU load of the whole program is possible using Windows function calls…
10-23-2023 04:52 AM
Hi Gerd,
@GerdW ha escrito:
Hi Ivan,
@IvanMalonda wrote:
I would like to know if its possible get CPU usage from a VI while running(exe in a future)
Do you want the CPU load of a single VI or the whole program?
Getting the CPU load of the whole program is possible using Windows function calls…
Whole program. I tried with function calls but i haven't found out. If you can help me i appreciate so much.
10-23-2023 05:51 AM - edited 10-23-2023 05:52 AM
10-23-2023 06:02 AM
If you want to be system independent (.Net only works on Windows) you can use the NI System Control API. An example showing how this works would be at <LabVIEW>\examples\nisyscfg\Resource Monitor.vi
10-24-2023 10:53 AM
10-24-2023 10:54 AM
@rolfk ha escrito:
If you want to be system independent (.Net only works on Windows) you can use the NI System Control API. An example showing how this works would be at <LabVIEW>\examples\nisyscfg\Resource Monitor.vi
thank you mate!