LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and pointer arrays

Hello,

I just started working with Labview and I am facing a bit of a
problem.
I have got a DLL that I need to interface, so I use the Call Library
component.
That DLL needs its input in a pointer array, and returns its answer in
a pointer array.

Layout

The input param. Is a pointer to an array ( two items ) that are
pointers to matrices with data.

prhs --> prhs[0] ---> Struct matrix A
prhs[1] ---> Struct matrix B


The output param has the same layout.

plhs --> plhs[0] ---> Struct matrix result A
plhs[1] ---> Struct matrix result B
plhs[2] ---> Struct matrix result C

It is a Matlab compiled DLL.

My problem is how can I get the data in and out of the matrices.
The param. defined in the call
library component is of type : Double
pointer to value.
Then I pas prhs and hope to receive plhs.

can someone help me.

Kind regards, Enrico Vullings.
0 Kudos
Message 1 of 2
(2,666 Views)
hallo enrico,
i find myself in the same trouble, have you ever solved your problem?

thanks and regards, andrea
0 Kudos
Message 2 of 2
(2,666 Views)