In this paper the virtual instrumentation is successfully introduced for the measurement for autofrettage of the barrel. Based on virtual instrumentation, a set of measuring and controlling system integrated with sensor, data acquisition and control is developed. It presents a useful way and technique approach for building the intelligent testing and controlling system for autofrettage. The paper mainly contains the design of a new foil-like manganin gauge, a DAQ system based on virtual system as well as th...