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
(3,084 Views)
Solution
Accepted by 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 LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(3,052 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
(3,043 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
(3,040 Views)

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

0 Kudos
Message 5 of 5
(3,030 Views)