I have a chart on which I'll plot one or more signals. I can't predict the signal names in advance so I'd like to programmatically change the legend(s). Is there a way to do that in LV 6.1?
- Create a property node for the chart - add elements for "Active Plot" and "Plot -> Plot Name" - Wire an index of the plot name you want to change to "ActPlot" - Wire an string with the new name to "Plot.Name"
A simple implementation would be to make an array of new names and then auto-index a for loop with the increment counter tied to "ActPlot".