02-06-2009 12:39 PM
Hi Guys
I am trying to use test stand as a sequencer for a camera module test (>5Mpix). My .dll for the camera enable to store an image inside the memory. I am using .net allocCo TaskMem to allocate the memory (returns an intptr), after this store the image to the memoryI would like to hand over the intptr pointer to a labView VI to do image processing. There I have the problem, I can not get the data the pointer points to into an labView array.I hand over the pointer as int32 to the VI, convert it to a intptr again with .net constructor node system.intptr and input it to a .net Marshal.copy(inptr, byte, int32, int32) and copy it to an array. this does not work and it seems to me that the pointer does net get understood by labview.
I hope I did not confuse you guys too much and you understand my problem.
Gerhard
02-10-2009 10:10 AM