A test and control system for multiway valves fatigue life was developed based on LabVIEW. The hydraulic principle of this system was designed. Necessary parameters of this system could be set automatically. For example, pressure of test, the speeds of pressure rising and falling, pressure maintaining time and so on. This system could be use to simulate different test conditions by controlling these parameters. Also, this system could be taken some protective actions and be calculated the test time by analyzing the pressure data.