LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subpages

Hi ugurkara,

 

you have to provide the new page number for each condition (each navigation button)...

 

Right now you only use two buttons to determine which page to show next!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 21 of 28
(1,140 Views)

hi gerdW,

i made some practise about my issue. i want to summarize my project. I have 40 pages. in my vi attached below, whenever i insert new pages it gives a broken wire error. you can easily see the problem by looking the vi. shortly i want to control or show 40 pages also they will be free each another.

0 Kudos
Message 22 of 28
(1,128 Views)

Hi ugurkara,

 

you have to create the tab control (with all it's pages) first. Then you can create those enum constants: the enum type of the tab control changes when you add/delete pages. Thus you get broken wires when connecting outdated enums (or all those red coercion dots, when the enum constant is a subset of the tab enum type)...

 

Do you really want a UI with 40+ pages tab control? REALLY?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 23 of 28
(1,123 Views)

40 tab pages can work, but i'd say it's a case for hidden tabs. 😉

(later on, you'll probably need to see them while developing)

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 24 of 28
(1,117 Views)

i tried all possible conditions but i did not success to eliminate the problem. i checked the properties and din not see any differences. you are right, after editing page format changes. 

0 Kudos
Message 25 of 28
(1,113 Views)

You did not do what Gerd said if you still have a problem. Since the tab is an enum and when you add pages, the enum changes, you cannot use the constant you originally created. Delete it and create a new one.

0 Kudos
Message 26 of 28
(1,111 Views)

hi guys,

tahnk you again. i did and successed. but now i need help again but now topic is different. i want to run the vi together with my main vi. whenever i run the ykpa01 vi, i want to run  terminal vi but i do notwant to see simple terminal vi at front panel. because i use terminal vi only for communicating my test stand so i do not need that at front panel. it will oerate only block diagram and it will help me to communicate the test stand.

Download All
0 Kudos
Message 27 of 28
(1,094 Views)

If you don't want to show the front panel, you need to modify the subVI and remove the while loop. As it is, when you call it, the subVI has no way to stop.

0 Kudos
Message 28 of 28
(1,075 Views)