In the laser fuze automatic test system, the test parameters are numerous and the testing process is complex. The test software based on traditional design patterns of LabVIEW is obviously deficient in the scalability and maintainability. In order to solve this problem, an extended producer/consumer design pattern of LabVIEW is presented. Based on the test instrument, the complex test process is decomposed into multiple single test steps. Object-oriented programming is introduced to effectively reduce the coupling between test steps. The queue state machine is used to ensure multi-instrument coordination and multi-threaded parallel execution. In this way, an effective combination of test steps is achieved and the complex test process can be ultimately completed. Software based on the extended producer/consumer model has been applied to laser fuze automatic test system, and its scalability and maintainability are verified. The software has a high practical value. Furthermore, the proposed design pattern can also be used in complex measurement and control software developing.