LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab container

Solved!
Go to solution

Hallo,

 

      I have five graphs in 5 tabs placed in a tab container.  How to change the names of the tabs in a tab container automatically?  Or how to change the Caption for a Graph automatically with input being strings for these names. Thanks in advance.

0 Kudos
Message 1 of 17
(5,406 Views)

Hallo,

 

 Please find the image for further reference

0 Kudos
Message 2 of 17
(5,404 Views)
Solution
Accepted by topic author harisskriss85_85

@harisskriss85_85 wrote:

Hallo,

 

      I have five graphs in 5 tabs placed in a tab container.  How to change the names of the tabs in a tab container automatically? [...]


 

tabs.png

 
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 17
(5,391 Views)
Given that you seem to be early in your development process, may I suggest some alternatives to tabs. Tabs exacerbate problems like complicated code, and can cause a variety of update problems -- especially with graphs.

1. Instead of switching between graphs on multiply tabs, have one graph and simply select which data you you want to display in it.

2. Use subpanels to improve the modularity of your application by turning the logic required to generate each graph into a separate process. (The link in my signature shows how to do that.)

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 4 of 17
(5,377 Views)

It works!! Thanks alot

0 Kudos
Message 5 of 17
(5,364 Views)

Hallo Mr.Mike, 

 

 I could not find the link you mentioned. Thanks

0 Kudos
Message 6 of 17
(5,359 Views)

@harisskriss85_85 wrote:

Hallo Mr.Mike, 

 

 I could not find the link you mentioned. Thanks


"... after all, He's not a tame lion..."

 

It is a link to he blog.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 17
(5,355 Views)

Hallo Mr.Jcarmody,

 

 

 Please find the attached image showing the error..when I tried to incorporate the steps you mentioned in my code.

0 Kudos
Message 8 of 17
(5,337 Views)

Will go through it. Thanks

0 Kudos
Message 9 of 17
(5,336 Views)

Hallo Hariss,

 

die Fehlermeldung ist doch sehr eindeutig: die Property darf zur Laufzeit nicht geschrieben werden…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 17
(5,326 Views)