LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subpanel for vi in memory

Solved!
Go to solution

Hey all,

 

I have a subvi in a project that I would like to insert into a subpanel. To complicate things, the vi is called directly elsewhere in legacy code that can't be easily changed (simulated by the false case structure at the bottom). Is there any way I can still call and run the subvi in the subpanel when it is loaded elsewhere?

0 Kudos
Message 1 of 3
(2,314 Views)
Solution
Accepted by topic author ATE-EGNE

Try making your subVI reentrant. Right-click it, properties, execution and select Shared Clone reentrant execution or Preallocated clone reentrant execution.

Edit: since your sub contains an event structure you must use the Preallocated Clone setting.

Ben64

Message 2 of 3
(2,305 Views)

There we go! Thank you for being here and awesome!

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