06-30-2006 11:21 AM
07-05-2006 05:43 PM
Hello again Sheetal,
Have you opened the VI in 8 to see what the CLF node looks
like? The function returns a char[]
which LabVIEW probably reads as a number.
I would change the CLF node in LabVIEW to have that parameter passed as ‘adapt
to type’ and wire in a string to see if that fixes it up.
Also, if you can create a small FP instrument with one function which
can replicate this problem myself or someone else in the community
might be able to further assist.
07-06-2006 10:40 AM
Ok. I have attached my complete project.
My function is
char * STDCALL my_function(char *char_pointer, char char_array[], int *int_pointer);
In LV 8 my return value is integer instead of string.
In LV7.1 it is string.
I do not get any output for char_pointer and int_pointer.
07-10-2006 03:57 PM
Good afternoon Sheetal,
I apologize for the delay in the response to your last post. I was able to replicate exactly what you are talking about. I filed a corrective action request on it for R&D to examine (3Z9EN63A). For now, the way to workaround these difficulties is to manually modify the CLF call created for the function to return a C string, or to continue use of 7.1 and save the VI drivers in 8.0. I apologize for this; please let me know if you have any further question.
Thanks, and I do apologize for any inconvenience caused as a result of this behavior.