Record dot position into csv file