LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can do UnSubVI?

When I mark part of code and click on Edit-Create SubVI the celected code will change on SubVI. 

How can I do oposite step. How can I do from SubVI normal code?

 

Thanks

0 Kudos
Message 1 of 15
(2,892 Views)

If you want to re-do the "create subVI" action whilst still working on it, try the undo function from LV.

If you have closed the VIs inbetween, there is not much you can do about it except copying the block diagram of the subVI back into the caller and then removing the subVI.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 15
(2,885 Views)

You can edit your LabVIEW.ini file and change the option "inlineSubVIEnabled"

 

Or you can use the JKI Right Click Framework.

 

Best regards,

Jens

Kudos are welcome...
0 Kudos
Message 3 of 15
(2,875 Views)

I tried this with undo but when I save and close LabView then is no way back. Any way how do in program doesnt exists?Smiley Surprised

0 Kudos
Message 4 of 15
(2,873 Views)

One question yet.I cant find how change name of subVI...?

0 Kudos
Message 5 of 15
(2,859 Views)

VIs are named once they are saved.

If you saved it with an improper name (e.g. 'Untitled 1.vi'), you can use the "Save As" function to rename it.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 15
(2,843 Views)

Hi adssad,

 

simply mark the subVI in the project explorer and press F2...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 15
(2,833 Views)

Isnt working in explorer project. On click F2 doing nothing.

0 Kudos
Message 8 of 15
(2,828 Views)

Hi,

 

when I select a VI in the LabVIEW project explorer and press F2 I can rename that VI...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 15
(2,825 Views)

As far I know you cannot go back to the code from the sub VI when you have saved and closed it. From 2011 even if you save your undo works but if you have closed the vi there is no way back.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 15
(2,822 Views)