LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Legend Plots Shown change details

I today noticed LV 8.5 has changed the XY Graph "Legend Plots Shown"; it now reads in its description that is no longer supported and that Legend : Number of Rows has taken its place. There were several forums discussing an error 1077 when not setting Legend: Plots Shown before changing Plot properties using Active Plot (i.e. this forum). Where I had used this property before, it seems I can take it out without the error 1077 being thrown. It seems I do not need to set the Legend: Number of Rows OR Legend: Plots Shown.
 
I was wondering if anyone could expound on why the change was made, and whether I have to worry about this error again (i.e. can I take out the Property Node as it seems?).
 
Michael
0 Kudos
Message 1 of 3
(3,065 Views)
Michadl,
I can't answer your question specifically, but here's how I set the number of plots and their names in the legend of my graphs from control inputs:







Message Edited by Bill@NGC on 02-09-2008 01:50 PM
Download All
Message 2 of 3
(3,045 Views)
Hi Miguel,
 
We had noticed this behavior, and this was why we have implemented a different property node.  The issue was because the property node would first not accept a value of 0 wired into the Legend: Plots Shown, because this would not make much sense.  Effectively, R&D felt that this was an invalid input since you probably would not need to even wire in that value if you didnt want the plots in the legend to show.  
 
Also, you would get error 1077 if you attempted to set the number of active plots to a greater number than the number of actual plots you had, then this would also throw out an error.  As DonRoth had indicated, the earlier property node actually set the number of plots as well as the number of visible plots in the legend.  Now this IS unexpected behavior that still exists in 8.5.1.  Although the number of rows will accept a 0 input now, you will still get an error 1077 if you attempt to have more active plots than the number you set for the number of plot legends. 
 
So yes, you will still get error 1077 if you wire in a number equal to or greater for ActPlot than for LegNumRows.


Message Edited by TMC-NI on 02-11-2008 11:03 PM
0 Kudos
Message 3 of 3
(3,028 Views)