11-18-2010 01:31 PM
I am modifying a program that has an XY Graph on the front panel. It has 5 plots. When I started working on it it had the first 3 plots shown in the plot legend. I have added a second Y scale and made the last 2 plots visible in the legend. I then change the names of the last two from plot 3, plot 4 to something meaningful, and assign plot 2 and plot 4 to the second Y scale. When I run the VI the names of 3 & 4 revert to plot 3,4 and plot 4 reverts to the first Y scale. I tried this programatically, with assign the active trace etc. but I can only change the attributes of the first three plots. What's up with that?
Solved! Go to Solution.
11-19-2010 01:25 PM
I left out one detail in the first posting. The chart gets it's data from a sub-vi, which was created using "create sub-vi". The data is passed to the chart via property node. I destroyed the reference, control refnum, and property node. Then I changed the plot names and axis assignments, and then recreated the reference, control refnum, and property node. All is well.