摘要
由于LabWindows/CVI有强大的界面编辑功能,但控制硬件效率较低。而Visual C++同时具有汇编语言和高级语言的功能和特点,能够直接控制硬件,不仅编写方便,且执行效率高。使用VC++编写一个动态链接库,库中包含有关对硬件控制的函数,然后在LabWindows/CVI程序中通过调用动态链接库中的函数来完成控制行为,使两个软件的优势很好地结合起来,使用户能更好更快地操作仪器。
The interface editing function of LabWindows/CVI is very powerful, but the hardware-control is inefficient. Howev- er, Visual c++, which has the function and feature of editing language and advanced language, can control hardware directly. Therefore, it is convenient to edit and the efficiency is high. Using vc++ to write a dynamic link library, which contains a hardware control function, and controling action through calling the DLL function in the LabWindows/CVI program, the user can operate the instruments better and faster.
出处
《重庆教育学院学报》
2011年第6期76-78,共3页
Journal of Chongqing College of Education