LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Pass an Array from One Frame in a Sequence to a ptr in the next Frame

I have an array (generated from the "Replace Array Subset" VI) that I
wish to pass to the next sequence in a frame.
In this second frame, however, the VI that this data will go into
expects it as a pointer to a buffer.

Of course in C, the array name is the pointer to the array itself, but
apparently this is not the case in Labview..
because if I wire the output array to the edge of the frame (Blue
solid blox - "Tunneling'?), and then try to connect
that blue box in the second frame, to the VI expecting a pointer and
the wire connection gets broken, and the blue
solid box goes empty.

How Can I do this??

0 Kudos
Message 1 of 2
(2,874 Views)

You are not being quite clear.  If the next frame expects a pointer to a buffer, it cannot be a vi.  Labview has no pointer types.  You must be referring to a Call Library Node which is set up to call a DLL function.  If this is the case, you need to configure the Call Library Node to accept an array of the data type.  Then you can wire the array into the call library node.

Is this the case, Call Library Node?

- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 2
(2,867 Views)