节点文献

用VC实现PC机对激光位移传感器的通信控制

Application of Visual C++ in Communication Control of Laser Distance Sensor

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 肖定国宣华

【Author】 XIAO Ding-guo, XUAN Hua (Department of Mechanic and Vehicle Engineering, Beijing Institute of Technology, Beijing 100081, China)

【机构】 北京理工大学机械与车辆工程学院北京理工大学机械与车辆工程学院 北京100081北京100081

【摘要】 为实现弹翼廓形测量系统中激光位移传感器测量值的采集,介绍了用VC实现异步串行通信的基本原理。讨论了VC用于串口通信的几种方法,给出Win32API汇集在一起所构成的类Win32Port,并且利用该类实现了主机程序与激光位移传感器的串行通信。应用实例表明,该方法通过利用异步串行通信可方便地实现工控机对激光位移传感器的控制,有较高的可应用性。

【Abstract】 For data acquisition of laser distance sensor in wing’s cross section measuring system, the principle of asynchronous serial communication realized by Visual C + + is introduced. Several serial communication programming methods in Visual C + + are discussed. The class Win32Port which is composed of the serial communication Win32 API is given, the serial communciation between PC and laser distance sensor is achieved by this class. The example show that the method is convennient to realize control of laser distance sensor and has good applicability.

  • 【文献出处】 控制工程 ,Control Engineering of China , 编辑部邮箱 ,2005年S1期
  • 【分类号】TP273.5
  • 【被引频次】3
  • 【下载频次】247
节点文献中: 

本文链接的文献网络图示:

本文的引文网络