ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control + Vi scripting issue

Solved!
Go to solution

Hello,

           I have a tab control in my sub vi, which in turn has a subpanel (let say sp).now i have another vi which needs to be loaded in the tab subpanel. But i am getting an error saying invalid vi reference in insert vi. Opening a vi reference in tab control sub panel gives this error.

            un.jpg

 

 

 

“Talk is cheap. Show me the code.”
― Linus Torvalds
0 Kudos
Message 1 of 6
(3,403 Views)

There is no fundamental reason I am aware of for this to fail.  Post your code and we will take a look (talk is cheap, show me the code 😉 ).

0 Kudos
Message 2 of 6
(3,396 Views)

I don't get an error. LV 12.0.1f3

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 6
(3,383 Views)

Please tell the purpose fully, then no need to talk cheapRobot tongue

Boldness has genius, power and magic in it!'
0 Kudos
Message 4 of 6
(3,374 Views)

Only with tab control I am not able to retrieve VI into the sub panel

“Talk is cheap. Show me the code.”
― Linus Torvalds
Download All
0 Kudos
Message 5 of 6
(3,349 Views)
Solution
Accepted by arupoon8

Well I figured out where I went wrong. I am closing the Vi reference even before i am trying to load it in subpanel.

“Talk is cheap. Show me the code.”
― Linus Torvalds
0 Kudos
Message 6 of 6
(3,344 Views)