摘要
本文分析了基于LabVIEW的串口通信协议,介绍了虚拟仪器LabVIEW平台中含有的串行通信模块的应用,通过运用该模块实现PC机与DSP之间的串行通信,达到数据读取、命令控制等功能。设计了PC的串口与DSP的串行通信接口硬件电路,编写了串口发送和接收程序,讨论了PC与TMS320F2812之间的串行通信方案,以及在此基础上使用中断和查询方法实现的串行通信软件流程。
This article has analyzed the communication protocols based on the tabVIEW, introduced the application of the sedal communication module which included Virtual Instrument LabVIEW platform.Through utilizes this module to the serial communication between PC machine and DSP, achieved the data reads takes and order control. Had designed the hardware electdc circuit of PC and the DSP sedal communication connection, has compiled transmission and the receive procedure, discussed between PC and the TMS320F2812 serial communication plan, as well as uses in this foundation interrup and query the method realization sedal communic ation software flow.
出处
《仪器仪表用户》
2007年第2期21-22,共2页
Instrumentation