In both cases, data can be imported into ZEMAX by adding a surface of the correct type, opening the Extra Data Editor, and using Tools > Import to import the datafile from the interferometer software. The datafile must have the extension .DAT
Whatever surface type is used, the surface should be placed at a pupil plane, and the semi-diameter of the surface should correspond to the size of the surface or wavefront under test. This ensures that the phase is correctly added to the optical system.