LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lost typedef-ness

I created a complex cluster control. I said "Make typedef". It did, and I saved it as Meta Bundle.ctl . I created several instances of it, in various VI's. But now, if I right-click on one of them, the menu item says "make typedef" not "open typedef". And if I drag from the control from the project window (or from its icon in the upper right of its own window) into another VI, the created instance likewise says "make typedef" not "open typedef". This happened to more than one custom control. It seems like they're losing access to their typedef nature.

 

Is this a familiar problem? Any help for it?

0 Kudos
Message 1 of 7
(1,563 Views)

Never saw that before.

Post Meta Bundle.ctl and I'll look at it,

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 7
(1,554 Views)

Be careful that you are actually dragging the control either from the project or from the icon of your open typdef.  A common mistake is to drag the actual control off the front panel of your .ctl file onto wherever you want it to be.  This will NOT create a typedef'd link.

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.
0 Kudos
Message 3 of 7
(1,536 Views)

@Ken_Brooks wrote:

I created a complex cluster control. I said "Make typedef". It did, and I saved it as Meta Bundle.ctl . I created several instances of it, in various VI's. But now, if I right-click on one of them, the menu item says "make typedef" not "open typedef". And if I drag from the control from the project window (or from its icon in the upper right of its own window) into another VI, the created instance likewise says "make typedef" not "open typedef". This happened to more than one custom control. It seems like they're losing access to their typedef nature.

 

Is this a familiar problem? Any help for it?


That sounds like you saved the ctl as a "Control", not a "TypeDef".


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(1,528 Views)

Crossrulz, where would I even make that choice?  I've always saved my new typedef controls without giving it any thought!

0 Kudos
Message 5 of 7
(1,472 Views)

Here is the weird control, slightly renamed to make room for my newer attempt.

0 Kudos
Message 6 of 7
(1,471 Views)

You've saved it as a Control, not as a TypeDef.

c.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 7 of 7
(1,464 Views)