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: 

Create a struct in MathScript and pass to LabVIEW

I have inherited a pile of MatLab code and am moving it to LabVIEW MathScript.

 

Some of these scripts create structures for other scripts.

 

When I put them in MathScript node, the output is "black".  LabVIEW can't determine what the variable type is.  None of the options work.  It is supposed to be a cluster, or a cluster within a cluster, but that isn't an option.

 

How do I get the data to pass out in a form I can use without massively rebuilding the data format for my "pile of inherited code"?

0 Kudos
Message 1 of 2
(3,066 Views)

My version of Labview (2012) only supports these datatypes for MathScript.  Check the help file.

Capture.PNG

aputman
Message 2 of 2
(3,031 Views)