03-13-2013 04:47 AM
03-13-2013 08:36 AM
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.
03-13-2013 08:40 AM - edited 03-13-2013 08:41 AM
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?
03-13-2013 09:05 AM
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
03-13-2013 09:25 AM
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.
03-13-2013 09:27 AM
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.
03-14-2013 08:43 AM
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.
03-15-2013 09:20 AM
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.