LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dll in labview

Highlighted

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
(832 Views)

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

 

CallDll.png


LabVIEW Champion. It all comes together in GCentral GCentral
0 Kudos
Message 2 of 8
(805 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
(775 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?


LabVIEW Champion. It all comes together in GCentral GCentral
0 Kudos
Message 4 of 8
(771 Views)

yes.

how I choose if arg is input or output?

0 Kudos
Message 5 of 8
(763 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.


LabVIEW Champion. It all comes together in GCentral GCentral
0 Kudos
Message 6 of 8
(757 Views)

can you send me a simple example?

0 Kudos
Message 7 of 8
(747 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
0 Kudos
Message 8 of 8
(731 Views)