摘要
介绍了基于LabVIEW实现纺织检测系统串口通信的一种方法,包括通信协议、硬件电路及软件设计等方面。该通信系统上位机的PC机程序采用LabVIEW编写其图形化编程功能,使用灵活方便;下位机选用Microchip生产的PIC系列单片机,并采用汇编语言编程。上、下位机的通信采用传统的RS-232通信协议,开发周期短,成本低。将该通信系统应用于煮茧机温度测量系统,成功实现了上、下位机的数据传递,菜单式操作,简洁明了。该通信系统在便携式纺织检测系统中有广阔的应用前景。
A method of achieving the serial communication of textile detection system based on LabVIEW is introduced, including communication protocols, hardware circuit, software design etc. The master computer of the communication system, PC, is programmed by LabVIEW, which is convenient for its graphic programming language. PIC microcon by assemble language. troller produced by Microchip corporation is used as the slave computer, programmed The communication between the master computer and the slave computer takes advantage of RS-232 protocol which can shorten development cycle with low cost. Meanwhile, applying this to temperature measuring system of cocoon cooking machine accomplishes the data transmission successfully. The communication system characterized by simple operation will find many possible uses in the portable textile detection system.
出处
《纺织学报》
EI
CAS
CSCD
北大核心
2007年第2期40-43,共4页
Journal of Textile Research
基金
江苏省桑茧丝综合利用工程中心资助项目(JSG-2004-01)