Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top