Share this

Research on the Framework Structure of VXI General Testing Software

2026-04-06 06:22:52 · · #1
1. Introduction With the evolution of testing instruments from analog to digital, and from single instruments to bus-based plug-in instruments, software development has become extremely important. The proportion of costs allocated to software research and development within the overall system development cost is on the rise. Minimizing the cost of developing and using software while ensuring its usability, versatility, maintainability, scalability, and portability has become a crucial aspect of testing system design. In traditional testing system software development, programs are arranged step-by-step according to the testing task requirements. If there are many test points and complex test parameters, the test program becomes extremely large, making structured and modular design difficult. Furthermore, as the testing field expands and the range of test parameters extends, this process is reflected in the program design as constant modifications, making system maintenance increasingly difficult. Simultaneously, even slight changes to the test object render the program's usability almost zero. Therefore, traditional testing software suffers from poor versatility, maintainability, and portability. Addressing the shortcomings of traditional test software design, this paper proposes a framework-based structural design method and applies it to the integrated testing system of a new type of missile in China. This method significantly improves usability, versatility, maintainability, expandability, and portability. Below, we elaborate on the design concept and the specific application of the system. 2. Overall Structural Design Concept The system uses a certain type of missile as the test object. The measurement tasks are heavy, requiring a comprehensive evaluation of the missile's technical performance. This necessitates testing item by item, from static to dynamic testing, from passive to active testing, and from decomposed testing to overall testing. Many parameters need to be measured, making analysis and processing very difficult. Analyzing the static and dynamic test parameters and comparing them with the designed performance indicators helps identify problems and ensure missile quality. Considering factors such as system size, electromagnetic interference, power supply, system reliability, and testing speed, we selected a VXI bus-based measurement and control system. The entire missile testing system adopts a network measurement and control mode. The main computer uses a VXI embedded computer to improve testing speed, control the VXI instrument modules, and control the front-end computer via a network card. The front-end computer is a high-performance microcomputer driving RS-422, RS-485, and GPIB interfaces to complete the real-time communication and control functions for the missile. The VXI test instrument modules include an HP E6234A embedded computer, an HP E1410A digital multimeter, an HP E1416A power meter, an HP E1458A high-speed I/O module, an AMC2300 relay sampling and control switch, an AMC2620 eight-channel parallel A/D converter, and a Tektronix Tvc641A four-channel digital storage oscilloscope. The system hardware structure is shown in Figure 1. [align=center]Figure 1 System Hardware Structure[/align] The software platform of the test system uses Windows NT and Windows 95. The main test computer uses the highly secure Windows NT Workstation operating system, the front-end computer uses the Windows 95 operating system, and the system development platform uses NI's LabWindows CVI. LabWindows CVI organically combines a powerful and flexible C language development platform with a library of measurement and control tools and various VXI interface resource libraries for data acquisition, analysis, and display. For test system personnel familiar with C language programming, LabWindows CVI is the preferred platform for system software development. The test program for this system was developed using LabWindows CVI 5.0. According to the task requirements, the system program mainly includes functions such as testing, data management, simulation display, printing, instrument management, communication control, and system help. The most important function of the test system is to collect the measured parameters of the object under test. Previous test programs placed all test parameters, instrument control commands, test results, and analysis results into the program, resulting in poor usability, reliability, versatility, maintainability, expandability, and portability. To overcome these shortcomings, we attempted to separate data and the test process. Data information includes test instrument configuration parameters and test result data, managed by a relational database management system. The task of the test process is to read data from the configuration database, configure the test instruments, perform corresponding data acquisition, analysis, and calculation, and write the results back to the test result database. Figure 2 illustrates the software framework of the test system. [align=center]Figure 2 General Software Framework of the Test System[/align] In the actual measurement process of the missile integrated test system, regardless of whether the missile test type or equipment type changes, the test personnel only need to modify the corresponding records in the configuration database according to the changes; no modification to the test process is required. Because a series of VPP specifications proposed by the VXI Plug & Play System Alliance have become the standard for VXI instrument software, it has become inevitable that instrument manufacturers provide instrument drivers that conform to VPP specifications. Therefore, the main test process drives the instruments using instrument driver functions written with VISA technology, ensuring plug-and-play functionality for the underlying hardware. Furthermore, ODBC (Open Database Connective) technology and SQL (Structured Query Language) enable compatibility between different database products, ensuring that the test application's access to the database remains unchanged regardless of database changes. These technologies fundamentally guarantee the universality, compatibility, and scalability of the general test software framework. 3. Database Design and Testing Process Based on actual testing requirements, a single test can have several test items, each of which can be further divided into several test points. Each test point involves relay switch actions and corresponding instrument configuration operations. Based on this relationship, the database security principles are determined, and a configuration table for the configuration database is constructed. This table describes the recorded information for a single test. A unique test number identifies each test, and through the corresponding relationships, all test items and test configuration fields for this test are identified. During the testing process, an ODBC-compliant connection is established between the program and the database. SQL is then used to find the corresponding records and fields, configure and drive the instruments, and complete the test. The test data result database, based on the configuration database table, is a data table for a specific instrument, uniquely identified by the test number and test point number. It records the test result data and the current test time. The entire database relationship is shown in Figure 3. [align=center]Figure 3 Database[/align] After establishing the database, the main test program can be developed. Upon entering the test function, the test configuration interface is first accessed. Data from the configuration database is read, the required configuration items for this test are configured, and the corresponding data is written to the corresponding database tables. Then, the test execution interface is accessed. Based on the start and end records of this test, the fields in each table are read sequentially, and the corresponding operations are completed based on their contents. The program flow is shown in Figure 4. [align=center]Figure 4 Program Flow[/align] 4 System Optimization The above describes only the initial implementation of the general test software framework, using Microsoft's Visual FoxPro 6.0 database management system. This system framework can be further optimized by using SQL Server database management system to meet the needs of multi-terminal, multi-user Client-Server structure. It can also be improved using object-oriented programming methods. These aspects require further development. [b]References[/b] [1] LabWindows/CVI Standard Libraries Reference Manual, International Instruments Corp., 1998.2 [2] Microsoft Visual FoxPro 6.0 Chinese Language Reference Manual, Beijing Hope Computer Company, 1998. Editor: He Shiping
Read next

CATDOLL Marusya Hybrid Silicone Head

The hybrid silicone head is crafted using a soft silicone base combined with a reinforced scalp section, allowing durab...

Articles 2026-02-22