LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dll in labview

Hi,
I would like to call to dll generated in matlab from labview.
When I use the function "call library function node", the type of the output is only scalar.

how do I change the output type, how i do array in the output?
How do I create multiple output variables?

 

Best regards

maya

0 Kudos
Message 1 of 8
(2,933 Views)

The type is only scalar for the "return type". Once you add an output, "array" will be available.

 

CallDll.png

0 Kudos
Message 2 of 8
(2,906 Views)

when I add 'arg' is only more input. it isn't output...

the only output I get is in the return type.

0 Kudos
Message 3 of 8
(2,876 Views)

@mayaya wrote:

when I add 'arg' is only more input. it isn't output...

the only output I get is in the return type.


This statement is incorrect. Did you read the help and documentation?

0 Kudos
Message 4 of 8
(2,872 Views)

yes.

how I choose if arg is input or output?

0 Kudos
Message 5 of 8
(2,864 Views)

mayaya wrote:

how I choose if arg is input or output?

It is both. For each arg, there is an input on the left and an output on the right.

0 Kudos
Message 6 of 8
(2,858 Views)

can you send me a simple example?

0 Kudos
Message 7 of 8
(2,848 Views)

There are a few very useful examples already available with LabVIEW. Choose Help -> Find Examples, then Search "DLL" or similar keywords.

 

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 8 of 8
(2,832 Views)