2010年3月22日星期一

LabVIEW-Based Detection System Memory (part 2)

LabVIEW-Based Detection System Memory (part 2)




3 System Software Design

3.1 software, the overall program

The system software, based in part on virtual instrument technology for development. Choose LabVIEW as a test program development tools, Access as a database tool. The entire software from the master program, man-machine interface, test module, diagnostic module, database module. Master program is responsible for the various modules of the calls and coordination; man-machine interface to achieve the user interaction with the test system; test module to complete digital signal output and collection; database module used to implement system-wide data management.

3.2 Main program

Relying on LabVIEW software, the main program, using modular design concepts, mainly including the initial procedure, test data, read / write data, cancel settings, and the misjudgment of five parts. Procedures for the initial module, used for panel parameter settings and card settings; test data module. For: data from the database through a query, extract the address and data information; through the read / write information to determine and select the output read data. If the test when anomalies by the program to customize the output error, failure to pass through the custom error message will pop up simultaneously read / write cycles; cancel settings, change the test used to restore the various parameters; misjudgment module, used to judge error types, custom error carried through to determine the information to determine fault type, and give feedback computer interface. Figure 2 is a block diagram of main program procedures.

3.3 Test procedure

March of the memory test algorithm used. March algorithm is characterized by the memory write and read data sequentially, by analyzing the data to determine memory failures. Therefore, the process of compiling the test program, the digital signal input / output is more critical. Figure 3 is the read / write operations diagram. According to the actual program laptop adapter. Data input / output in the design also has certain requirements. To write data to memory is divided into three steps: to write address latch to latch write data, and status of the output latch. To read the data memory is divided into four steps: write to latch address, and state latch output, test data output valid signal, the data read latch. Practical applications may be based on different chips, set a different delay time to meet the read / write cycle.

3.4 Database Design

Software design, the use of master information and test procedures for the separation of thought, through a database to store test information. Database using the more common database Access. Test, according to different test algorithms, different test data compilation to the database. Test, the main program to the database through the SQL language calls, control digital signal input / output, in order to achieve scalability test content. According to Marct, the algorithm rules, design data tables, the design number, read / write operations, address, data, and end marker 5. No Marcrt algorithms in order to achieve implementation; read / write operations for the main program to determine the data read / write operations; address used to store address information; data are used to store data information; end marker for the end of the testing of this algorithm . Database storage table shown in Figure 4. The first line, said first read / write operation, write data to the 0 address 80.



4 Conclusion

Using NI series PXI boards and flexible and convenient LabVIEW software platform to build a set equipped with a memory detection system. Through a database to achieve the test algorithms and test procedures for the independence of the March, according to different algorithms to be tested. The experimental results indicated that the system has automatic testing and strong, easy to operate, scalability, and other properties, effectively improved the memory of a test efficiency equipment.



To learn more about power inverter, please visite http://www.szpowerinverter.com/ and http://www.bestekltd.com/, or mail to sale38@0102.cn.

没有评论:

发表评论