Showing results for 
Search instead for 
Did you mean: 

Identify typedef

Is there a way to identify typedef as strict or just plain typedef programatically? I could not find a thread on this in forums.
Ya Ya
0 Kudos
Message 1 of 7

Only idea I have: Try to change a property that you cannot change for a strict typedef. If you get an error, it is a strict typedef. If it is not, you can change the property's value back to the value it had before the change.

I think that no common property exists that you can use for this. This prevents you from doing it the generic way.

Does anyone have a better idea?

Regards, Guenter

0 Kudos
Message 2 of 7
Use the node in the attached .vi
Message 3 of 7

Thank you both for your help. My next question in the same line is

Can we dynamically open a strict typedef cluster and save it to typedef



Ya Ya
0 Kudos
Message 4 of 7
It's the same as looking to see what type the control is, you just write to the property node instead of reading it.  Open a VI reference to the control, use the property node CtrlVIType and wire in a constant of typedef to it.  Just like the VI I have attached.
Brian Coalson

Software Engineer
National Instruments
0 Kudos
Message 5 of 7
          This is the one I have been looking for. Thank you so much 🙂
Ya Ya
0 Kudos
Message 6 of 7


Is it a Private property, I mean, NOT available in LV 7.1 ?

Please clarify me...

- Partha ( CLD until Oct 2024 🙂 )
Message 7 of 7