Data Communications Between PC Based on Serial Port and Intelligent Instrument Under Linux
WU Jun-an · Computer and Modernization · 2005
Abstrcat Serial interface possesses the good qualities of connecting simply ,using conveniently and data transferring credibly ,so it gains abroad appliance in real-time control system .In this paper ,the programming method of serial communication with Kylix in the Linux platform is discussed . Then it discusses the question of thread synchronization .Multi-thread based on serial communication program can receive and send data at the same time .The corresponding programming codes are given .It can be a valuable reference for the increasingly popular Linux software development.