LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab container

Solved!
Go to solution
Part of the problem with the error it that it looks like it is being generated by one of several property or invoke node that are all the same and don't have their error clusters connected so you can't tell which one is generating it. Also you should take the processing code that you do repeatedly and put it into a loop and let the loop autoindex the next reference from the array.

If the problem is the one I suspect, you may find that making that change will fix your problem.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

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

For help with grief and grieving.
0 Kudos
Message 11 of 17
(1,287 Views)

Compare your code to Mikes.  It does not look the same.  It might be tough to compare since your LV is in German.

 

I don't see where you are using the Independent Labels boolean property.

You used "Seitenname" which I translate to Pagename which is probably the property Page Label.  You should be using Tab Caption.

I have no idea what "unabhangbeschriftg" is supposed to mean.  Google translate didn't understand it.

 

 

As Mike said, fix your code to use for loops and auto-indexing tunnels where you can.  Elsewhere, don't take an array, branch it into 5,6 different wires.  Lay down 5,6 different Index Arrays, and then wire a constant to each as 0, 1, 2, ...

 

Index array is expandable.  Drag down the bottom border and you'll get multiple outputs from a singe array.  You don't have to wire up any constants as they will be default be element 0, element 1, element 2, .....

0 Kudos
Message 12 of 17
(1,268 Views)

Hi RavensFan,

 

Seitenname = page label (error messages says: not writable at runtime…)

UnabhängBeschriftg = "Unabhängige Beschriftung" (yes, NI uses a lot of abbrevations in the property nodes also in the German LV version) = independent label

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 17
(1,251 Views)

Hallo Herr GerdW,

 

      Vielen Dank für ihren antwort. Wie kann ich diese fehler sortieren. 

0 Kudos
Message 14 of 17
(1,237 Views)
Solution
Accepted by topic author harisskriss85_85

Hi hariss,

 

you don't need to "sort" those errors - you need to avoid them…

 

You CANNOT write to those "Seitenname" property nodes at runtime. Point.

Use captions ("Registerkartenuntertitel") instead of labels, especially as you already enabled them with those "Unabhäng…" property before!

 

(Cleaning up your code woulod be nice. Using autoindexing loops greatly improves code!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 17
(1,234 Views)

Hallo Mr.GerdW,

 

      Thanks for the corrections. I am not very good in German, So wasnt able to identify the correct property node. Now it works perfectly. I just was trying to check if things work and then i will clean up the code as per your suggestions. Thanks alot

0 Kudos
Message 16 of 17
(1,228 Views)

Hallo Mr.RavensFan and Mr.Mike,

 

  Thanks for the suggestions. Now its working fine

0 Kudos
Message 17 of 17
(1,226 Views)