LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem deleting rectangle plots

I'm having trouble deleting rectangle plots on my graph control. Here's what I've found out so far:
- I know (via debugger) the DeleteGraphPlot function is being called with the right parameters.
- I can delete all plots by sending "-1" (this is an OK workaround, but I don't like having to redraw all of the plots I wanted to keep).
- I can delete the plots one at a time if I do it during the same instantiation of the callback function that created them.
- The plots DO NOT delete one at a time if done during a later instantiation of the callback, even though their handle values have not changed.

I'm running LabWindows/CVI version 5.5.
0 Kudos
Message 1 of 2
(2,439 Views)
Hello

Could you post a small project that demonstrates this problem, I would like to try reproduce this on my machine.
Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,439 Views)