10-16-2015 11:48 AM
Dear all,
I have a subVI reading files and making a multi-plot XY graph with the data. Part of the subVI code is also setting some properties of the XY graph indicator, using a property node, such as plot names, and styles. When run as standalone, it is fine. But then I need to run this VI as part as a larger program. The XY graph indicator is an output of the subVI, and in the main program, I have an indicator connected to the output of the SubVI generating the graph.
But this doesn't work. The data is there as expected, but none of the properties that I set within the subVI, which is also logical, because they act on the indicator which is in the subVI, but not the one in the main program.
Is there an easy way to have all of the properties from an indicator located inside a subVI be transfered to the indicator to which it is connected in the main program?
Thanks for your help,
Sam
Solved! Go to Solution.
10-16-2015 11:58 AM
You need to pass in a reference to the graph you want to set the properties to. You could make it default to the graph on the subVI so that it will still work as a stand alone.