LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing order of plots

hm,

 

did I miss something? There is this interesting discussion on the hidden attribute 20465, but what about

 

GetCtrlAttribute ( panel, PANEL_GRAPH, ATTR_NUM_PLOTS, &plot_handles ); The help says: Use ATTR_NUM_PLOTS to get the total number of plots in a graph

I assume this is the 'hidden' attribute??

 

Wolfgang

0 Kudos
Message 11 of 14
(1,480 Views)

Hi Wolfgang,

 

I believe the hidden ATTR_NUM_PLOTS attibute was properly defined from v8.6.

 

Aaron

0 Kudos
Message 12 of 14
(1,472 Views)

Hi Aaron,

 

Yes, the behavior you're seeing is expected. Changing the stacking order (z-plane) of the plots has no effect on the plot handles. Each time you plot, a unique handle is returned which will always identify this particular plot, regardless of where you end up placing it in the z-plane order.

 

Luis

0 Kudos
Message 13 of 14
(1,458 Views)

Hi Luis, thanks for confirming that.

Aaron

0 Kudos
Message 14 of 14
(1,449 Views)