LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Nasty LV Quirk

The property node does not disappear if the TypeDef is first promoted to Strict, then downgraded to Control.

Of course, the container vi must be in memory and changes must be applied for each modification.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 11 of 15
(679 Views)

@billko wrote:

How about finding each instance and disconnecting it?  Then, only after all the typedefs have been disconnected, make the typdef a control?


If all instances are disconnected, you might as well delete the type def...

0 Kudos
Message 12 of 15
(671 Views)

I've hit a bump in the road with my scripting: In addition to disconnecting the boolean controls, I want to disconnect any linked boolean constants; but I can't figure out how to get the typedef path from a boolean constant.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 13 of 15
(648 Views)

Use the type def path property?

 

Or get the constant Terminal value (variant), and use variant tools to get the type def path:

 

Type Def Path From Constant.png


Message 14 of 15
(645 Views)

wiebe@CARYA wrote:

@billko wrote:

How about finding each instance and disconnecting it?  Then, only after all the typedefs have been disconnected, make the typdef a control?


If all instances are disconnected, you might as well delete the type def...


Well, he did say he wanted to keep the control as a control.  The whole point was to make it a control without making all the property nodes go away.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 15 of 15
(638 Views)