There is one problem with above. The first MoveBlock call only returns
the master pointer of the handle and you need to do a second
dereferencing after that to get the actual array pointer.

Create a second Call Library Node similar to the first:

library: LabVIEW
function name: MoveBlock
return value: void
first parameter: uInt32 value
second parameter: uInt32 pointer to value
third parameter: int32 value

Wire the second parameter returned by the first MoveBlock call to the
first parameter of this MoveBlock. Wire a 0 constant to the second
parameter and again 4 to the third. Add 4 to the value returned from
the second parameter of this Call Library Node and you now have the
actual pointer to the LabVIEW array data.

Rolf Kalbermatter

Reply via email to