LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Annotation Index Issue

Hey,

 

I have a slight issue with annotation indexing, basically I'm loading up to 5 sets of data to the same graph, these consist of a plot and annotation for each. I want to be able to let the user clear and re-plot each set of data and annotation as they wish, i.e. clear the first set of data and annotation and re-load another set whilst keeping slots 2 and 3 loaded. However from what I understand the indexing of annotations doesn't work in the same way as plots. Meaning that when I'm clearing and re-loading annotations in a different order from how they were loaded, eventually it ends up deleting the wrong annotation with the wrong plot. Is there any simple work-around for this?

 

Cheers,

 

Ben 

0 Kudos
Message 1 of 2
(2,900 Views)

No worries, I've managed to come up with a solution, it's perhaps not the most elegant solution in the world but it works!

0 Kudos
Message 2 of 2
(2,894 Views)