摘要
以VisualBasic6.0(VB)编程获取CIMISS上饶地区雷电定位数据为例,介绍VB通过ActiveX技术,利用Microsoft.XMLHTTP对象方法,实现HTTP协议传送MUSIC接口服务请求和接收回应数据,同时解决城市名称等中文信息传输乱码问题。该方法具有代码简洁、运行稳定和响应迅速等优点,为CIMISS广泛应用于气象业务、科研开发提供技术和数据支持。
Taking the method of Visual Basic 6.0(VB) programming to obtain lightning location data in the CIMISS Shangrao area as an example, this article introduces VB's use of ActiveX technology, using Microsoft. XMLHTTP object method to realize HTTP protocol to transmit MUSIC interface service requests and receive data. As well as solving the problem of garbled transmission of chinese information such as city names. The method has the advantages of simple code, stable operation and rapid response. It provides technical and data support for CIMISS to be widely used in meteorological services and scientific research and development.
作者
程飞军
黄琳
CHENG Feijun;HUANG Lin(Shangrao Meteorological Bureau, 334000, Shangrao, Jiangxi, PRC)
出处
《江西科学》
2019年第3期434-439,共6页
Jiangxi Science
基金
江西省气象局项目“防雷装置检测业务系统”