new code to generate signal input file for all signal points.