LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab Control will not build properly if "tab location" are on left or right.

Using LV 6.1, try the following;

Create a new vi. Place a Tab control,(from the Arrays & Clusters palette), on it's front panel. Right click on one of it's tabs and follow "Advance-->Tab Location-->select Left". Save your vi. Create a build for it and run the program. Does anyone know of a fix for this? Does this also happen on LV 7.1?

Thanks
0 Kudos
Message 1 of 8
(3,420 Views)
I was able to build and run a program following your instructions. I saw no problem. What do you mean by "will not build properly"? Do you get an error or what?
0 Kudos
Message 2 of 8
(3,420 Views)
That is good news to me. That probably means I am doing something different here.

What happens to me is that when I create an executable of a VI which uses a Tab Control that has had its tabs set on the left or right of the control instead of its original location, the tabs are now all stacked on top of each other at the very bottom and the text labels are not shown.

I don't know how else to explain this. I've attached a sample of a vi I used to test this. Please take a look at it.

Thank you,

Wil
0 Kudos
Message 3 of 8
(3,420 Views)
I can't explain it either but if I resize the tab control by even a slight amount, the tabs get displayed correctly.
0 Kudos
Message 4 of 8
(3,420 Views)
Are you saying that you are able to resize the tab control and then create an executable that displays correctly?
0 Kudos
Message 5 of 8
(3,420 Views)
Yes.
0 Kudos
Message 6 of 8
(3,420 Views)
I tried doing just that but it still didn't work for me. ???

I wonder if anyone else tried this and what the results are!

Thank you Dennis,
Wil
0 Kudos
Message 7 of 8
(3,420 Views)
Hi Wil,
I opened your Tab Control VI in LabVIEW 6.1 and LabVIEW 7.0.

In LabVIEW 6.1, the tab control did show up in the weird way you described. However, in LabVIEW 7.0, the tab control looked normal. It could possibly be an unexpected behavior in LabVIEW 6.1 that was fixed in LabVIEW 7.0.

Download the evaluation version of LabVIEW 7.0 and give it a shot. http://ni.com/labview

Sincerely,
Feroz
National Instruments
0 Kudos
Message 8 of 8
(3,420 Views)