LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"unsigned char** pImgData" How to call in LabVIEW

HI,
 
I am calling a DLL in LabVIEW8.5 by using "Call Library Function Node".
I can able to access all the functions and getting exact results.
But for the below function LabVIEW is crashing.
 
void SFCCU_GET_IMG_RAW_DATA(unsigned long *length,unsigned char** pImgData,unsigned int iCamObj)
According to the doccumentation of the dll provided, pImgData is 1D array.
I tried the same dll in VC++. I can able to acheive the result of he above function properly.
I attached the Call Library Function Node.vi's prototype with this mail what i have done. It seems to be correct.
But i dont know why its crashing. Please tell me wether i am calling properly or not.
if not, kindly suggest me how to overcome it.
 
Thanks in advance for the help,
Please help me,
Thanks,
Sams.
0 Kudos
Message 1 of 2
(2,679 Views)

Hi Sams,

Can you clarify what you mean by crash? Can you describe what happens? Do you get an error message? Is there anything different in how you are calling the function in LabVIEW versus VC++?

I look forward to your reply to help move this issue forward.

Regards,

Hillary E
National Instruments
0 Kudos
Message 2 of 2
(2,659 Views)