HALCON codes for data recording