LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create "Page" property node with "PageVis"?

Solved!
Go to solution

Simple question: How to create "Page" property node with "PageVis"? I checked through the property node of tab control but I still can't find it.

0 Kudos
Message 1 of 5
(1,777 Views)
Solution
Accepted by topic author Crazy6a3er

Hi Crazy,

 

the property node in your image clearly shows the name "pages[]" and gives you an array of references.

Then use an indexing operation to get the reference for each page…

To get the "Page" property node inside to FOR loop you place a generic property node inside the loop and connect it with a wire to the "pages[]" property.

Have you tried this simple wiring operation?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 2 of 5
(1,745 Views)

Greetings, GerdW.

I tried it and for some reason, it really works! Can you explain it to me why do I need to put FOR loop? If I don't put FOR loop, it will show an error.

0 Kudos
Message 3 of 5
(1,736 Views)

The For Loop has an autoindexing tunnel so it indexes out each page element from the array of pages that comes ouf the the Pages[] property node.

0 Kudos
Message 4 of 5
(1,733 Views)

Many thanks for the explanation, RavensFan! Now, it really makes sense.

0 Kudos
Message 5 of 5
(1,723 Views)