摘要
为了满足测量内业数据传输的需要,本文详细介绍了基于AutoCAD的全站仪数据导入系统的设计与实现。该系统是利用Visual Basic 6.0中的串行通讯控件MScomm,并以Visual Basic for Application(以下简称VBA)为开发平台,编写了通讯程序,实现了计算机与全站仪的数据通讯。本文以徕卡GSI系列全站仪为例,使用提取算法,从原始数据提取有用数据,将数据格式转换成成图软件所需要的格式,并在AutoCAD下通过二次开发平台VBA展绘成图。
To meet the requirements of data transmitting in property survey, this paper introduced design and implementation of data transmit system of total station in detail. Making use of communication control MScomm in Visual Basic 6.0, and taking Visual Basic for Application ( call VBA as follows) as the development platform, the communication program was edited and data communication of a computer was carded out with Total Station. Taking Leica GSI series Total Station for example, and based on extraction algo- rithm, this paper extracted useful data from original data, and convertd data format into the format of graph software needed by arithmetic. Then AutoCAD-based plotting was realized onVBA development platform.
出处
《测绘科学》
CSCD
北大核心
2009年第5期204-206,共3页
Science of Surveying and Mapping
基金
山东省自然科学基金资助(编号:Y2006G28)
关键词
串口通信
数据传输
数据转换
AUTOCAD二次开发
serial communication
data transmission
data transformation
second development of AutoCAD