The comprehensive parameters of a dual-fuel engine for special heavy vehicles directly reflect vehicle performance. This paper takes the Yuchai YC6K420 series of inline six-cylinder CNG/dual fuel engine special heavy-duty vehicles as an example to build the comprehensive parameter test system for the engine. The PXI 6251 capture card is used to acquire engine analog signals. The fuel consumption and gas consumption meters of three German Endress + Hauser (E + H) companies are combined to measure, display and store fuel consumption and gas consumption data. The system data acquisition program mainly includes channel creation, configuration and signal acquisition, which can realize system data reading, filtering conditioning, display and save. The electronic control unit in the system uses the periodic interrupt to send and receive data, and analyzes the data transmitted by the CAN communication module of the controller area network through the data feedback function. The data is restored to its true value and displayed graphically. The test results show that the system can effectively detect the temperature of the vehicle's dual fuel engine. At the same time, it can be learned that the in-cylinder combustion of the dual fuel engine is relatively flat, and the maximum combustion heat release rate is relatively low; when the load and the rotational speed are low, the combustion duration is relatively long. Keeping other conditions constant, reducing only the nozzle flow area is not conducive to improving the combustion characteristics of the dual fuel engine.