05-05-2010 01:56 AM
Hy evryone,
How I can get data from computer memory using labview. I want to get test data from an other application (not labview) and that require communication with computer memory.
Thx.
05-05-2010 02:03 AM
Hi nizartun,
if you know the location, then you can use the kernel.dll to read the memory. You can see how it works in my "Screenshot" example postd here in the forum.
Mike
05-05-2010 02:11 AM
hi Mike,
Thank you, but, can you give me a link to your "screenshot"
05-05-2010 02:31 AM
05-05-2010 02:34 AM
thx mike I'll try.
nizar
05-11-2010 03:44 AM - edited 05-11-2010 03:46 AM
I'm afraid Mikes example won't help you here. He is not reading memory from another process (something quite impossible without very advanced low level debugging APIs on any modern OS), he is communicating with another process through the clipboard. It's one way of interprocess communication, albeit a cumbersome one if you talk about arbitrary information exchange between two processes.
Your options for this are more likely to be sought in:
1) shared memory access (- low level Windows API calls, - needs according code in both processes, + highest performance)
2) TCP/IP (+ standard platform independant mechanisme, - needs according code in both processes, + high performance)
3) DDE (+ legacy Windows technology with Windows API call programming, - needs according code in both processes, - low performance)
4) file IO (+ standard operations supported virtually in any application, - low performance)
05-11-2010 10:24 AM
Thx all of you, but i can't find solution.
This is my problem : I have an application (not labview) runing in my PC. So, this application write data in computer memory. Now, I want to get this data from computer memory using labview to treat and display it. The 2 applications are runing in the same time.
So, is there solution to communicate with computer memory using labview.
Nizar
05-11-2010 10:34 AM
05-11-2010 02:25 PM
05-12-2010 01:04 AM