LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

urgent ! help ! Pop-up panel invalidates graph cursor to snap to plot point.

I used PlotXY in the graph control with cursor attribute of '"sanp to point" and produced a plot. Everything is OK before popup a pop-up panel. After the pop-up panel removed, the cursor can't snap to any point of the plot. I tried "SetPlotAttribute (... ATTR_PLOT_SNAPPABLE, 1)","SetPlotAttribute (..., ATTR_PLOT_ZPLANE_POSITION, 0)", they don't work.  I don't know how to solve this problem. I need your help!
0 Kudos
Message 1 of 2
(2,619 Views)
I have already solved my problem. I found that if the function executed when comes the EVENT_VAL_CHANGED events of GRAPH, the cursor can't snap to the plot. I let the function executed after receiving the EVENT_COMMIT events of GRAPH, everything is OK !
0 Kudos
Message 2 of 2
(2,594 Views)