The paper introduces the design principle and implementation method of phase difference meter,which uses Alter CPLD FLEX10K chip as the kernel of virtual electronic instrument and by means of Delphi 5.0 in Windows95/98 the interactive interface is realized.The phase difference meter can efficiently test the phase difference of two cycle signals that are sine wave and square wave whose voltage range from 50mV to 10V and frequency range from 0.2Hz to 13.8 KHz,with 4πf/10 7 definition and display defin...