ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET Method

I am using a .NET method that returns "byData System.Byte&" LabVIEW views this as a reference, how do I correctly wire to this and get the correct data returned?
0 Kudos
Message 1 of 3
(2,985 Views)
Hi,

The reason for you to see the data as a reference is because in the case where LabVIEW does not recognizes the data type it shows it as a reference. You can get more info on this in chapter 19 of the LabVIEW users manual.

My knowledge of .NET is not enogh for a workaround, I think you can create some sort or wrapper assembly that converts the data types to the types recognized by LabVIEW.

I hope this helps.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 3
(2,986 Views)
It also depends on the version of LabVIEW. That particular issue was addressed in later versions, but I honestly can't remember which one specifically.
0 Kudos
Message 3 of 3
(2,781 Views)