|
摘要: |
简要介绍了数传无线电台通过RS-232总线与计算机的串口连接,并以四线制半双工方式的工作机制通信。详细探讨了数传电台与工控组态软件MCGS(Monitor and Control Generated System)通信的三种方式。第一种是编制电台设备驱动程序挂接在MCGS中实现通信;第二、三种方法是在VB环境下编制电台数据采集程序。其中第二种方法是利用对象链接与嵌入OLE(Objects Linking and Embedding)自动化操作MCGS;第三种方法是利用动态数据交换,DDE(Dynamic Data Exchange)连接方法与MCGS进行数据交换实现通信。实际运行表明,三种方法均可实现数传电台与MCGS通信.且各有适用场合。 |
关键词: 数传电台 设备驱动 OLE自动化 动态数据变换 |
DOI: |
分类号:TN924 |
基金项目: |
|
Research on communication between data radio transceiver and MCGS |
FANG Yan-jun NIU Xing-lin
|
Abstract: |
The working mechanism of data radio transceiver is introduced briefly,which com-municates with computer serial port via RS - 232 and adopts four - wire half duplex mode. Three de-velopment ways of data communication between data radio transceiver and configuration software MCGS(Monitor and Control Generated System) are discussed in detail:developing transceiver device driver of MCGS;developing transceiver data acquisition program with VB applying OLE(Objects Linking and Embedding) for automatic operation of MCGS and applying DDE(Dynamic Data Exchange) for data exchange. Practice shows the three ways fit for different occasions. |
Key words: MCGS |