LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

memory sharing b/ diff. processes

Does anybody know how to share a memory address between two different
processes ( applications ) in CVI or using Win32 SDK ?
0 Kudos
Message 1 of 7
(4,119 Views)
Hi Daniel

CVI 5.5 (just released as a part of Measurement Studio) includes an example
that shows how to use the Windows SDK file mapping functions for shared memory.

I have put this example on ftp://ftp.ni.com/incoming/ as sharemem.zip

Vijay Malhotra

"Daniel Bentolila" wrote:
>Does anybody know how to share a memory address between two different>processes
( applications ) in CVI or using Win32 SDK ?>>
0 Kudos
Message 2 of 7
(4,119 Views)
I'm using CVI 7.0 and would like the sample program describe previously. Can someone please provide it for me? I would prefer to use the win32 sdk as another non-cvi program will be accessing the shared memory.

Thanks
0 Kudos
Message 3 of 7
(3,963 Views)
Hi.

Look in "[CVI program folder]\samples\sdk\sharemem". You should find the workspace and project files there.

Also, you should consider installing the latest patch, which will update your CVI to v7.1.1. You will find it here.

Regards,
Colin.
0 Kudos
Message 4 of 7
(3,945 Views)
Does the patch fix anything more than the license manager? The readme for the patch seems to indicate that is the only fix contained in it. I don't seem to be having any issues with that part of LabWindows.
0 Kudos
Message 5 of 7
(3,935 Views)

Hello,

In general it is a good idea to install the patches, and they will fix more than just the license manager.  However, in this case you are using CVI 7.0, but the patch is for CVI 7.1 so you won't be able to use it anyhow.

Sorry!

Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 6 of 7
(3,925 Views)
Oops!
0 Kudos
Message 7 of 7
(3,917 Views)