LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview tabcontrol when i reopen application the reference from tabcontrol are all gone

Solved!
Go to solution

I had the vi saved and then the next day i opened all the reference like the page name ,where gone and if i click the reference of tab control now it shows the elements inside the pages and there is three blank spots at the start of dropdown of the reference, i have like 9-10 tabs in tab control . like login page, parameters, loop control etc, in login page i have user name and password indicators, like iwse in parameters i have 15 parameters in numeric input, when i dropdown the refernce i see three blank spot,username ,password,parameters, so on.

yesterday evening i added like 4 tabs and i had a tabbing logic when when the task in first tab is done then move to second tab like that . that logic uses reference this disrupt the flow help me with this anyone i cant provide image at the moment 

0 Kudos
Message 1 of 8
(211 Views)

Hi abishek,

 


@abishek1212 wrote:

help me with this anyone 


How should we help with your issue when you don't provide any substantial information?

 


@abishek1212 wrote:

i cant provide image at the moment 


I guess you know we cannot edit/debug/run images in LabVIEW.

Please provide (real) code!

(I prefer code backsaved for LabVIEW 2019.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(199 Views)
Basic question, did you save the file? do you use source code control, and did you commit/push? is there a chance that something is overwriting?
Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 3 of 8
(149 Views)

@abishek1212 wrote:

I had the vi saved and then the next day i opened all the reference like the page name ,where gone and if i click the reference of tab control now it shows the elements inside the pages and there is three blank spots at the start of dropdown of the reference, i have like 9-10 tabs in tab control . like login page, parameters, loop control etc, in login page i have user name and password indicators, like iwse in parameters i have 15 parameters in numeric input, when i dropdown the refernce i see three blank spot,username ,password,parameters, so on.

yesterday evening i added like 4 tabs and i had a tabbing logic when when the task in first tab is done then move to second tab like that . that logic uses reference this disrupt the flow help me with this anyone i cant provide image at the moment 


I don't really understand what you mean with 'reference' and 'dropdown of the reference'.

But if you enter values in controls and want them to be there again the next time you open the VI you can make use of 'Make Current Values Default' from the 'Edit' menu and save the VI.

Message 4 of 8
(147 Views)

@UliB  ha scritto:

I don't really understand what you mean with 'reference' and 'dropdown of the reference'.

I guess he refers to the drop-down list that appears when you link a reference or a property node to a given control.

If my guess is correct, some controls belonging to the tab misteriously disappear.

Having blank elements ("blank spot") in the list is certainly unusual. Are they really blank = empty?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 5 of 8
(131 Views)

Your description is insufficient, ambiguous, and contradictory to even start troubleshooting.

 

  • How can you click a reference if you say in the subject that they are "all gone"?
  • If this is a monolithic VI, why would you even need references? None should be needed!
  • What are parameters?
  • What action is "drop down a reference"?
  • If the tab is exclusively controlled by code (i.e. not by the user), it should be an indicator.
  • What is the code architecture?

 

Please attach your VI. (If it is a newer version, do a "save for previous" (e.g. 2019) before attaching.) we cannot debug images.

0 Kudos
Message 6 of 8
(130 Views)
Solution
Accepted by abishek1212

sorry i am new to labview and i said mistook local variable for reference. What happened is i renamed the page in the tab control module in my vi and it did not show any error when i saved and then i did some changes and saved the file and left for the day, next day when i opened it again and i could not run the program for some reason. when i checked the local variables which where connected to page constant for navigation in condition loop where disconnected, i was not able to find out what the problem was so i put a question in forum, after that i found out that the pages i renamed did not change the page constants values it remained as page 2,page 3 so it did not connect with the local variable of tab control. 


The issue got solved thank you sorry for the inconvenience

0 Kudos
Message 7 of 8
(48 Views)

yes it was blank, the local variables where blank for tab control

0 Kudos
Message 8 of 8
(40 Views)