摘要
文中针对以LabVIEW为基础开发的虚拟实践教学平台,介绍了LabVIEW软件连接数据库系统的常用理论和方法。根据实际情况,详细设计了LabVIEW软件与Access数据库的连接方法。采用第三方开发的LabVIEW数据库访问工具包LabSQL,直接在LabVIEW中以调用子VI的形式实现对数据库的访问。通过ODBC接口函数库驱动程序建立与数据库的连接,利用Microsoft ADO对象和简单易学的SQL语言来完成对数据库访问,可以实现对数据的存储、处理和管理等操作。通过开发的虚拟实践教学平台,用实例验证了此方法的可行性,值得推广。
Aiming at the LabVIEW-based virtual practice teaching platform, frequently-used theories and means which connect Lab- VIEW with database system were introduced, the connections of the LabVIEW software with Access database were designed in this pa- per. Based on free LabVIEW database access toolkit LabSQL, which was developed by third-party, the connections were established through the ODBC database driver interface functions. Using the Microsoft ADO object and the SQL language ,the access to the database were carried out, and many operations can be carried out , such as storage and management of data , which was applied to an example and got a great effect.
出处
《计算机技术与发展》
2011年第5期219-222,共4页
Computer Technology and Development
基金
陕西省教育科研计划资助项目(2010JK824)