LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Empty Array to .NET object

Hey,

 

what about this?

Madottati_0-1640268428042.png

 

Madottati_1-1640268468940.png

 

0 Kudos
Message 11 of 12
(566 Views)

@Madottati wrote:

Hey,

 

what about this?


You do need to close the type reference.

 

If you get the type dynamically, you'd be able to put it in a .vim. Then it works for all 1D arrays. You could even extend it to work for all types, replacing the "To .NET" VI:

Array To dotNET.PNG

You'd need to put the selected part in another VI, because invoke nodes aren't allowed in inlined VIs (incl. .vims).

 

Of course you can go the variant route. Give a normal VI a variant input, then use variant type info to do something similar.

 

0 Kudos
Message 12 of 12
(550 Views)