摘要
随着信息产业技术的迅速发展,计算机的软件和硬件也在不断地升级换代.而目前很多的硬件实验还基于DOS平台,有些虽然基于WINDOWS平台,但应用面向对象的语言编程实现实验仪和计算机进行通信的实验很少,这严重地影响了实验教学的发展.为了改变这一落后的现状,加快普及面向对象的语言在实验教学中的应用,该文用面向对象的语言VisualC++,对现有基于DOS的实验仪器进行编程,实现计算机和实验仪串行通信,从而解决了硬件实验在Windows平台下用面向对象的语言进行实验编程的难题.
With the rapid development of the technology of information industry,software and hardware for the computer are progressing continually.Nowadays,many experiments in hardware are based on the platform of DOS.Although some are based on WINDOWS, few experiments in communications between computer and experimental equipment are carried out by a program using OO(Object Oriented) language,which badly limits the development of experiment teaching.In order to change the laggard condition and speed up the popularization of applications in experiment teaching of OO language,I will,in this text,use Visual C+ + to program the experimental equipment based on DOS,to achieve a communication between computer and experimental equipment,so as to solve the problem of using OO language to program in hardware experiments based on the platform of WINDOWS.
出处
《广西师范学院学报(自然科学版)》
2004年第2期75-78,共4页
Journal of Guangxi Teachers Education University(Natural Science Edition)
关键词
串行通信
单片机
通信控件
serial communication
single chip micyoco
communications control component