added writedta option to processVISION