董超群 李林 沈靜萍 中國(guó)石油大學(xué)(華東)信息與控制工程學(xué)院(257061); 成玲 中國(guó)石油大學(xué)(華東)計(jì)算機(jī)與通信工程學(xué)院(257061) 摘要:以TES-1352A智能噪聲計(jì)為例,通過(guò)分析數(shù)據(jù)獲取了代碼規(guī)則,利用VC++的MSComm控件編程,實(shí)現(xiàn)了上位計(jì)算機(jī)與智能儀表的通信,解決了二者之間因無(wú)動(dòng)態(tài)連接庫(kù)或未開(kāi)放代碼規(guī)則而無(wú)法通信的問(wèn)題。 關(guān)鍵字:智能儀表,串行通信,MSComm控件,代碼規(guī)則 Abstract: As an example, TES-1352A, an intelligent sound level meter is discussed in this paper. The code regulations are obtained via analyzing data, the problem by lack of the Dynamic Link Libraries as well as unopened code regulations is solved and the communication for host computer to intelligent instrument is realized on VC++ MSComm Control. Keywords:intelligent instrument, serial communication, MSComm Control, code regulation |