摘要
本文对Windows与单片机的多机通信进行研究,针对实时控制系统中控机与前端处理机间数据传递的实时性要求,提出利用Win32API函数和直接I/O端口函数混合编程的方案,解决了中控机与多个前端机之间数据通信的实时响应问题。
This paper studies multi-machine communication between PC and SCM on Windows XP platform. According to the requirement of instantaneity in data transmission between central controller and front-end processor in the instantaneity control system, the author proposes a solution to use Win32 APIs functions and direct I/O functions in mixture, so as to resolve the instantaneous 7 responses between central controller and front-end processors effectively.
出处
《微计算机信息》
北大核心
2008年第24期76-78,共3页
Control & Automation
关键词
多级通信
API函数
I/O端口保护
串口通信
Multi-machine Communication
Win32 API
I/O Port Protection
Serial Communication