From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to put property node inside for loop?

Solved!
Go to solution

I have created three separate property nodes (plot color) for my 3 XY graphs.

Is it possible to have one property node, say plot_color_i and put this inside the for loop where i runs from 1 to N,

where plot_color_1 would update XY Graph 1, plot_color_2 would update XY Graph 2, etc.?

 

See the attached VI.

0 Kudos
Message 1 of 3
(2,292 Views)
Solution
Accepted by topic author murchak

Yes.  Create an array of references of the XY graphs and have that auto-index into the property node in the For Loop

Message 2 of 3
(2,286 Views)

Thank you Ravens Fan!

 

0 Kudos
Message 3 of 3
(2,260 Views)