02-22-2016 07:51 AM
Hello,
I want to see for a Program/Process if this is a 32 or 64 Bit Version and the Memory Usage.
Has someone a plan how to do this?
02-22-2016 08:12 AM
02-23-2016 04:04 AM
Yeah I did, but I still can't get it to work.
02-23-2016 04:08 AM - edited 02-23-2016 04:12 AM
It should work in 2014 exactly the same as it works in 2010 and you should be able to save the VI Snippet in the other thread to the desktop and then drag it into a blank VI in LV2014 and it will create the LabVIEW code for you.
I took a look at your code - you're mixing up two different methods - you need to wire a processId or window handle into the IsSysWow64 function call, NOT the size of the IntPtr.
02-24-2016 04:23 AM
Yeah I did that, but the Code doesn't work.
02-25-2016 03:40 AM
@NoName1771 wrote:Yeah I did that, but the Code doesn't work.
How doesn't it work? Do you get an error? You need to provide more information if you want any help!
02-25-2016 04:08 AM
First Memory Usage:
When I get the Process via "GetProcessByName", like firefox.exe for example , I can get the "PrivateMemorySize" and get the Full amount of RAM Usage of the Program.
The Problem is, that the shared Memory and the Private Memory of the Process are combined as Private Memory Size. And I only need the Private.
For Example: Firefox has 261MB of RAM Usage in the Task manager. In Labview 321MB
By checking out the "Process Explorer" I saw that Shared Memory of Ram is 60MB.
Question: Is there a way to get the Private Memory of a Process or the Memory Usage via Task Manager?
02-25-2016 04:34 AM
The Bit Version:
I used the this Program:
But the LstBox doesn't work