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

基于OLE的C++Builder与CST微波工作室接口及应用
引用本文:刘强.基于OLE的C++Builder与CST微波工作室接口及应用[J].计算机应用,2012,32(Z1):77-79,82.
作者姓名:刘强
作者单位:中国电子科技集团公司第二十七研究所,郑州,450047
摘    要:为了提高3D电磁场仿真的开发效率和精度,需要把外部应用程序与CST软件结合起来,但该软件只提供了对VBA宏语言的支持,研究如何实现C++语言与CST软件之间的接口控制具有很实用的意义.在分析了OLE自动化技术以及变体类与OLE服务器之间接口控制技术的基础上,通过对CST软件环境中工程、对象、方法的组织结构的研究,利用变体类提供的命令结合C++语言编程实现了二者之间的接口控制.重点介绍了C++语言调用这些对象的具体编程方法,并指出了编程时应注意的细节问题.最后给出了一个应用实例,程序运行结果表明,该方法有效可行,可以扩展应用到深层次的电磁仿真设计中去.

关 键 词:OLE  C++Builder  CST软件  接口  电磁仿真

Interface between C ++ Builder and CST microwave studio and its application based on OLE
LIU Qiang.Interface between C ++ Builder and CST microwave studio and its application based on OLE[J].journal of Computer Applications,2012,32(Z1):77-79,82.
Authors:LIU Qiang
Affiliation:LIU Qiang(The 27th Research Institute,China Electronics Technology Group Corporation,Zhengzhou Henan 450047,China)
Abstract:In order to improve the development efficiency and accuracy of 3D electromagnetic field simulation,it needs to combine the external application with CST software,but this software only provides VBA macro language support,so it has a very practical significance to study on how to implement the interface control between C+ + language and CST software.On the basis of the analysis of the OLE automation technology and the interface control technology between variant classes and OLE server,through the organization structure study of engineering,object and methods in the CST software environment,the interface control between the two is achieved by using the commands the variant class provides,and combining them with C+ + language programming.It focuses on the specific programming methods of C+ + language to call these objects,and figures out the details that should be paid attention to in programing.Finally,an application example is given,the program running results show that this method is effective and feasible,and can be extended and applied to the deep-level electromagnetic simulation design.
Keywords:Object Linking and Embedding(OLE)  C+ +Builder  CST software  interface  electromagnetic simulation
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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