摘要
针对荷兰Avantes公司因未开放光谱仪的串行通信口,不能适合工业上较长距离与PC机进行通信的弊端,提出了PC机与Avantes光谱仪串口通信的方案,包括通信部分硬件结构,通信协议的制定及Windows下VC++串口程序的实现,在此基础上,开发了光谱仪数据采集与波形实时显示系统.应用结果表明,该系统能稳定地运行,具有很强的实用性.
Avantes Company does not open the serial port of its spectrometer, so it's not suitable for long-distance communication between the spectrometer and PC in industrial applications. This paper raised a program for serial communication between PC and Avantes spectrometer. The hardware structure for communication was given, and communication protocol was formulated, thus the serial communication program was realized by VC + + 6.0 in Win- dows environment. Meanwhile, this paper developed a system for real-time waveform display and spectrometer data collection, and it was proved by practice that the system embodies stable operation and strong real time capacity. Furthermore, this system has very strong practicability with its simple programming method as well as its high versa- tility.
出处
《南京信息工程大学学报(自然科学版)》
CAS
2013年第5期421-425,共5页
Journal of Nanjing University of Information Science & Technology(Natural Science Edition)
关键词
串口通信
VC++6
0
光谱仪
通信协议
serial communication
VC + + 6.0
spectrometer
communication protocol