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: 

Linking Property Node programmatically to Front Panel objects?

Solved!
Go to solution

When I right-click on a property node, I see the option to link it to any front panel object.

Can this be done programmatically? I am creating three XY Graphs and I want to know if I can control

the plot color for all three XY Graphs with creating ONLY one property node (plot color) and placing it inside a for loop

and for each iteration of the for loop, linking the property node to different XY Graphs.

 

See the image.Untitled.jpg

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

Hi,

 

what you can do is select the "disconnect from control" option when right clicking on the property node (it will become a generic property node to which you need to pass in an XYGraph control reference), place that property node in a for loop, before the loop, build an array containing references to your 3 XYGaphs (right clic on each XYGraph > create > reference).

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 5
(3,038 Views)

Thank you!!

 

Can LabVIEW make french fries?

 

Untitled.jpg

 

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

@murchak wrote:

 

Can LabVIEW make french fries?

 



not too sure about french fries but popcorn yes!


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 5
(3,032 Views)

@TiTou wrote:

@murchak wrote:

 

Can LabVIEW make french fries?

 



not too sure about french fries but popcorn yes!


And in the wrong hands it is easy to make spaghetti. Smiley Very Happy



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 5 of 5
(3,017 Views)