LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have some problems to import dlls for an ORTEC instrument.Help me, please.


I would to know what's I have to pass as parameter in LabVIEW when I find string in C++.
Everytime my system crashes. Is it possible it's a problem of calling convention???( API or C???)Thank you. I'm working with LabVIEW 6 and a MatchMaker Ethernim.
0 Kudos
Message 1 of 2
(2,579 Views)
Your problem might be that you need to send the DLL a string of sufficient size. In other words, you feed the dll a string that is already large enough to contain what will be put into it. In this way, the memory is reserved. Otherwise, you would have to use the LabVIEW memory management functions to allocate the memory inside the DLL.
0 Kudos
Message 2 of 2
(2,579 Views)