LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array of Delphi strings in LabView

Hello.
I'm having such problem. Function from Dll returns pointer (Delphi pointer) to the array  of pointers to strings. How can i get all this strings from this array?
Thanks in advance. 
0 Kudos
Message 1 of 2
(2,862 Views)

Hello,

 

Retrieving the data may not be an easy task.  How are Delphi strings represented in memory?  If they are C string style it might not be too bad, but if they are something proprietary it could be a little complicated.  If it’s a C string, set up your CLF to return an adapt to type, and simply wire in an array of strings constant from LabVIEW.  If its more complicated you might want to consider returning the data in a more standard format from Delphi (which I admittedly have never worked with).  Check out the “Using External Code in LabVIEW” manual for more information.

Hope it helps-

Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 2 of 2
(2,851 Views)