Deleting waves

Hi,

I have a simple question. I am trying to delete some folders from the data browser (data folders that an add-on macro to igor creates), but I get the following message: "can't kill graph that is part of a graph, table, user function or is in use by an XOP". I have no tables or graphs open at the moment. How can I determine where the waves I want to delete are being used? Is there a command for me to override this (delete them regardless of where they are used? )

Thanks,

Steven
Hello Steven,

If you select one or more waves in the Data Browser and click in the Delete button you should be able to delete them unless they are in use or locked.

If you are convinced that there are no graphs or tables in which these waves appear, and if you are not using any third party XOPs that might mark the waves as "in use", you should find out if the waves are locked. To see that, execute on the command line:
ModifyBrowser userLevel=9


Now look at your selection and see if there are any red lock marks in the top-left of the wave icons. If any of these are locked you need to unlock them before you can delete them. Before you do that though I recommend finding out why they are locked -- maybe the author of the procedure(s) had a good reason to do so.

A.G.
WaveMetrics, Inc.
This is probably not it but . . .

Also check to see if the wave is used in a dependency formula. This might occur if, for example, if you created a dependency or a package that you use created a dependency for one reason or another.

To do this, choose Misc->Object Status. Then, from the popup menu to the right of "The Current Object", choose Dependent Objects. If any waves appear in the lists, you need to delete the corresponding dependency in order to kill the wave.

We recommend avoiding dependencies if possible because they create non-obvious . . . what is the word I'm looking for . . . dependencies!

To read about dependencies:
DisplayHelpTopic "Dependencies"