A data converter for an adaptive programmable measurement system