10-22-2013 08:55 AM
Madottati,
I've attached a 2010 version of the files to this message.
As for the "Array of Strings" option, that would be for a C DLL that was not created in LabVIEW. LabVIEW uses this special format for arrays with the dimension and array data in a struct, so we have to use the custom data type. For a regular C DLL, you can use the Array of Strings option and pass an array in as a parameter normally.
04-08-2014 03:03 AM
Hi Daniel,
it works fine when I pass array of strings to a labview dll. But it doesn't work in the other direction, if the dll returns an array of strings. TS says:
Expected instance of type LVArray, passed object without type.
Error in parameter 1, 'arg1'.
But I use the same type, as you sent me in the example.
Madottati
04-08-2014 03:10 AM
Sorry Daniel,
the variable passed from the dll function to TS should also have the type LVArray. Now it works. Thank You!
Madottati