Reconfigurable digital instrumentation based on FPGA