首页 | 本学科首页   官方微博 | 高级检索  
     

ActiveX在LabVIEW下的事件回调和数据传递
引用本文:胡吉朝,王定远,安素方,傅玥.ActiveX在LabVIEW下的事件回调和数据传递[J].国外电子测量技术,2008,27(3):7-10.
作者姓名:胡吉朝  王定远  安素方  傅玥
作者单位:石家庄经济学院信息工程学院,石家庄,050031;西安交通大学机械学院,西安,710049
摘    要:本文介绍了ActiveX控件的特点,阐述了LabVIEW7.1下ActiveX控件的使用原理及其事件回调的注册方法,解决了事件回调编程中的数据传递难题,保证了数据的实时传输和数据处理,避免了数据的丢失和数据覆盖。本文以MSCOMM32控件为例,介绍了MSCOMM32在LabVIEW下的事件回调和数据传递技巧,具有技术的通用性,对扩展LabVIEW自身功能具有应用价值和参考价值。

关 键 词:ActiveX  LabVIEW  事件回调  同步技术

Realization of ActiveX event callback and data transfer in LabVIEW
Hu Jichao,Wang Dingyuan,An Sufang,Fu Yue.Realization of ActiveX event callback and data transfer in LabVIEW[J].Foreign Electronic Measurement Technology,2008,27(3):7-10.
Authors:Hu Jichao  Wang Dingyuan  An Sufang  Fu Yue
Abstract:The property of activeX control is introduced,the principle of using ActiveX control and the method of register event callback are both elaborated. And the problem of data transfer in event callback programming is solved,as a result,the real-time data transfer and data processing is ensured. The data lost or data covered is avoided. The MScomm32 ActiveX control is taken as an example to introduce how to program to solve the event callback and data transfer in LabVIEW7.1.The method is universal and common used,which can enlarge the LabVIEW itself.
Keywords:ActiveX  LabVIEW  event callback  synchronization technology
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号