论文部分内容阅读
系统在VB环境下对MSComm控件进行编程,通过对MSComm控件属性的设置使其工作在事件驱动通信方式下,并设计AT90S2313单片机和计算机的通讯协议,使单片机能够通过MAX485串行接口电路把采集到的数据以中断的方式传送到计算机中,计算机对传送上来的数据进行低通滤波运算,保证数据的有效性,并对采集到的正确数据进行数学分析,根据计算后的结果分析幕墙抗风压性能的优劣.系统有效地减少了单片机处理数据的运算量,并且通过VB编程实现清晰明了的人机交互界面,方便用户的使用.
The system in the VB environment MSComm control programming through the MSComm control properties set to work in the event-driven communication mode, and design AT90S2313 microcontroller and computer communication protocol, so that the microcontroller through the MAX485 serial interface circuit to capture The data is transmitted to the computer in an interrupt mode. The computer performs low-pass filter operation on the transmitted data to ensure the validity of the data and performs mathematical analysis on the correct data collected. Based on the calculated result, The performance of the merits and demerits.The system effectively reduces the amount of data processing microcontroller, and through VB programming to achieve a clear and easy man-machine interface, user-friendly.