LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Save typedef using scripting

I am sucessfully parsing heritage *.h files in order to generate clusters on the block diagram using scripting. Can I programatically save these clusters as strict typedefs? Is it possible to do this without the inclusion of any additional toolkits/plugins besides the scripting api?

Thanks,

Bill

0 Kudos
Message 1 of 4
(5,321 Views)

You can use the ControlVIType property of VI to set the control as a strict typedef.  Then save as usual.

StrictTypedefCreation.png

0 Kudos
Message 2 of 4
(2,996 Views)

Did you look at the examples I linked to in the original thread? They show exactly how to convert a constant to a typedef and how to work with clusters.


___________________
Try to take over the world!
0 Kudos
Message 3 of 4
(2,996 Views)

Thats exactly what I was looking for. Thanks!


0 Kudos
Message 4 of 4
(2,996 Views)