From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I have written a data capture program that saves several image overlays into a "PNG with vision info" file. I then load this with another program and reconstitute the data. I have been able to selectively delete some overlays if I use the same name with the IMAQ clear overlay VI, but for this I have to know the exact name of any overlays present. Is there any way to get a list of the overlays present in the embedded data, so I don't have to guess the overlay names?
You may want to look into custom "keys", used to store extra information with an image and retrieve it. This way you can name, and more importantly know the names of the IMAQ overlay.
Attached is a piece of code that shows the general use of using these key functions. It is not executable, but it shows the layout of the functions.