12-17-2004 05:54 PM
12-17-2004 06:00 PM
12-17-2004 06:18 PM
12-20-2004 09:43 AM
09-28-2009 03:15 PM
I'm trying call a dll with input type unsigned char, I have to convert integer array to unsignedchar..
Thanks in advance..
09-28-2009 06:14 PM
in the function panel, go to numerical---->conversion---->byte array to string function may just do the job.
Kevin
09-28-2009 06:57 PM
thanks Kevin,
But i made a mistake in posting i wanna pass pointer to char string..I found code creating a array pointer and reading array in LV.
09-28-2009 07:32 PM
Here is how I understand your question: you have a dll function that needs to be fed a pointer of char. Labview does not differentiate a pointer from an array. so all you have to do is to feed your dll function with an array of the type char, you may want to try to use created an array function to generate the required char array. it can be found where you get your initialize array function.
kevin
09-29-2009 08:13 AM
@kevin
U understood my problem correctly..Bu t i didn't understood "you may want to try to use created an array function to generate the required char array. it can be found where you get your initialize array function".
09-29-2009 08:21 AM - edited 09-29-2009 08:22 AM
I think all you need to do is to change the data type in your example to a U8 (i.e. char) instead of an I32.