An electronic function generator for charged particle identifier techniques