Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top