LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Dropping an existing typedef

Dropping an existing typedef on a front panel is causing me some issues.  Currently, I'm

trying things similar to:

typedef drop.png

This comes up with various type mismatch errors, depending on the owning reference (VI or front panel).  Changing the SubVI class to GenericSubvi or similar classes doesn't seem to make a difference.

Anyone have any hints?

Thanks,

Joe Z.

0 Kudos
Message 1 of 3
(3,784 Views)

While a typedef is technically a VI, when you drop it on a front panel, it's simply a control.

I can't check at the moment, but I assume that changing the class to Control (or even Generic or GObject, as it only affects the type of the output reference) should work.


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

Changing the type to Control worked beautifully, thanks!

Joe Z.

0 Kudos
Message 3 of 3
(2,666 Views)