LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine Memory Available

Does anyone know how to programatically access the information in the task manager? I need to know how much memory a system has, how much is being used, and how much is in page file.  Thanks,
Nate
0 Kudos
Message 1 of 3
(2,438 Views)
There's a nice example in the Example Finder that can help you get started (from LabVIEW: Help >> Find Examples). Simply browse to the category called Communicating with External Applications >> .NET and then launch the VI called SimpleTaskMonitor.

You should be able to modify it to accomplish what you want. Here's a link on using .NET in LabVIEW.
Jarrod S.
National Instruments
0 Kudos
Message 2 of 3
(2,434 Views)

You can use a vbs script file and system exec. Check the script repository in the hardware, memory section and the operating system, pagefile section.

http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true

0 Kudos
Message 3 of 3
(2,417 Views)