Вопрос

I have a .NET struct containing floats and ints, and I have a method that returns an array of that struct.

How do I initialize a reference to an array of .NET structs in LabVIEW, so that I can read out the floats and ints?

Это было полезно?

Решение

Can't you use the .NET structs method (GetArray)? That would return an array of .NET objects, that you could read in a for loop for instance. Could you show your code? If you want to initaite the .NET struct you would need to create a .NET constructor for you object.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top