In this thesis, we choose Xilinx Spartan II and Virtex2 FPGA chip for the hardware platform, and Xilinx Integrated Software Environment (ISE6.3) and Xilinx System Generator tool for Matlab/Simulink as the FPGA design environment. Due to the reconfigurabe, reusable and easy to rapid prototyping properties, we can build up an instrument with customer-defined functions instead of traditional instruments with factory-define functions.