LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with VIs saved without the diagram, when loaded from the controls palette

I developed a specific control, I saved it without the diagram, and loaded it in my control palette.
In a new VI, when I take this specific control from my control palette and run my VI, the control won't work at all : nothing happens, just as if the diagram code was not stored with my specific control.

Any idea?
0 Kudos
Message 1 of 2
(2,834 Views)
Helene,

yes, you are right if you have a specific Control with Diagram code, but you save it without diagram, than you cannot use it in the function palette (as Merge VI) nor in the control palette (as extended control).

However, I don't know why you want to do that. And technically, I guess, it is not possible to have no diagrammed "SubVI"/extended control without code in the development phase of a New VI.

Workaround: Save your extended Control with diagram and configure it as Merge VI in the palette and once you are done with using this Merge VI/extended control in the new VI, you save this new VI without diagrams.

If you would post this behavior on the LabVIEW (only) forum, instead of LabVIEW DSC, you might get some more LV guru answers.

Hope th
is helps
Roland
PS: A LV control (without any code) is a .ctl and cannot be saved with options>remove diagram, thus I assume you mean an "extended control" with diagram code.
How Can I Place the Block Diagram Code Snippets on a Palette?
How do I Put Snippets of Code on My LabVIEW Palettes?
0 Kudos
Message 2 of 2
(2,834 Views)