02-23-2006 12:52 PM
02-24-2006 04:51 AM - edited 02-24-2006 04:51 AM
While it is theoretically possible to write a VI that does this all in LabVIEW it is an extremely tedious operation with virtually dozens of Call Library Node calls to create that string array and half a dozen other Call Library Node calls to tear it down afterwards. This is both tiresome, tricky and very vulnerable to bugs.
@rvc wrote:Hi,I am trying to use a library function (DLL) from LabVIEW 8.0. The argument is a char ** where essentially the function is expecting an array of character pointers. Basically this a 2D array of strings (null terminated char strings). Each line is a null terminated string. From C I would create a 1 D char * array and load the array with the starting address for each row in the 2D array. Any suggestions on how to do this would be appreciated. I do need to use the DLL and keep it in it's current format.
Message Edited by rolfk on 02-24-2006 11:52 AM
02-24-2006 05:10 AM
02-24-2006 08:28 AM
This method seems to work just fine. The two prior posts were helpful in coming up with this method.
Thanks,
BC