Several methods of mixed programming with LabVIEW and Matlab are introduced.Taking explosin test as application background,the design method and implementation process using MathScript node and COM technology are mainly discussed.Based on this,the advantages of LabVIEW's interface development and Matlab's rich data operation functions are combined to achieve the fitting of explosion pressure field and dynamic compensation of temperature measured.
Based on LabVlEW platform, a distributed dynamic storage testing system is designed for measuring transient high temperature signals of explosion field. Using a highpower semiconductor laser as heat source, a traceable dynamic calibration system is established to perform dynamic calibration of thermocouples. With quantumbehaved particle swam optimization (QP-SO) algorithm on MATLAB platform, a model of dynamic compensation filter is established. It is used by LabVIEW that calls MATLAB Script nodes or COM components to accomplish the mixed programming of LabVIEW and MATLAB, further to compensate the temperature values of the thermocouples dynamically. The experimental results show that the technique that combines temperature measurement system with LabVIEW platform is applied well in testing the explosion temperature of ther mobaric weaponry and makes the compensation values closer to the actual signals.