A multi-channel readout electronics system for GEM and MICROMEGAS