LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic data exchange between labview and VC++ with dll?

If this has been posted by anyone, i'm sorry for asking the same question.
I'm experiencing some errors in my VI and i can't quite figure out what i'm doing wrong. I have a DLL which was written in VC++ and create a shared data area. This dll provides four functions:sWrite,sRead,pWrite,pRead for dynamic data exchange between labview and VC++. When I write data with LabVIEW, VC + + can be successfully read, but when I use VC++ to write, it will return false and LabVIEW can not read. I have been trying to solve this problem for a few days, but it doesn't work. Waiting for your help and any reply will be appreciate! The source code is as follows:

0 Kudos
Message 1 of 1
(2,556 Views)