What kind of data are you trying to show on the image?
AddData does the same thing as LoadText does in a pipeline. The way it is set up now, DisplayDataOnImage looks for whatever measurement you specify and uses the objects X and Y locations to display the information. This means that if you use LoadText to add a measurement, you must add as many measurements as there are objects. This really only makes sense to use for a single image where you know the number of objects OR when using a grid, since there are always the same number of objects in each grid. If you explain more what you are trying to do, I can tell you if it is possible or not, and if it is not, maybe we can add it to the next release of CellProfiler.
Did you notice in the new version of CellProfiler that in Set Preferences you can choose to run a pipeline without displays? So now you can create a working pipeline, save the preference, and then when you run it no windows will pop up! Our plan is to move that option into a set of “quick options” which can be toggled for every analysis instead of having to save the preferences.