在利用基于LabVIEW的虚拟仪器开发平台设计测试系统时,不可避免地需要对大量数据进行存储、查询、处理分析,在此基础上提出LabVIEW中访问数据库的需求。在此结合油滴电量测试系统的功能需要,利用NI的附加数据库接口工具包LabVIEW SQL Toolkit进行编程,完成对数据库的访问,实现了数据存储、查询、更新、修改、删除等操作。并设计了人机交互界面,实时显示所有测试终端的总体进度和各测试终端的详细数据。% When the test system is designed with the virtual instrument development platform based on LabVIEW,it is in⁃evitable to need a large amount of data storage,query,processing and analysis. Therefore,the demand of the database access in LabVIEW is put forward. According to the functional requirement of an oil testing system,NI’s additional database interface toolkit LabVIEW SQL Toolkit (also known as LabVIEW Database Connectivity Toolkit) is adopted to execute programming, achieve the database access,and realize data storage,query,update,modification,deletion and so on. The human⁃machine in⁃teractive interface was designed to perform the real time display of the total schedule of all testing terminals and the detailed da⁃ta of any testing terminal.
展开▼