针对LabWindows/CVI在实时数据的存储和管理方面出现的不足,提出了一种在LabWindows/CVI环境下利用动态链接库技术应用实时数据库FastDB进行数据管理的方法。首先简要的介绍了实时数据库FastDB和动态链接库技术(DLL);接着详细地说明了如何在Microsoft Visual C++6.0环境下创建FastDB的动态链接库文件;最后利用这种方法设计了一个工业现场关于液位控制的实时数据库系统,应用表明该方案对于解决实时数据管理切实可行。
In view of the deficiency of LabWindows/CVl in reserving and managing timely data,this paper put forward a method based on DLL technique to achive data magagement by using Real-time database FastDB in the platform of LabWindbws/ CVI.Firstly,Real-time database FastDB and dynamic link library(DLL) were briefly introduced;secondly,how to creat a dynamic link library file of FastDB under Microsoft Visual C++ 6.0 environment was detailed introduced;finally,a set of industry field about liquid leveal control Real-time database sysytem is designed by this method,the application shows that this method is feasible in solving timely data management problem.